Commit Graph

10233 Commits

Author SHA1 Message Date
lateminer
b4b34ff770 Get rid of remaining auto_ptr mentions 2018-01-06 16:44:09 +03:00
lateminer
99238ff2c8 Merge remote-tracking branch 'janko33bd/Blackcoin-Lore' into rpc-updates-0.13 2018-01-06 16:41:28 +03:00
Jonas Schnelli
5deab0d5fa [Wallet] Bugfix: FRT: don't terminate when keypool is empty
Github-Pull: #9295
Rebased-From: c24a4f5981d47d55aa9e4eb40294832a4d38fb80
2018-01-06 15:33:50 +03:00
MarcoFalke
20a60575fb [qa] Add getinfo smoke tests and rework versionbits test 2018-01-06 15:26:07 +03:00
MarcoFalke
5c6c445cf4 [rpc] Deprecate getinfo 2018-01-06 15:23:24 +03:00
MarcoFalke
2ddde6bf92 [rpc] ParseHash: Fail when length is not 64 2018-01-06 15:05:09 +03:00
Masahiko Hyuga
e403754e15 fix getnettotals RPC description about timemillis. 2018-01-06 15:04:25 +03:00
matthias
106dc385ee Change all instance of 'GMT epoch' to 'Unix epoch' 2018-01-06 15:04:03 +03:00
jnewbery
7307b5f5a1 Don't return the address of a P2SH of a P2SH. 2018-01-06 15:01:34 +03:00
Wladimir J. van der Laan
bf9cd01f5c rpc: Generate auth cookie in hex instead of base64
Base64 contains '/', and the '/' character in credentials is problematic
for AuthServiceProxy which represents the RPC endpoint as an URI with
user and password embedded.

Closes #8399.
2018-01-06 14:51:14 +03:00
Luke Dashjr
8d0a8afe73 Bugfix: Trivial: RPC: getblockchaininfo help: pruneheight is the lowest, not highest, block 2018-01-06 14:50:55 +03:00
Jonas Schnelli
621f5f19d9 [RPC] Fix createrawtx sequence number unsigned int parsing 2018-01-06 14:43:52 +03:00
Suhas Daftuar
bc7d750fd6 Refactor logic for converting mempool entries to JSON 2018-01-06 14:42:30 +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
893db80a40 [Bitcoin-Tx] Add tests for sequence number support 2018-01-06 14:38:26 +03:00
Jonas Schnelli
6b045bd557 [bitcoin-tx] allow to set nSequence number over the in= command 2018-01-06 14:38:18 +03:00
Jonas Schnelli
3756163ce0 [RPC] createrawtransaction: add option to set the sequence number per input 2018-01-06 14:38:11 +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
Andrew Chow
547dada2d4 Test for signing messages 2018-01-06 14:36:56 +03:00
Andrew
7a685072ab Create signmessagewithprivkey rpc 2018-01-06 14:35:15 +03:00
lateminer
ff53759be8 Fix: rpc: Register calls where they are defined 2018-01-06 14:19:30 +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
João Barbosa
94c2d82643 Add strict flag to RPCTypeCheckObj
Strict flag forces type check on all object keys.
2018-01-06 14:04:44 +03:00
Wladimir J. van der Laan
b460adbab0 rpc: Register calls where they are defined 2018-01-06 13:58:48 +03:00
janko33bd
c71b057f3b Merge pull request #12 from lateminer/remove-client-date
build: Get rid of `CLIENT_DATE`
2018-01-06 09:50:57 +01:00
janko33bd
2b915f62e3 Merge pull request #13 from lateminer/build-fix
auto_ptr → unique_ptr
2018-01-06 09:50:06 +01:00
Wladimir J. van der Laan
fb6d61317d auto_ptr → unique_ptr 2018-01-06 03:29:32 +03:00
lateminer
36888feaff Fix: List solvability in listunspent output and improve help 2018-01-06 03:21:24 +03:00
janko33bd
b8609fc6e3 removing forgotten height 2018-01-06 00:44:43 +01:00
janko33bd
71c4f88bf9 fixing to compile 2018-01-06 00:37:31 +01:00
lateminer
564defb161 Turn blockchain.cpp and mining.cpp into their real shape 2018-01-06 02:00:23 +03:00
Daniel Cousens
780775d5bd move rpc* to rpc/ 2018-01-06 01:57:48 +03:00
lateminer
135dab2ee4 Prepare rpcblockchain.cpp and rpcmining.cpp for further actions 2018-01-06 01:57:40 +03:00
Jonas Schnelli
6bab17dc2d [RPC, Wallet] Move RPC dispatch table registration to wallet/ code 2018-01-06 01:27:37 +03:00
Daniel Cousens
ce7f082de5 remove unnecessary LOCK(cs_main) 2018-01-06 01:12:54 +03:00
jl2012
fe710e3612 RPC: Hide softfork if timeout is 0 2018-01-06 01:12:35 +03:00
MarcoFalke
6df97ea819 [rpcwallet] Don't use floating point 2018-01-06 01:10:19 +03:00
Jonas Nick
d312c5b847 Reduce unnecessary hashing in signrawtransaction 2018-01-06 01:06:11 +03:00
Wladimir J. van der Laan
d6c228b173 rpc: Add relaytxes flag to getnetworkinfo
Re-work of PR #7841 by dragongem45.
Closes #7771.
2018-01-06 01:05:10 +03:00
Wladimir J. van der Laan
e0de81556a net: Add fRelayTxes flag
Add a fRelayTxes to keep track of the relay transaction flag
we send to other peers.
2018-01-06 01:05:02 +03:00
instagibbs
541225b63a push back getaddednodeinfo dead value 2018-01-06 01:04:08 +03:00
Pieter Wuille
c23ecc1256 List solvability in listunspent output and improve help 2018-01-06 01:02:21 +03:00
Jonas Schnelli
f2fe8fc5df [ZMQ] append a message sequence number to every ZMQ notification 2018-01-06 01:02:03 +03:00
lateminer
b23b02abfb Update zmq_test.py
faa41ee204 (diff-8245b6baab6211f3084ade8ab379bf81)
2018-01-06 01:01:27 +03:00
Jonas Schnelli
b125c6e461 [ZMQ] refactor message string 2018-01-06 00:54:05 +03:00
mrbandrews
583764d8df Speed up getchaintips. 2018-01-06 00:51:40 +03:00
Wladimir J. van der Laan
51a43ca5fe rpc: make sure gettxoutsetinfo hash has txids
The key (transaction id for the following outputs) should be serialized
to the HashWriter.

This is a problem as it means different transactions in the same
position with the same outputs will potentially result in the same hash.

Fixes primary concern of #7758.
2018-01-06 00:51:12 +03:00