aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDaniel Kraft <d@domob.eu>2018-11-18 15:32:18 +0100
committerDaniel Kraft <d@domob.eu>2019-01-04 08:11:44 +0100
commit6b25f29a91867e1cd081777bc9fb6338f0c0e739 (patch)
treed6ac4d3222624b8b0abb4feab20ce7ad3069904d /contrib
parentd71d0d7b7f3f1452ec59c68f9e57f62f60d6dbb3 (diff)
downloadbitcoin-6b25f29a91867e1cd081777bc9fb6338f0c0e739.tar.xz
Use std::vector API for construction of test data.
For constructing test scripts, use std::vector and, in particular, std::vector::insert to insert 20 zero bytes rather than listing the full array of bytes explicitly. This makes the code easier to read and makes it immediately obvious what the structure of the data is, without having to count the zeros to understand it.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions