Skip to content

Commit

Permalink
net: remove bip150/bip151 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Jul 12, 2018
1 parent b6d067e commit 41af7ac
Show file tree
Hide file tree
Showing 14 changed files with 8 additions and 2,964 deletions.
5 changes: 0 additions & 5 deletions docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ Note that certain chain options affect the format and indexing of the chain data
- `selfish`: Enable "selfish" mode (no relaying of txes or blocks) (default: false).
- `compact`: Enable compact block relay (default: true).
- `bip37`: Enable serving of bip37 merkleblocks (default: false).
- `bip151`: Enable bip151 peer-to-peer encryption (default: false).
- `listen`: Accept incoming connections (default: true).
- `max-outbound`: Max number of outbound connections (default: 8).
- `max-inbound`: Max number of inbound connections (default: 30).
Expand All @@ -68,10 +67,6 @@ Note that certain chain options affect the format and indexing of the chain data
- `port`: Port to listen on (default: 8333).
- `public-host`: Public host to advertise on network.
- `public-port`: Public port to advertise on network.
- `bip150`: Enable bip150 peer auth (default: false).
- `identity-key`: BIP150 identity key (32 byte hex string).
- `auth-peers`: Path to `authorized-peers` file for BIP150.
- `known-peers`: Path to `known-peers` file for BIP150.
- `nodes`: List of target nodes to connect to (comma-separated).

## Miner Options
Expand Down
1 change: 0 additions & 1 deletion etc/authorized-peers

This file was deleted.

1 change: 0 additions & 1 deletion etc/known-peers

This file was deleted.

5 changes: 0 additions & 5 deletions etc/sample.conf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ persistent-mempool: false
selfish: false
compact: true
bip37: false
bip151: true
listen: true
max-outbound: 8
max-inbound: 30
Expand All @@ -81,10 +80,6 @@ host: ::
# public-host: 1.2.3.4
# public-port: 8444

# BIP151 AuthDB and Identity Key
bip150: false
identity-key: 74b4147957813b62cc8987f2b711ddb31f8cb46dcbf71502033da66053c8780a

# Always try to connect to these nodes.
# nodes: 127.0.0.1,127.0.0.2

Expand Down
Loading

0 comments on commit 41af7ac

Please sign in to comment.