Fix capabilities (#1944)

* we cannot safely update nodes to use capabilities bits = 15 ...

* rustfmt
This commit is contained in:
Antioch Peverell 2018-11-07 10:00:42 +00:00 committed by GitHub
parent 949f75c77c
commit e25a3b9d72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,7 +132,9 @@ impl Default for P2PConfig {
P2PConfig {
host: ipaddr,
port: 13414,
capabilities: Capabilities::FULL_NODE,
capabilities: Capabilities::HEADER_HIST
| Capabilities::TXHASHSET_HIST
| Capabilities::PEER_LIST,
seeding_type: Seeding::default(),
seeds: None,
peers_allow: None,