Commit Graph

48 Commits

Author SHA1 Message Date
Gregory Maxwell
89655c3a1e Remove unneeded feerate param from RelayTransaction/AcceptToMemoryPool. 2018-10-17 20:22:44 +03:00
lateminer
eb242178e1 Attempt to fix testnet 2018-10-17 00:40:44 +03:00
lateminer
17401c86d1 Fix backporting errors
pos.cpp
primitives/transaction.cpp
rpc/rawtransaction.cpp
script/sign.cpp
script/sign.h
txmempool.cpp
2018-10-13 18:55:32 +03:00
Pieter Wuille
d8d19c532f Precompute sighashes 2018-10-13 17:39:41 +03:00
Pieter Wuille
81e04cabfe Refactor script validation to observe amounts 2018-10-13 17:05:24 +03:00
Alex Morcos
b821da64ef Implement "feefilter" P2P message. 2018-10-13 15:44:02 +03:00
lateminer
41ffefbe33 Fix backporting errors
rpc/mining.cpp
2018-10-13 15:20:47 +03:00
mruddy
42d12434d5 RPC: fix generatetoaddress failing to parse address and add unit test 2018-10-13 14:36:55 +03:00
Andrew C
64978cb9c5 Create generatetoaddress rpc 2018-10-13 14:36:16 +03:00
Pieter Wuille
d40f1252ff Make the generate RPC call function for non-regtest 2018-10-13 14:28:11 +03:00
Leviathn
392e034334 Remove internal miner 2018-10-13 14:24:42 +03:00
Luke Dashjr
f178b7d0a3 RPC/Mining: getblocktemplate: Update and fix formatting of help 2018-10-13 14:00:04 +03:00
Luke Dashjr
4184fc7707 getblocktemplate: Use version/force mutation to support pre-BIP9 clients 2018-10-13 02:43:09 +03:00
Luke Dashjr
c5899e25d0 getblocktemplate: Explicitly handle the distinction between GBT-affecting softforks vs not 2018-10-13 02:43:00 +03:00
Luke Dashjr
116f49d390 Implement BIP 9 GBT changes
- BIP9DeploymentInfo struct for static deployment info
- VersionBitsDeploymentInfo: Avoid C++11ism by commenting parameter names
- getblocktemplate: Make sure to set deployments in the version if it is LOCKED_IN
- In this commit, all rules are considered required for clients to support
2018-10-13 02:42:30 +03:00
Gregory Sanders
ab2332461b Add option to return non-segwit serialization via rpc 2018-10-13 01:03:04 +03:00
lateminer
66dd63a23b Proof-of-stake related code refactoring and cleanup 2018-10-12 23:40:50 +03:00
lateminer
da2c4ec6c9 Add RPC call reservebalance 2018-10-12 21:02:30 +03:00
lateminer
b1bb30cb3a Remove address indexes 2018-10-11 22:02:52 +03:00
lateminer
3a29ae6903 Some code refactoring and cleanup 2018-10-02 01:04:31 +03:00
lateminer
3807d70f09 Fix backporting errors in uptime RPC command 2018-09-30 18:50:59 +03:00
Ricardo Velhote
32f0591954 [RPC] Add an uptime command that displays the amount of time that bitcoind has been running 2018-09-30 18:34:42 +03:00
lateminer
c53ecd12c9 Bitcoin -> Blackcoin 2018-03-18 12:42:10 +03:00
janko33bd
0cb80ee889 corrected stakin dialog + added rpc staking 2018-02-03 23:16:28 +01:00
janko33bd
65e7103954 Add normalized transaction hash 2018-01-16 21:58:20 +01:00
lateminer
323a6750c2 Add CashAddr Address Format
Ported from Bitcoin Unlimited, Bitcoin ABC
2018-01-14 22:32:08 +03:00
Alex Morcos
092922c063 Disable fee estimates for a confirm target of 1 block
Backport of #9239 without GUI changes and fixing conflicts in tests.
2018-01-13 13:43:54 +03:00
lateminer
c4c9d81823 Use std::shared_ptr instead of boost::shared_ptr 2018-01-12 07:34:45 +03:00
instagibbs
c37ac7db87 Add importprunedfunds rpc call 2018-01-08 21:36:08 +03:00
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
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
Jonas Schnelli
3756163ce0 [RPC] createrawtransaction: add option to set the sequence number per input 2018-01-06 14:38:11 +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
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
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