aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge #8776: Wallet refactoring leading up to multiwalletPieter Wuille2017-01-031-29/+58
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 5394b39 Wallet: Split main logic from InitLoadWallet into CreateWalletFromFile (Luke Dashjr) fb0c934 Wallet: Let the interval-flushing thread figure out the filename (Luke Dashjr)
| * | | | | Wallet: Split main logic from InitLoadWallet into CreateWalletFromFileLuke Dashjr2016-11-111-28/+53
| | | | | |
| * | | | | Wallet: Let the interval-flushing thread figure out the filenameLuke Dashjr2016-11-111-1/+5
| | | | | |
* | | | | | qt,wallet: Fix a few typos in messagesWladimir J. van der Laan2017-01-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | As reported by [yahoe.001](https://www.transifex.com/user/profile/yahoe.001/).
* | | | | | SetMerkleBranch: remove unused code, remove cs_main lock requirementJonas Schnelli2016-12-301-9/+1
| |/ / / / |/| | | |
* | | | | Un-expose mapArgs from utils.hMatt Corallo2016-12-241-10/+10
| | | | |
* | | | | Introduce (and use) an IsArgSet accessor methodMatt Corallo2016-12-231-5/+5
| |/ / / |/| | |
* | | | Merge #8589: Inline CTxInWitness inside CTxInWladimir J. van der Laan2016-12-211-3/+3
|\ \ \ \ | | | | | | | | | | | | | | | f6fb7ac Move CTxInWitness inside CTxIn (Pieter Wuille)
| * | | | Move CTxInWitness inside CTxInPieter Wuille2016-12-041-3/+3
| | | | |
* | | | | Merge #9262: Prefer coins that have fewer ancestors, sanity check txn before ↵Wladimir J. van der Laan2016-12-201-4/+30
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ATMP cee1612 reduce number of lookups in TransactionWithinChainLimit (Gregory Sanders) af9bedb Test for fix of txn chaining in wallet (Gregory Sanders) 5882c09 CreateTransaction: Don't return success with too-many-ancestor txn (Gregory Sanders) 0b2294a SelectCoinsMinConf: Prefer coins with fewer ancestors (Gregory Sanders)
| * | | | | CreateTransaction: Don't return success with too-many-ancestor txnGregory Sanders2016-12-131-0/+15
| | | | | |
| * | | | | SelectCoinsMinConf: Prefer coins with fewer ancestorsGregory Sanders2016-12-131-4/+15
| | |_|_|/ | |/| | |
* | | | | Merge #9316: [wallet] Disable free transactions when relay is disabledWladimir J. van der Laan2016-12-201-0/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | faf4ca8 [wallet] Disable free transactions when relay is disabled (MarcoFalke)
| * | | | | [wallet] Disable free transactions when relay is disabledMarcoFalke2016-12-101-0/+3
| | |/ / / | |/| | |
* | | | | Merge #9311: Flush wallet after abandontransactionWladimir J. van der Laan2016-12-191-2/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 0632939 Flush wallet after abandontransaction (Alex Morcos)
| * | | | | Flush wallet after abandontransactionAlex Morcos2016-12-091-2/+1
| |/ / / /
* | | | | Merge #9290: Make RelayWalletTransaction attempt to AcceptToMemoryPool.Pieter Wuille2016-12-141-2/+4
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | f692fce Make RelayWalletTransaction attempt to AcceptToMemoryPool. (Gregory Maxwell)
| * | | | Make RelayWalletTransaction attempt to AcceptToMemoryPool.Gregory Maxwell2016-12-061-2/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This resolves an issue where a wallet transaction which failed to relay previously because it couldn't make it into the mempool will not try again until restart, even though mempool conditions may have changed. Abandoned and known-conflicted transactions are skipped. Some concern was expressed that there may be users with many unknown conflicts would waste a lot of CPU time trying to add them to their memory pools over and over again. But I am doubtful these users exist in any number, if they do exist they have worse problems, and they can mitigate any performance issue this might have by abandoning the transactions in question.
* | | | Merge #9302: Return txid even if ATMP fails for new transactionWladimir J. van der Laan2016-12-131-4/+4
|\ \ \ \ | | | | | | | | | | | | | | | b3a7410 Return txid even if ATMP fails for new transaction (Pieter Wuille)
| * | | | Return txid even if ATMP fails for new transactionPieter Wuille2016-12-081-4/+4
| |/ / /
* / / / [Wallet] Bugfix: FRT: don't terminate when keypool is emptyJonas Schnelli2016-12-061-1/+5
|/ / /
* | | Make CWalletTx store a CTransactionRef instead of inheritingPieter Wuille2016-12-021-55/+55
| | |
* | | Rename the remaining main.{h,cpp} to validation.{h,cpp}Matt Corallo2016-12-021-1/+1
|/ /
* | Merge #9204: Clarify CreateTransaction error messagesWladimir J. van der Laan2016-11-231-3/+3
|\ \ | | | | | | | | | 918b126 fix CreateTransaction error messages (instagibbs)
| * | fix CreateTransaction error messagesinstagibbs2016-11-221-3/+3
| | |
* | | Merge #9141: Remove unnecessary calls to CheckFinalTxWladimir J. van der Laan2016-11-231-1/+1
|\ \ \ | | | | | | | | | | | | 4512550 Remove unnecessary calls to CheckFinalTx (Jonas Schnelli)
| * | | Remove unnecessary calls to CheckFinalTxJonas Schnelli2016-11-121-1/+1
| | |/ | |/|
* | | Merge #9142: Move -salvagewallet, -zap(wtx) to where they belongWladimir J. van der Laan2016-11-231-0/+10
|\ \ \ | |_|/ |/| | | | | 2e44893 Move -salvagewallet, -zap(wtx) to where they belong (Jonas Schnelli)
| * | Move -salvagewallet, -zap(wtx) to where they belongJonas Schnelli2016-11-121-0/+10
| |/
* | Make CBlock::vtx a vector of shared_ptr<CTransaction>Pieter Wuille2016-11-191-1/+1
| |
* | credit values are CAmountGregory Sanders2016-11-151-1/+1
|/
* Merge #8977: [Wallet] Refactor wallet/init interaction (Reaccept wtx, flush ↵Wladimir J. van der Laan2016-11-021-0/+10
|\ | | | | | | | | | | thread) cab1da7 [Wallet] Refactor wallet/init interaction (Reaccept wtx, flush thread) (Jonas Schnelli)
| * [Wallet] Refactor wallet/init interaction (Reaccept wtx, flush thread)Jonas Schnelli2016-10-201-0/+10
| |
* | Move CWalletDB::ReorderTransactions to CWalletPatrick Strateman2016-10-301-1/+72
| |
* | Merge #8989: [Qt] overhaul smart-fee slider, adjust default confirmation targetWladimir J. van der Laan2016-10-281-2/+7
|\ \ | | | | | | | | | | | | | | | cfe77ef [Qt] overhaul smart-fee slider, adjust default confirmation target (Jonas Schnelli) 6f02899 [Qt] Hide nTxConfirmTarget behind WalletModel (Jonas Schnelli) 004168d CoinControl: add option for custom confirmation target (Jonas Schnelli)
| * | CoinControl: add option for custom confirmation targetJonas Schnelli2016-10-281-2/+7
| | |
* | | Return useful error message on ATMP failureinstagibbs2016-10-261-6/+6
|/ /
* / moveonly: move `coincontrol` to `src/wallet`Wladimir J. van der Laan2016-10-211-1/+1
|/
* Merge #8928: Fix init segfault where InitLoadWallet() calls ATMP before genesisWladimir J. van der Laan2016-10-191-2/+0
|\ | | | | | | 37aefff Fix init segfault where InitLoadWallet() calls ATMP before genesis (Matt Corallo)
| * Fix init segfault where InitLoadWallet() calls ATMP before genesisMatt Corallo2016-10-151-2/+0
| |
* | Merge #8287: [wallet] Set fLimitFree = trueWladimir J. van der Laan2016-10-181-5/+4
|\ \ | | | | | | | | | | | | fa8b02d [rpc] rawtx: Prepare fLimitFree to make it an option (MarcoFalke) fa28bfa [wallet] Set fLimitFree = true (MarcoFalke)
| * | [wallet] Set fLimitFree = trueMarcoFalke2016-08-251-5/+4
| | |
* | | Kill insecure_random and associated global stateWladimir J. van der Laan2016-10-171-2/+2
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are only a few uses of `insecure_random` outside the tests. This PR replaces uses of insecure_random (and its accompanying global state) in the core code with an FastRandomContext that is automatically seeded on creation. This is meant to be used for inner loops. The FastRandomContext can be in the outer scope, or the class itself, then rand32() is used inside the loop. Useful e.g. for pushing addresses in CNode or the fee rounding, or randomization for coin selection. As a context is created per purpose, thus it gets rid of cross-thread unprotected shared usage of a single set of globals, this should also get rid of the potential race conditions. - I'd say TxMempool::check is not called enough to warrant using a special fast random context, this is switched to GetRand() (open for discussion...) - The use of `insecure_rand` in ConnectThroughProxy has been replaced by an atomic integer counter. The only goal here is to have a different credentials pair for each connection to go on a different Tor circuit, it does not need to be random nor unpredictable. - To avoid having a FastRandomContext on every CNode, the context is passed into PushAddress as appropriate. There remains an insecure_random for test usage in `test_random.h`.
* | Move key derivation logic from GenerateNewKey to DeriveNewChildKeyPatrick Strateman2016-09-301-37/+41
| |
* | Merge #8814: [wallet, policy] ParameterInteraction: Don't allow 0 feeWladimir J. van der Laan2016-09-281-1/+1
|\ \ | | | | | | | | | fa4bfb4 [wallet, policy] ParameterInteraction: Don't allow 0 fee (MarcoFalke)
| * | [wallet, policy] ParameterInteraction: Don't allow 0 feeMarcoFalke2016-09-261-1/+1
| | |
* | | Do not shadow variablesPavel Janík2016-09-271-8/+8
|/ /
* | [wallet] Add high transaction fee warningsMarcoFalke2016-09-261-5/+14
| |
* | [wallet] Introduce DEFAULT_DISABLE_WALLETMarcoFalke2016-09-211-3/+3
| |
* | init: Get rid of fDisableWalletMarcoFalke2016-09-201-0/+12
| |