Commit Graph

94 Commits

Author SHA1 Message Date
lateminer
91698d9fd4 Remove -respendnotify option 2018-10-25 20:04:44 +03:00
lateminer
9558397bb7 Add more checks for coinstake transactions 2018-10-25 19:58:07 +03:00
Cory Fields
620e64b25f net: narrow include scope after moving to netaddress 2018-10-18 22:56:46 +03:00
lateminer
f57cc59be2 Remove replace-by-fee 2018-10-15 22:21:51 +03:00
lateminer
f7422db2f7 Update to Core 0.12.2 2018-10-14 19:07:51 +03:00
Kalle Alm
8e919e9d59 [rpc] Add abortrescan command to RPC interface. 2018-10-13 02:21:39 +03:00
Gregory Sanders
ab2332461b Add option to return non-segwit serialization via rpc 2018-10-13 01:03:04 +03:00
lateminer
da2c4ec6c9 Add RPC call reservebalance 2018-10-12 21:02:30 +03:00
lateminer
c53ecd12c9 Bitcoin -> Blackcoin 2018-03-18 12:42:10 +03:00
janko33bd
6e8ab87e81 adjusted help 2018-02-03 23:27:46 +01:00
janko33bd
0cb80ee889 corrected stakin dialog + added rpc staking 2018-02-03 23:16:28 +01:00
lateminer
21e7a07a34 Add stake balance in RPC call getwalletinfo 2018-02-01 19:52:18 +03:00
lateminer
323a6750c2 Add CashAddr Address Format
Ported from Bitcoin Unlimited, Bitcoin ABC
2018-01-14 22:32:08 +03:00
lateminer
ef33662381 Merge remote-tracking branch 'janko33bd/Blackcoin-Lore' into build-fixes-0.13 2018-01-12 22:22:52 +03:00
lateminer
72875a2116 Relay double-spends, subject to anti-DOS
cef3711500 (diff-7ec3c68a81efff79b6ca22ac1f1eabbaL929)
2018-01-10 21:52:38 +03:00
lateminer
85aaa0b023 Fix comparison between signed and unsigned int
rpcwallet.cpp
wallet.cpp
2018-01-10 20:32:50 +03:00
lateminer
070424672b Add -respendnotify option, new RPC data, reg tests
f2a6c79aa1 (diff-b4d9f378d56095dfaad2a3802d633a39)
2018-01-09 22:41:38 +03:00
Pedro Branco
8e2f81bb7f Prevent multiple calls to ExtractDestination 2018-01-08 21:47:33 +03:00
instagibbs
8bca020397 Added companion removeprunedfunds call. 2018-01-08 21:36:30 +03:00
instagibbs
c37ac7db87 Add importprunedfunds rpc call 2018-01-08 21:36:08 +03:00
Patrick Strateman
db3b5d964a Move BackupWallet to CWallet::BackupWallet 2018-01-08 21:31:59 +03:00
lateminer
261efcf69a Merge remote-tracking branch 'janko33bd/Blackcoin-Lore' into wallet-updates-0.13 2018-01-08 19:45:45 +03:00
Patrick Strateman
e94e583f48 Improve CWallet API with new GetAccountPubkey function.
Remove one more caller that is passing CWalletDB.
2018-01-07 13:33:46 +03:00
Patrick Strateman
acf8c3d9ce Improve CWallet API with new AccountMove function. 2018-01-07 13:33:24 +03:00
Patrick Strateman
ee0b4321ff Move GetAccountBalance from rpcwallet.cpp into CWallet::GetAccountBalance 2018-01-07 13:22:45 +03:00
João Barbosa
26f8d58b92 Fix lockunspents help message 2018-01-07 13:16:18 +03:00
Chris Moore
412c8b9946 Reduce inefficiency of GetAccountAddress()
Don't scan the wallet to see if the current key has been used if we're going to make a new key anyway.
Stop scanning the wallet as soon as we see that the current key has been used.
Don't call isValid() twice on the current key.
2018-01-07 12:56:47 +03:00
matthias
106dc385ee Change all instance of 'GMT epoch' to 'Unix epoch' 2018-01-06 15:04:03 +03:00
MarcoFalke
9067422492 [rpc] fundrawtransaction feeRate: Use BTC/kB
Also introduce UniValueType

