• Michael's avatar
    P2p: Add option to disable the mempool · d5925f08
    Michael authored
    This allows a node to specify that it doesn't want to receive operations
    that are not included in a block. To do so, one should use the new
    --disable-mempool option.
    A disabled mempool node announce its configuration during the ACK exchange.
    This configuration should be easily expandable with other options.
    Node will keep track of the ack exchange configuration for each nodes it
    is connected to and will not propagate its mempool to disabled mempool
    A disabled mempool node will ignore non-empty mempool received.
    In the future, this incident should be punish by a decrement of its score
    and / or ban.
node_shared_arg.ml 9.3 KB