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
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
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
jnewbery
ce2bb23aa5
getrawtransaction should take a bool for verbose
8 years ago
Pieter Wuille
1662b437b3
Make CBlock::vtx a vector of shared_ptr<CTransaction>
8 years ago
Jonas Schnelli
69d1c25768
[RPC] Give RPC commands more information about the RPC request
8 years ago
jnewbery
d51f182461
Don't return the address of a P2SH of a P2SH.
8 years ago
Jeremy Rubin
d1a2295f0d
Made the ForEachNode* functions in src/net.cpp more pragmatic and self documenting
8 years ago
Cory Fields
53347f0cb9
net: create generic functor accessors and move vNodes to CConnman
8 years ago
MarcoFalke
fa8b02d36d
[rpc] rawtx: Prepare fLimitFree to make it an option
8 years ago
Pavel Janík
de1bbe3b78
Do not shadow global RPC table variable (tableRPC)
8 years ago
NicolasDorier
745eb678ef
[RPC] signrawtransaction can sign P2WSH
9 years ago
Pieter Wuille
605e8473a7
BIP143: Signing logic
9 years ago
Pieter Wuille
2b1f6f9ccf
BIP141: Other consensus critical limits, and BIP145
...
Includes changes by Suhas Daftuar, Luke-jr, and mruddy.
9 years ago
Johnson Lau
7c4bf779e8
[RPC] Return witness data in blockchain RPCs
...
Includes RPC field name changes by Luke-jr.
9 years ago
Pieter Wuille
3dd410294d
BIP143: Verification logic
...
Includes simplifications by Eric Lombrozo.
9 years ago
Pieter Wuille
0ef1dd3e11
Refactor script validation to observe amounts
...
This is a preparation for BIP143 support.
9 years ago
Pieter Wuille
449f9b8deb
BIP141: Witness program
9 years ago
Pieter Wuille
7030d9eb47
BIP144: Serialization, hashes, relay (sender side)
...
Contains refactorings by Eric Lombrozo.
Contains fixup by Nicolas Dorier.
Contains cleanup of CInv::GetCommand by Alex Morcos
9 years ago
Jonas Schnelli
6fa950a573
[RPC] Fix createrawtx sequence number unsigned int parsing
9 years ago
MarcoFalke
fa7f4f577c
[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)
9 years ago
Jonas Nick
bd0f413877
Reduce unnecessary hashing in signrawtransaction
9 years ago
Gregory Maxwell
d87b198b73
Remove unneeded feerate param from RelayTransaction/AcceptToMemoryPool.
9 years ago
Jonas Schnelli
a946bb6b18
[RPC] createrawtransaction: add option to set the sequence number per input
9 years ago
Chris Moore
fc95f6ecb6
fix typo in help text
...
'in which the transaction is included in'
9 years ago
Wladimir J. van der Laan
fb8a8cf2e6
rpc: Register calls where they are defined
...
Split out methods to every module, apart from 'help' and 'stop' which
are implemented in rpcserver.cpp itself.
- This makes it easier to add or remove RPC commands - no longer everything that includes
rpcserver.h has to be rebuilt when there's a change there.
- Cleans up `rpc/server.h` by getting rid of the huge cluttered list of function definitions.
- Removes most of the bitcoin-specific code from rpcserver.cpp and .h.
Continues #7307 for the non-wallet.
9 years ago
instagibbs
7eb702954e
Add importprunedfunds rpc call
9 years ago
Alex Morcos
9e072a6e66
Implement "feefilter" P2P message.
...
The "feefilter" p2p message is used to inform other nodes of your mempool min fee which is the feerate that any new transaction must meet to be accepted to your mempool. This will allow them to filter invs to you according to this feerate.
9 years ago
MarcoFalke
fa79db2641
Move maxTxFee out of mempool
...
Also, remove default values in CMerkleTx::AcceptToMemoryPool()
9 years ago
Daniel Cousens
a0eaff8a1d
move rpc* to rpc/
9 years ago
MarcoFalke
faf671bca6
[wallet] Clarify rpc help message with regard to rounding
9 years ago
Wladimir J. van der Laan
6e76587360
rpc: remove cs_main lock from `createrawtransaction`
...
This is a pure utility function that doesn't use
main's data structures, so it does not require that lock.
9 years ago
Nick
996d3117c7
[RPC] Add transaction size to JSON output
...
This may be useful for blockchain explorers.
9 years ago
Peter Todd
b3ae384a8d
Remove LOCK(cs_main) from decodescript
...
Completely static RPC call that doesn't change or even look at mutable
state anywhere.
9 years ago
Jorge Timón
87cbdb8b41
Globals: Explicit Consensus::Params arg for main:
...
-CheckBlockIndex
-DisconnectTip
-GetTransaction
-InvalidateBlock
-ProcessGetData
-ReadBlockFromDisk
9 years ago
Matt Corallo
d355cf4420
Only call TrimToSize once per reorg/blocks disconnect
9 years ago
Jonas Schnelli
9623e93473
[Univalue] add univalue over subtree
...
similar to secp256k1 include and compile univalue over a subtree
9 years ago
Tom Harding
212bcca920
Add optional locktime to createrawtransaction
...
A non-zero locktime also causes input sequences to be set to
non-max, activating the locktime.
9 years ago
Pavel Janík
d7078533eb
Add OP_RETURN support in createrawtransaction RPC call, add tests.
9 years ago
Ross Nicoll
9ca7857df7
Rationalize currency unit to "BTC"
...
Previously various user-facing strings have used inconsistent currency units "BTC",
"btc" and "bitcoins". This adds a single constant and uses it for each reference to
the currency unit.
Also adds a description of the unit for --maxtxfee, and adds the missing "amount"
field description to the (deprecated) move RPC command.
9 years ago
mruddy
af3208bfa6
Resolve issue 3166.
...
These changes decode valid SIGHASH types on signatures in assembly (asm) representations of scriptSig scripts.
This squashed commit incorporates substantial helpful feedback from jtimon, laanwj, and sipa.
9 years ago
Jorge Timón
9dd793f499
TRIVIAL: Missing includes
9 years ago
Jorge Timón
627b9deff4
Policy: MOVEONLY: Create policy/policy.h with some constants
10 years ago
Jonas Schnelli
9a8897f4ac
Remove JSON Spirit wrapper, remove JSON Spirit leftovers
...
- implement find_value() function for UniValue
- replace all Array/Value/Object types with UniValues, remove JSON Spirit to UniValue wrapper
- remove JSON Spirit sources
10 years ago
Jonas Schnelli
3df0411ad9
remove JSON Spirit UniValue wrapper
10 years ago