Commit 9b78435
Node status: distinguish "not registered" from "banned" (stop the false Banned)
handle_server_node_status returned success:true + reputation:0 for a wallet/node not yet
on-chain, which the wallet rendered as "Banned" (reputation 0 == a 2f+1-proven equivocation
ban in the binary model). A not-yet-registered node is NOT banned.
- rpc.rs: the not-found path returns reputation:null + registered:false (+ height/pending for
coherence); the offline-resolved path branches on get_node_wallet (registry-backed) so an
unregistered node_id reports registered:false too; active and registered-but-offline
responses carry registered:true.
- WalletScreen.js: add a "Not Activated" node status for registered===false (distinct from
"Server Offline"); the reputation row already auto-hides on reputation:null, so the false
"Banned" never renders. Once the node registers, the wallet shows Good standing / Active.
Reputation 0 now means exactly one thing: a proven equivocation ban.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 0cf2065 commit 9b78435
2 files changed
Lines changed: 52 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6029 | 6029 | | |
6030 | 6030 | | |
6031 | 6031 | | |
| 6032 | + | |
| 6033 | + | |
6032 | 6034 | | |
6033 | 6035 | | |
6034 | 6036 | | |
| |||
6039 | 6041 | | |
6040 | 6042 | | |
6041 | 6043 | | |
| 6044 | + | |
| 6045 | + | |
6042 | 6046 | | |
6043 | 6047 | | |
6044 | 6048 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8767 | 8767 | | |
8768 | 8768 | | |
8769 | 8769 | | |
| 8770 | + | |
8770 | 8771 | | |
8771 | 8772 | | |
8772 | 8773 | | |
| |||
8817 | 8818 | | |
8818 | 8819 | | |
8819 | 8820 | | |
8820 | | - | |
8821 | | - | |
8822 | | - | |
8823 | | - | |
8824 | | - | |
8825 | | - | |
8826 | | - | |
8827 | | - | |
8828 | | - | |
8829 | | - | |
8830 | | - | |
8831 | | - | |
8832 | | - | |
8833 | | - | |
8834 | | - | |
8835 | | - | |
8836 | | - | |
8837 | | - | |
8838 | | - | |
8839 | | - | |
| 8821 | + | |
| 8822 | + | |
| 8823 | + | |
| 8824 | + | |
| 8825 | + | |
| 8826 | + | |
| 8827 | + | |
| 8828 | + | |
| 8829 | + | |
| 8830 | + | |
| 8831 | + | |
| 8832 | + | |
| 8833 | + | |
| 8834 | + | |
| 8835 | + | |
| 8836 | + | |
| 8837 | + | |
| 8838 | + | |
| 8839 | + | |
| 8840 | + | |
| 8841 | + | |
| 8842 | + | |
| 8843 | + | |
| 8844 | + | |
| 8845 | + | |
| 8846 | + | |
| 8847 | + | |
| 8848 | + | |
| 8849 | + | |
| 8850 | + | |
| 8851 | + | |
| 8852 | + | |
| 8853 | + | |
| 8854 | + | |
| 8855 | + | |
| 8856 | + | |
| 8857 | + | |
| 8858 | + | |
| 8859 | + | |
8840 | 8860 | | |
| 8861 | + | |
| 8862 | + | |
| 8863 | + | |
8841 | 8864 | | |
8842 | 8865 | | |
| 8866 | + | |
8843 | 8867 | | |
8844 | 8868 | | |
8845 | 8869 | | |
8846 | 8870 | | |
8847 | 8871 | | |
8848 | 8872 | | |
8849 | | - | |
| 8873 | + | |
| 8874 | + | |
8850 | 8875 | | |
8851 | | - | |
| 8876 | + | |
| 8877 | + | |
8852 | 8878 | | |
8853 | 8879 | | |
8854 | 8880 | | |
| |||
0 commit comments