Pieter Wuille
a4bac66cca
[MOVEONLY] Move progress estimation out of checkpoints
8 years ago
isle2983
27765b6403
Increment MIT Licence copyright header year on files modified in 2016
...
Edited via:
$ contrib/devtools/copyright_header.py update .
8 years ago
Anditto Heristyo
afe5b3f553
Added missing colons in when running help command
8 years ago
Pieter Wuille
c44e4c467c
Make AcceptToMemoryPool take CTransactionRef
8 years ago
jonnynewbs
d29505db22
Fix transaction size comments. Size now refers to virtual size as defined in BIP141.
8 years ago
Gregory Sanders
bc7ff8db99
Add option to return non-segwit serialization via rpc
8 years ago
Pieter Wuille
f6fb7acda4
Move CTxInWitness inside CTxIn
8 years ago
Matt Corallo
a13fa4c80f
Remove unused CDiskBlockPos* argument from ProcessNewBlock
8 years ago
Matt Corallo
2d6e5619af
Switch pblock in ProcessNewBlock to a shared_ptr
...
This (finally) fixes a performance regression in
b3b3c2a562
8 years ago
Matt Corallo
2736c44c8e
Make the optional pblock in ActivateBestChain a shared_ptr
8 years ago
Pieter Wuille
42fd8dee30
Make DecodeHexTx return a CMutableTransaction
8 years ago
Pieter Wuille
a1883536b4
Switch GetTransaction to returning a CTransactionRef
8 years ago
Matt Corallo
76faa3cdfe
Rename the remaining main.{h,cpp} to validation.{h,cpp}
8 years ago
Matt Corallo
e736772c56
Move network-msg-processing code out of main to its own file
8 years ago
Alex Morcos
d824ad030e
Disable fee estimates for a confirm target of 1 block
8 years ago
fanquake
e3c4f7e182
Correct help output for waitfor RPC commands
8 years ago
jnewbery
ce2bb23aa5
getrawtransaction should take a bool for verbose
8 years ago
Pieter Wuille
ad04d1cb35
Always add default_witness_commitment with GBT client support
8 years ago
Pieter Wuille
1662b437b3
Make CBlock::vtx a vector of shared_ptr<CTransaction>
8 years ago
Masahiko Hyuga
a79f864945
fix getnettotals RPC description about timemillis.
8 years ago
Matt Corallo
ae22357607
Replace CValidationState param in ProcessNewBlock with BlockChecked
8 years ago
Matt Corallo
7c98ce584e
Remove pfrom parameter from ProcessNewBlock
...
This further decouples ProcessNewBlock from networking/peer logic.
8 years ago
Matt Corallo
e2e069dabc
Revert "RPC: Give more details when "generate" fails"
...
This only returned information in the case of CheckBlock failure,
but breaks future changes.
8 years ago
Jorge Timón
1adf82ac39
RPC: Give more details when "generate" fails
8 years ago
Alex Morcos
b2322e0fc6
Remove priority estimation
8 years ago
Suhas Daftuar
88c35491ab
Fix compact block handling to not ban if block is invalid
8 years ago
MarcoFalke
fa326193ad
[rpc] ParseHash: Fail when length is not 64
8 years ago
matthias
7f61b49de8
Change all instance of 'GMT epoch' to 'Unix epoch'
8 years ago
S. Matthew English
1c3ecc70c8
instance of 'mem pool' to 'mempool'
...
there was only one instance of 'mem pool' and not 'mempool', so I changed it to conform to the others
8 years ago
Wladimir J. van der Laan
6567999096
rpc: Add `getmemoryinfo` call
...
```
getmemoryinfo
Returns an object containing information about memory usage.
Result:
{
"locked": { (json object) Information about locked memory manager
"used": xxxxx, (numeric) Number of bytes used
"free": xxxxx, (numeric) Number of bytes available in current arenas
"total": xxxxxxx, (numeric) Total number of bytes managed
"locked": xxxxxx, (numeric) Amount of bytes that succeeded locking. If this number is smaller than total, locking pages failed at some point and key data could be swapped to disk.
}
}
Examples:
> bitcoin-cli getmemoryinfo
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmemoryinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/
```
8 years ago
Luke Dashjr
54cf99745f
RPC/Net: Use boolean consistently for networkactive, and remove from getinfo
8 years ago
Jonas Schnelli
b2b33d9017
Overhaul network activity toggle
...
- Rename RPC command "togglenetwork" to "setnetworkactive (true|false)"
- Add simple test case
- GUI toggle added to connections icon in statusbar
8 years ago
Jon Lund Steffensen
e38993bb36
RPC: Add "togglenetwork" method to toggle network activity temporarily
...
RPC command "togglenetwork" toggles network and returns new state after command.
RPC command "getinfo" returns "networkactive" field in output.
8 years ago
S. Matthew English
3a286abf8f
Eliminating Inconsistencies in Textual Output
...
There were discrepancies between usage of "block chain" and "blockchain", I've changed them to the latter. The reason for this was that Wikipedia when describing this data structure writes "A blockchain — *originally block chain*", so it seemed the more appropriate term.
8 years ago
Pedro Branco
cb08fdbf78
Add importmulti rpc call
8 years ago
mruddy
fc146095d2
RPC: augment getblockchaininfo bip9_softforks data
8 years ago
Jonas Schnelli
e7156ad61b
[RPC] pass HTTP basic authentication username to the JSONRequest object
8 years ago
Jonas Schnelli
69d1c25768
[RPC] Give RPC commands more information about the RPC request
8 years ago
Wladimir J. van der Laan
23c32a9694
rpc: Change JSONRPCRequest to JSONRPCRequestObj
...
This is more consistent with `JSONRPCReplyObj`.
8 years ago
Luke Dashjr
59daa58d6a
RPC/Mining: getblocktemplate: Update and fix formatting of help
8 years ago
Jorge Timón
b26a7b5377
RPC: Chainparams: Remove Chainparams::fTestnetToBeDeprecatedFieldRPC
8 years ago
R E Broadley
1724a405c9
Display minimum ping in debug window.
8 years ago
jnewbery
d51f182461
Don't return the address of a P2SH of a P2SH.
8 years ago
Luke Dashjr
a78e5428ac
Bugfix: Trivial: RPC: getblockchaininfo help: pruneheight is the lowest, not highest, block
8 years ago
Matt Corallo
f5efa28393
Remove CConnman parameter from ProcessNewBlock/ActivateBestChain
8 years ago
Wladimir J. van der Laan
1c80386bce
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 .
8 years ago
MarcoFalke
fa05cfdf25
[rpc] throw JSONRPCError when utxo set can not be read
8 years ago
Pavel Janík
4731cab8fb
Do not shadow variables
8 years ago
MarcoFalke
ddddaafa4a
[rpc] Deprecate getinfo
...
This was replaced by getmininginfo, getnetworkinfo and getwalletinfo
8 years ago
Johnson Lau
86c3f8db0b
Remove createwitnessaddress
...
This RPC command is unsafe as it will return an address even if the script is invalid.
8 years ago