Jonas Schnelli
7945088d41
[Wallet] comsetic non-code changes for the HD feature
9 years ago
Jonas Schnelli
986c223214
[Wallet] print hd masterkeyid in getwalletinfo
9 years ago
Patrick Strateman
152ab236ea
Improve CWallet API with new GetAccountPubkey function.
...
Remove one more caller that is passing CWalletDB.
9 years ago
Patrick Strateman
9dfaa1cb70
Improve CWallet API with new AccountMove function.
9 years ago
Jonas Schnelli
f19025106d
[Wallet] Add simplest BIP32/deterministic key generation implementation
9 years ago
Patrick Strateman
380498aba4
Move BackupWallet to CWallet::BackupWallet
9 years ago
Patrick Strateman
ecb9741ec3
Move GetAccountBalance from rpcwallet.cpp into CWallet::GetAccountBalance
9 years ago
Patrick Strateman
0fd599767d
Fix insanity of CWalletDB::WriteTx and CWalletTx::WriteToDisk
9 years ago
Jonas Schnelli
04eaa90958
Add more clear interface for CoinControl.h regarding individual feerate
9 years ago
Jonas Schnelli
3b35e4896b
[RPC] add feerate option to fundrawtransaction
9 years ago
Wladimir J. van der Laan
a25a4f5b04
wallet_ismine.h → script/ismine.h
...
Removes conditional dependency of `src/test` on wallet.
Makes multisig and P2SH tests complete without wallet built-in.
9 years ago
João Barbosa
f2d0944eb3
Add lockUnspents option to fundrawtransaction
9 years ago
João Barbosa
af4fe7fd12
Add change options to fundrawtransaction
9 years ago
MarcoFalke
fada0c422c
[doc] Fix doxygen comments for members
9 years ago
instagibbs
f1bb13c93d
Added companion removeprunedfunds call.
9 years ago
João Barbosa
bb16c8894b
Prevent multiple calls to CWallet::AvailableCoins
9 years ago
Jonas Schnelli
25340b7cd5
[Wallet] refactor wallet/init interaction
9 years ago
Pieter Wuille
c3932b3270
List solvability in listunspent output and improve help
9 years ago
Jonas Schnelli
fc7c60d699
[Wallet] move "load wallet phase" to CWallet
9 years ago
Jonas Schnelli
72c2651581
[Wallet] move wallet help string creation to CWallet
9 years ago
MarcoFalke
fad6244879
ATMP: make nAbsurdFee const
9 years ago
MarcoFalke
fa762d0f00
[wallet.h] Remove main.h include
9 years ago
MarcoFalke
fa79db2641
Move maxTxFee out of mempool
...
Also, remove default values in CMerkleTx::AcceptToMemoryPool()
9 years ago
MarcoFalke
fa331db68b
mempool: Replace maxFeeRate of 10000*minRelayTxFee with maxTxFee
9 years ago
Jonas Schnelli
dd2dc400ee
[RPC, Wallet] Move RPC dispatch table registration to wallet/ code
...
Allow extending the rpc dispatch table by appending commands when server is not running.
9 years ago
Alex Morcos
01e06d1fa3
Add new rpc call: abandontransaction
...
Unconfirmed transactions that are not in your mempool either due to eviction or other means may be unlikely to be mined. abandontransaction gives the wallet a way to no longer consider as spent the coins that are inputs to such a transaction. All dependent transactions in the wallet will also be marked as abandoned.
9 years ago
Cory Fields
57d2f62c99
c++11: CAccountingEntry must be defined before use in a list
...
c++11ism. This fixes builds against libc++.
9 years ago
Alex Morcos
e420a1b15e
Add sane fallback for fee estimation
...
Add new commandline option "-fallbackfee" to use when fee estimation does not have sufficient data.
9 years ago
MarcoFalke
fa24439ff3
Bump copyright headers to 2015
9 years ago
Jonas Schnelli
7d0bf0bb46
include the chaintip *blockIndex in the SyncTransaction signal
...
- allows reducing of calls to main.cpp for getting the chaintip during transaction syncing
- potentially allows reducing of cs_main locks
9 years ago
Jonas Schnelli
a3c3ddbd7b
[Qt] add InMempool() info to transaction details
9 years ago
Pieter Wuille
ecc7c82361
Move fPayAtLeastCustomFee function to CC
9 years ago
Pieter Wuille
9ac63d6d30
Keep track of explicit wallet conflicts instead of using mempool
9 years ago
MarcoFalke
faf93f37fe
[trivial] Reuse translation and cleanup DEFAULT_* values
...
* DEFAULT_DISABLE_SAFEMODE = false
* Use DEFAULT_* constants for extern bools
9 years ago
Luke Dashjr
b966aa836a
Constrain constant values to a single location in code
9 years ago
Luke Dashjr
3e7c89196c
Optimisation: Store transaction list order in memory rather than compute it every need
...
Huge performance improvement (450%) for zapwallettxes
9 years ago
MarcoFalke
abd8b768ee
[qt] Properly display required fee instead of minTxFee
9 years ago
MarcoFalke
a9c73a130e
[wallet] Add comments for doxygen
9 years ago
MarcoFalke
6b0e622c25
[wallet] Refactor to use new MIN_CHANGE
...
* Introduce new constant MIN_CHANGE and use it instead of the
hardcoded "CENT"
* Add test case for MIN_CHANGE
* Introduce new constant for -mintxfee default:
DEFAULT_TRANSACTION_MINFEE = 1000
9 years ago
Pieter Wuille
391dff16fe
Do not store Merkle branches in the wallet.
...
Assume that when a wallet transaction has a valid block hash and transaction position
in it, the transaction is actually there. We're already trusting wallet data in a
much more fundamental way anyway.
To prevent backward compatibility issues, a new record is used for storing the
block locator in the wallet. Old wallets will see a wallet file synchronized up
to the genesis block, and rescan automatically.
9 years ago
Jorge Timón
60c8bac77c
Includes: Cleanup around net main and wallet
...
-Move from .h to .cpp: in main, net and wallet
-Remove unnecessary #include "main.h"
-Cleanup some wallet files includes
9 years ago
Jorge Timón
9dd793f499
TRIVIAL: Missing includes
9 years ago
Matt Corallo
6bdb474dc9
Implement watchonly support in fundrawtransaction
...
Some code and test cases stolen from
Bryan Bishop <bryan@ledgerx.com> (pull #5524 ).
10 years ago
Wladimir J. van der Laan
5a7304b69d
Move recently introduced CTransAction::IsEquivalentTo to CWalletTx
...
CTransAction::IsEquivalentTo was introduced in #5881 .
This functionality is only useful to the wallet, and should never have
been added to the primitive transaction type.
10 years ago
Jonas Schnelli
a7b9623d18
miner: rename UpdateRequestCount signal to ResetRequestCount
10 years ago
Jonas Schnelli
5496253966
add CReserveScript to allow modular script keeping/returning
...
- use one CReserveScript per mining thread
10 years ago
Jonas Schnelli
d0fc10a844
detach wallet from miner
10 years ago
Matt Corallo
1e0d1a2ff0
Add FundTransaction method to wallet
...
Some code stolen from Jonas Schnelli <jonas.schnelli@include7.ch>
10 years ago
Philip Kaufmann
a9ac95c1bc
use const references where appropriate
10 years ago
Michael Ford
08d9373e2f
Remove unused code from wallet and validation interface
...
Fixes #6109
10 years ago