Commit 325c725
committed
Add whitelistforcerelay to control forced relaying.
Also renames whitelistalwaysrelay.
Nodes relay all transactions from whitelisted peers, this
gets in the way of some useful reasons for whitelisting
peers-- for example, bypassing bandwidth limitations.
The purpose of this forced relaying is for specialized gateway
applications where a node is being used as a P2P connection
filter and multiplexer, but where you don't want it getting
in the way of (re-)broadcast.
This change makes it configurable with whitelistforcerelay.1 parent 326ffed commit 325c725
3 files changed
+19
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
| 392 | + | |
392 | 393 | | |
393 | 394 | | |
394 | 395 | | |
| |||
752 | 753 | | |
753 | 754 | | |
754 | 755 | | |
755 | | - | |
756 | | - | |
| 756 | + | |
| 757 | + | |
757 | 758 | | |
758 | 759 | | |
759 | 760 | | |
760 | 761 | | |
761 | 762 | | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
762 | 769 | | |
763 | 770 | | |
764 | 771 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4495 | 4495 | | |
4496 | 4496 | | |
4497 | 4497 | | |
4498 | | - | |
4499 | | - | |
| 4498 | + | |
| 4499 | + | |
4500 | 4500 | | |
4501 | 4501 | | |
4502 | 4502 | | |
| |||
4675 | 4675 | | |
4676 | 4676 | | |
4677 | 4677 | | |
4678 | | - | |
4679 | | - | |
| 4678 | + | |
| 4679 | + | |
4680 | 4680 | | |
4681 | 4681 | | |
4682 | 4682 | | |
| |||
4776 | 4776 | | |
4777 | 4777 | | |
4778 | 4778 | | |
4779 | | - | |
| 4779 | + | |
4780 | 4780 | | |
4781 | 4781 | | |
4782 | 4782 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
0 commit comments