aboutsummaryrefslogtreecommitdiff
path: root/src/test/util/setup_common.h
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2020-08-21 15:37:38 +0200
committerMarcoFalke <[email protected]>2020-08-21 18:44:27 +0200
commitfa96574b0d2d2c0880447f163cd0280fb3551910 (patch)
treea959bc79b26d9d1e14b5ee0b144ac8c212d333ee /src/test/util/setup_common.h
parentMerge #19722: test: Add test for getblockheader verboseness (diff)
downloaddiscoin-fa96574b0d2d2c0880447f163cd0280fb3551910.tar.xz
discoin-fa96574b0d2d2c0880447f163cd0280fb3551910.zip
test: Move doxygen comment to header
Also, unrelated formatting fixups. Can be reviewed with --word-diff-regex=.
Diffstat (limited to 'src/test/util/setup_common.h')
-rw-r--r--src/test/util/setup_common.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/test/util/setup_common.h b/src/test/util/setup_common.h
index 78b279e42..22f5d6d93 100644
--- a/src/test/util/setup_common.h
+++ b/src/test/util/setup_common.h
@@ -102,15 +102,16 @@ class CBlock;
struct CMutableTransaction;
class CScript;
-//
-// Testing fixture that pre-creates a
-// 100-block REGTEST-mode block chain
-//
+/**
+ * Testing fixture that pre-creates a 100-block REGTEST-mode block chain
+ */
struct TestChain100Setup : public RegTestingSetup {
TestChain100Setup();
- // Create a new block with just given transactions, coinbase paying to
- // scriptPubKey, and try to add it to the current chain.
+ /**
+ * Create a new block with just given transactions, coinbase paying to
+ * scriptPubKey, and try to add it to the current chain.
+ */
CBlock CreateAndProcessBlock(const std::vector<CMutableTransaction>& txns,
const CScript& scriptPubKey);