Offline Node Support (#3383)
* [cmd] Add IsOffline flag * Add IsOffline to node config Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu> * [node] Disable syncing and p2p msgs if offline Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu> * [rosetta] Clarify syncing status msg Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu> * [internal/config] Add DefaultLocalListenIP & DefaultPublicListenIP Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu> * [cmd] Add IP to p2p config * Use default local listening ip for p2p hors if node is in offline Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu> * [p2p] Use peer ip when creating listenAddr Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu> * [cmd] Fix unit tests & bump config version * Fix TestAddPeer & TestConnectionToInvalidPeer p2p test Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu> * [cmd] Fix lint Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu> * [cmd] Address PR comments Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu>pull/3384/head
parent
2844d73140
commit
b291f181fa
Loading…
Reference in new issue