aboutsummaryrefslogtreecommitdiff
path: root/src/test/uint256_tests.cpp
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2017-06-15 10:34:17 -0400
committerJohn Newbery <john@johnnewbery.com>2017-11-10 17:16:46 -0500
commitaed1d90aca81c20c6e982ad567291f3812d47c8f (patch)
treeef3b76c918d57be87fa069cb01078b65b3cb191d /src/test/uint256_tests.cpp
parent37bdcca3c363cf08ad68e044b493e24e89f2d158 (diff)
downloadbitcoin-aed1d90aca81c20c6e982ad567291f3812d47c8f.tar.xz
[wallet] Change feebumper from class to functions
Change feebumper from a stateful class into a namespace of stateless functions. Having the results of feebumper calls persist in an object makes process separation between Qt and wallet awkward, because it means the feebumper object either has to be serialized back and forth between Qt and wallet processes between fee bump calls, or that the feebumper object needs to stay alive in the wallet process with an object reference passed back to Qt. It's simpler just to have fee bumper calls return their results immediately instead of storing them in an object with an extended lifetime. In addition to making feebumper stateless, also: - Move LOCK calls from Qt code to feebumper - Move TransactionCanBeBumped implementation from Qt code to feebumper
Diffstat (limited to 'src/test/uint256_tests.cpp')
0 files changed, 0 insertions, 0 deletions