0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-09 10:43:19 -05:00
bitcoin-bitcoin-core/src/wallet
MarcoFalke 169dced9a4
Merge #15408: Remove unused TransactionError constants
fa9b60c842 Remove unused TransactionError constants (MarcoFalke)

Pull request description:

  Fixup to #14978, which introduced a bunch of unused enum values, such as `UNKNOWN_ERROR`, `ERROR_COUNT` and `TRANSACTION_ERR_LAST`. None of those have a meaning in the context of an `enum class`, where the compiler can infer if all cases have been covered in a switch-case.

  Also, move the global `::maxTxFee` back to the rpc caller, so it can be set on a per call basis (in the future).

Tree-SHA512: 7f1e2d795f1c1278ecd54ddab2b92c2a862f3c637b482d1d008208925befa1c9dd4b3c4bb1bfcbc5ca4b66a41004aaf01ea96ea95236f944250b8a6cf99ff173
2019-02-22 11:13:43 -05:00
..
test Merge #15408: Remove unused TransactionError constants 2019-02-22 11:13:43 -05:00
coincontrol.cpp scripted-diff: Move util files to separate directory. 2018-11-04 22:46:07 -08:00
coincontrol.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
coinselection.cpp Introduce a Shuffle for FastRandomContext and use it in wallet and coinselection 2018-12-12 14:22:12 -08:00
coinselection.h amount: Move CAmount CENT to unit test header 2018-09-17 14:34:56 -04:00
crypter.cpp [wallet] Support creating a blank wallet 2019-02-10 12:24:53 -05:00
crypter.h [tools] Add wallet inspection and modification tool 2019-01-30 16:26:52 -05:00
db.cpp Merge #15334: wallet: Log absolute paths for the wallets 2019-02-13 22:51:44 +01:00
db.h Merge #11911: Free BerkeleyEnvironment instances when not in use 2019-01-31 18:05:24 +01:00
feebumper.cpp Pass chain locked variables where needed 2018-11-06 11:44:40 -04:00
feebumper.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
fees.cpp scripted-diff: Move util files to separate directory. 2018-11-04 22:46:07 -08:00
fees.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
init.cpp Move maxTxFee initialization to init.cpp 2019-02-08 07:06:44 -07:00
psbtwallet.cpp Remove unused TransactionError constants 2019-02-14 10:32:02 -05:00
psbtwallet.h Remove unused TransactionError constants 2019-02-14 10:32:02 -05:00
rpcdump.cpp [Doc] importmulti: add missing description of keypool option 2019-02-16 16:59:55 -05:00
rpcwallet.cpp Merge #15408: Remove unused TransactionError constants 2019-02-22 11:13:43 -05:00
rpcwallet.h Move PSBT definitions and code to separate files 2019-02-11 12:23:14 -08:00
wallet.cpp Use a single wallet batch for UpgradeKeyMetadata 2019-02-17 19:32:58 -10:00
wallet.h Add a method to add a pubkey to the keypool 2019-02-14 18:14:00 -05:00
walletdb.cpp Store key origin info in key metadata 2019-02-14 17:58:25 -05:00
walletdb.h Store key origin info in key metadata 2019-02-14 17:58:25 -05:00
wallettool.cpp [wallet] Close bdb when flushing wallet. 2019-02-12 13:27:18 -05:00
wallettool.h [tools] Add wallet inspection and modification tool 2019-01-30 16:26:52 -05:00
walletutil.cpp Merge #14350: Add WalletLocation class 2018-11-05 13:17:03 +01:00
walletutil.h wallet: Add WalletLocation utility class 2018-10-25 11:53:17 +01:00