2291b6a7cc
- RPC caching source cherry-picked from: btccom@f4b613b2 - Adds addl test scenarios to createauxblock.py tests Allows pool operators to run multiple sub-pools with different target addresses from a single dogecoind instance. Without this enhancement, subsequent calls to createauxblock with differing addresses ignore the address given and instead just return the block containing the address that initially triggered generation of the cached block. This can quickly lead to unpredictable results as race scenarios between sub-pools come into play. Note that, like with getauxblock, the cache only resets on aux block creation, not submission, so submitauxblock will accept multiple submissions at the same height until createauxblock is called, resulting in chaintip forks. Co-Authored-By: leezhen <jasper.li@bitmain.com> |
||
---|---|---|
.. | ||
blockchain.cpp | ||
client.cpp | ||
client.h | ||
mining.cpp | ||
misc.cpp | ||
net.cpp | ||
protocol.cpp | ||
protocol.h | ||
rawtransaction.cpp | ||
register.h | ||
server.cpp | ||
server.h |