Carl Dong
a789f3f2b8
coinstats: Extract hash_type in-member to in-param
...
Currently, CCoinsStats is a struct with both in-params and out-params
where the hash_type and index_requested members are the only in-params.
This change removes CCoinsStats' hash_type in-param member and adds it
to the relevant functions instead.
[META] In subsequent commits, all of CCoinsStats' members which serve as
in-params will be moved out so as to make CCoinsStats a pure
out-param struct.
2022-05-20 16:33:24 -04:00
Ryan Ofsky
691d45fdc8
Add coinstatsindex_unclean_shutdown test
2022-02-25 16:06:27 -05:00
Russell Yanofsky
90fc8b089d
Add src/node/* code to node:: namespace
2022-01-06 22:14:16 -05:00
Hennadii Stepanov
f47dda2c58
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
Commits of previous years:
* 2020: fa0074e2d8
* 2019: aaaaad6ac9
2021-12-30 19:36:57 +02:00
Carl Dong
0d61634c06
scripted-diff: test: Use existing chainman in unit tests
...
-BEGIN VERIFY SCRIPT-
git ls-files -- src/test \
| grep -v '^src/test/fuzz' \
| xargs sed -i -E \
-e 's@g_chainman\.m_blockman@m_node.chainman->m_blockman@g' \
-e 's@([^:])(Chain(state|)Active)@\1::\2@g' \
-e 's@::Chain(state|)Active\(\)@m_node.chainman->ActiveChain\1()@g'
-END VERIFY SCRIPT-
2021-06-10 15:04:39 -04:00
Carl Dong
db33cde80f
index: Add chainstate member to BaseIndex
2021-05-27 13:50:11 -04:00
MarcoFalke
faad68fcd4
index: Avoid async shutdown on init error
2021-05-12 10:47:35 +02:00
Fabian Jahr
57a026c30f
test: Add unit test for Coinstats index
2021-04-19 20:31:02 +02:00