UniValueType is a wrapper for UniValue::VType which allows setting
a typeAny flag. This flag indicates the type does not matter.

(Used by RPCTypeCheckObj)
2018-01-06 14:41:03 +03:00
MarcoFalke
ac8653f486 [rpc] fundrawtransaction: Fix help text and interface 2018-01-06 14:40:55 +03:00
Jonas Schnelli
3674e65b54 Add more clear interface for CoinControl.h regarding individual feerate 2018-01-06 14:37:42 +03:00
Jonas Schnelli
4aab709412 [RPC] add feerate option to fundrawtransaction 2018-01-06 14:37:33 +03:00
João Barbosa
fe292ef786 Add lockUnspents option to fundrawtransaction 2018-01-06 14:09:45 +03:00
João Barbosa
0e8da90b0a Add change options to fundrawtransaction 2018-01-06 14:09:13 +03:00
Wladimir J. van der Laan
b460adbab0 rpc: Register calls where they are defined 2018-01-06 13:58:48 +03:00
Daniel Cousens
780775d5bd move rpc* to rpc/ 2018-01-06 01:57:48 +03:00
Jonas Schnelli
6bab17dc2d [RPC, Wallet] Move RPC dispatch table registration to wallet/ code 2018-01-06 01:27:37 +03:00
MarcoFalke
6df97ea819 [rpcwallet] Don't use floating point 2018-01-06 01:10:19 +03:00
Pieter Wuille
c23ecc1256 List solvability in listunspent output and improve help 2018-01-06 01:02:21 +03:00
lateminer
5d55c17441 Code refactoring from Bitcoin Core 0.13.0
72c2651581

fc7c60d699

fa19b18c63

3e2c946cfd

0fd599767d

220f950ab1

fade505e8b

fa9976b853

fa10ce6a6d

...and some more
2018-01-02 17:21:43 +03:00
lateminer
b741b11cad Add HD keypath to CKeyMetadata, report metadata in validateaddress
https://github.com/bitcoin/bitcoin/pull/8323
2018-01-02 14:30:26 +03:00
lateminer
0e02c74800 [0.13] Create a new HD seed after encrypting the wallet
https://github.com/bitcoin/bitcoin/pull/8389/commits
2018-01-02 13:57:39 +03:00
lateminer
e373a90495 [Wallet] Correct hdmasterkeyid/masterkeyid name confusion
73adfe3bb9
2018-01-02 13:27:07 +03:00
janko33bd
2604134d9f [Wallet] print hd masterkeyid in getwalletinfo 2017-09-01 16:17:29 +01:00
janko33bd
2fdd12b2ea Blackcoin Lore 2017-05-30 21:33:31 +02:00
Jonas Schnelli
7ffc2bd943 [Wallet][RPC] add abandoned status to listtransactions
Github-Pull: #7739
Rebased-From: 263de3d1c8
2016-03-23 16:30:49 +01:00
Suhas Daftuar
e25b158ab8 RPC: indicate which transactions are replaceable
Add "bip125-replaceable" output field to listtransactions and gettransaction
which indicates if an unconfirmed transaction, or any unconfirmed parent, is
signaling opt-in RBF according to BIP 125.

Github-Pull: #7286
Rebased-From: eaa8d2754b
2016-01-20 13:50:58 +01:00
Wladimir J. van der Laan
2a3161bf8b Merge pull request #7332 2016-01-13 16:02:12 +01:00
Alex Morcos
fd4bd5009e Add RPC call abandontransaction
- Make wallet descendant searching more efficient
- 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.

- Add RPC test for abandoned and conflicted transactions.
- [Wallet] Call notification signal when a transaction is abandoned

Github-Pull: #7312
Rebased-From: 9e69717254 01e06d1fa3 df0e2226d9 d11fc1695c
2016-01-13 15:55:00 +01:00
MarcoFalke
faf671bca6 [wallet] Clarify rpc help message with regard to rounding 2016-01-13 12:06:24 +01:00