libbitcoin / libbitcoin-network

Bitcoin P2P Network Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add configuration option to require relay.

evoskuil opened this issue · comments

When connecting to a peer in order to relay a transaction is is useful to know that the connection allows tx relay. Currently there is no way to configure the session such that its connections require the peer to allow relay. This would not guarantee that the peer would accept the tx but it improves the probability.