Don't request blocks from nodes that don't support thin blocks.
| 94 | |
| 95 | /// Don't request blocks from nodes that don't support thin blocks. |
| 96 | bool Opt::AvoidFullBlocks() { |
| 97 | return Args->GetArg("-use-thin-blocks", 1) == 2 |
| 98 | || Args->GetArg("-use-thin-blocks", 1) == 3; |
| 99 | } |
| 100 | |
| 101 | int Opt::ThinBlocksMaxParallel() { |
| 102 | return Args->GetArg("-thin-blocks-max-parallel", 3); |
no test coverage detected