diff options
author | Daniel Kraft <d@domob.eu> | 2018-11-18 15:32:18 +0100 |
---|---|---|
committer | Daniel Kraft <d@domob.eu> | 2019-01-04 08:11:44 +0100 |
commit | 6b25f29a91867e1cd081777bc9fb6338f0c0e739 (patch) | |
tree | d6ac4d3222624b8b0abb4feab20ce7ad3069904d /contrib | |
parent | d71d0d7b7f3f1452ec59c68f9e57f62f60d6dbb3 (diff) | |
download | bitcoin-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