aboutsummaryrefslogtreecommitdiff
path: root/src/rpcrawtransaction.cpp
Commit message (Collapse)AuthorAgeFilesLines
* move rpc* to rpc/Daniel Cousens2016-01-211-841/+0
|
* Merge pull request #7332Wladimir J. van der Laan2016-01-131-1/+1
|\ | | | | | | faf671b [wallet] Clarify rpc help message with regard to rounding (MarcoFalke)
| * [wallet] Clarify rpc help message with regard to roundingMarcoFalke2016-01-131-1/+1
| |
* | rpc: remove cs_main lock from `createrawtransaction`Wladimir J. van der Laan2015-12-021-1/+0
|/ | | | | This is a pure utility function that doesn't use main's data structures, so it does not require that lock.
* [RPC] Add transaction size to JSON outputNick2015-11-281-0/+3
| | | | This may be useful for blockchain explorers.
* Remove LOCK(cs_main) from decodescriptPeter Todd2015-11-131-1/+0
| | | | | Completely static RPC call that doesn't change or even look at mutable state anywhere.
* Globals: Explicit Consensus::Params arg for main:Jorge Timón2015-10-301-3/+3
| | | | | | | | | -CheckBlockIndex -DisconnectTip -GetTransaction -InvalidateBlock -ProcessGetData -ReadBlockFromDisk
* Merge pull request #5936Wladimir J. van der Laan2015-10-231-4/+16
|\ | | | | | | 212bcca Add optional locktime to createrawtransaction (Tom Harding)
| * Add optional locktime to createrawtransactionTom Harding2015-08-101-4/+16
| | | | | | | | | | A non-zero locktime also causes input sequences to be set to non-max, activating the locktime.
* | Only call TrimToSize once per reorg/blocks disconnectMatt Corallo2015-10-131-1/+1
| |
* | [Univalue] add univalue over subtreeJonas Schnelli2015-10-011-1/+1
| | | | | | | | similar to secp256k1 include and compile univalue over a subtree
* | Merge pull request #5264Wladimir J. van der Laan2015-09-251-4/+4
|\ \ | |/ |/| | | af3208b 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. (mruddy)
| * Resolve issue 3166.mruddy2015-07-301-4/+4
| | | | | | | | | | 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.
* | Add OP_RETURN support in createrawtransaction RPC call, add tests.Pavel Janík2015-08-061-16/+27
| |
* | Rationalize currency unit to "BTC"Ross Nicoll2015-08-031-3/+3
|/ | | | | | | | | 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.
* TRIVIAL: Missing includesJorge Timón2015-07-231-0/+4
|
* Policy: MOVEONLY: Create policy/policy.h with some constantsJorge Timón2015-06-261-0/+1
|
* Remove JSON Spirit wrapper, remove JSON Spirit leftoversJonas Schnelli2015-06-041-18/+18
| | | | | | - implement find_value() function for UniValue - replace all Array/Value/Object types with UniValues, remove JSON Spirit to UniValue wrapper - remove JSON Spirit sources
* remove JSON Spirit UniValue wrapperJonas Schnelli2015-06-041-16/+16
|
* expicit set UniValue type to avoid empty valuesJonas Schnelli2015-06-041-13/+13
|
* extend conversion to UniValueJonas Schnelli2015-06-041-3/+4
|
* Convert tree to using univalue. Eliminate all json_spirit uses.Jeff Garzik2015-06-041-22/+25
|
* Consensus: MOVEONLY: Move CValidationState from main consensus/validationjtimon2015-05-151-1/+2
|
* RPC: show script verification errors in "signrawtransaction" resultdexX72015-05-051-7/+38
| | | | | | | | | | | | | | | | | | | | | | | | If there are any script verification errors, when using "signrawtransaction", they are shown in the RPC result: ``` // ... Result: { "hex" : "value", (string) The hex-encoded raw transaction with signature(s) "complete" : true|false, (boolean) If the transaction has a complete set of signatures "errors" : [ (json array of objects) Script verification errors (if there are any) { "txid" : "hash", (string) The hash of the referenced, previous transaction "vout" : n, (numeric) The index of the output to spent and used as input "scriptSig" : "hex", (string) The hex-encoded signature script "sequence" : n, (numeric) Script sequence number "error" : "text" (string) Verification or signing error related to the input } ,... ] } ```
* Report missing inputs in sendrawtransactionPieter Wuille2015-04-281-3/+8
|
* Add RPC call to generate and verify merkle blocksMatt Corallo2015-04-231-0/+114
|
* Fix docs for 'complete' field in 'signrawtransaction' responsecharlescharles2015-04-201-1/+1
|
* [move] move listunspent to wallet/rpcwallet.cppJonas Schnelli2015-04-121-111/+0
|
* [Move Only] Move wallet related things to src/wallet/Jonas Schnelli2015-03-121-1/+1
| | | | could once be renamed from /src/wallet to /src/legacywallet.
* Merge pull request #5711Wladimir J. van der Laan2015-02-041-1/+13
|\ | | | | | | | | 5ebe095 Trim RPC command table (Wladimir J. van der Laan) 4401b2d Removed main.h dependency from rpcserver.cpp (Eric Lombrozo)
| * Removed main.h dependency from rpcserver.cppEric Lombrozo2015-01-281-1/+13
| | | | | | | | | | | | | | | | Rebased by @laanwj: - update for RPC methods added since 84d13ee: setmocktime, invalidateblock, reconsiderblock. Only the first, setmocktime, required a change, the other two are thread safe.
* | Avoid storing a reference passed to SignatureChecker constructorsPieter Wuille2015-02-021-1/+1
| |
* | Use separate SignatureChecker for CMutableTransactionPieter Wuille2015-02-021-1/+1
|/
* Merge pull request #5575Wladimir J. van der Laan2015-01-261-1/+1
|\ | | | | | | 7b782f5 RPCWallet: Notate all account stuff as deprecated (Luke Dashjr)
| * RPCWallet: Notate all account stuff as deprecatedLuke Dashjr2014-12-301-1/+1
| |
* | Merge pull request #5513Wladimir J. van der Laan2015-01-061-10/+8
|\ \ | | | | | | | | | | | | | | | 856e862 namespace: drop most boost namespaces and a few header cleanups (Cory Fields) 9b1ab86 namespace: drop boost::assign altogether here (Cory Fields) a324199 namespace: remove boost namespace pollution (Cory Fields)
| * | namespace: drop most boost namespaces and a few header cleanupsCory Fields2015-01-021-9/+8
| | | | | | | | | | | | A few boost::asio were left around because they're very wordy otherwise.
| * | namespace: remove boost namespace pollutionCory Fields2015-01-021-1/+0
| | |
* | | Replace direct use of 0 with SetNull and IsNullWladimir J. van der Laan2015-01-051-3/+3
|/ / | | | | | | | | | | Replace x=0 with .SetNull(), x==0 with IsNull(), x!=0 with !IsNull(). Replace uses of uint256(0) with uint256().
* | Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | | | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* | make all catch() arguments constPhilip Kaufmann2014-12-171-1/+1
| | | | | | | | | | | | | | - I saw this on http://en.cppreference.com/w/cpp/language/try_catch and thought it would be a good idea - also unify used format to better be able to search for exception uses in our codebase
* | signrawtransaction: validate private key.Pavel Janík2014-12-111-0/+2
|/
* MOVEONLY: core/ -> primitives/Luke Dashjr2014-12-031-1/+1
|
* Update comments in src/rpc* to be doxygen compatibleMichael Ford2014-11-201-1/+1
|
* MOVEONLY: Separate CTransaction and dependencies from corejtimon2014-10-271-1/+1
|
* script: move CScriptID to standard.h and add a ctor for creating them from ↵Cory Fields2014-10-171-1/+1
| | | | | | | | | | | | | | | | CScripts This allows for a reversal of the current behavior. This: CScript foo; CScriptID bar(foo.GetID()); Becomes: CScript foo; CScriptID bar(foo); This way, CScript is no longer dependent on CScriptID or Hash();
* Merge pull request #4834Pieter Wuille2014-10-081-12/+10
|\ | | | | | | | | | | | | | | 7c70438 Get rid of the dummy CCoinsViewCache constructor arg (Pieter Wuille) ed27e53 Add coins_tests with a large randomized CCoinViewCache test. (Pieter Wuille) 058b08c Do not keep fully spent but unwritten CCoins entries cached. (Pieter Wuille) c9d1a81 Get rid of CCoinsView's SetCoins and SetBestBlock. (Pieter Wuille) f28aec0 Use ModifyCoins instead of mutable GetCoins. (Pieter Wuille)
| * Get rid of the dummy CCoinsViewCache constructor argPieter Wuille2014-09-241-2/+2
| |
| * Use ModifyCoins instead of mutable GetCoins.Pieter Wuille2014-09-231-10/+8
| | | | | | | | | | | | | | | | | | Replace the mutable non-copying GetCoins method with a ModifyCoins, which returns an encapsulated iterator, so we can keep track of concurrent modifications (as iterators can be invalidated by those) and run cleanup code after a modification is finished. This also removes the overloading of the 'GetCoins' name.
* | Merge pull request #5047Wladimir J. van der Laan2014-10-071-1/+4
|\ \ | | | | | | | | | 3e61eb9 minor txindex documentation improvement (Cozz Lovan)