aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoin-tx.cpp
Commit message (Collapse)AuthorAgeFilesLines
* really s/doge/dis/g this timeTomo Ueda2021-09-021-3/+3
|
* Introduce basic Dogecoin brandingRoss Nicoll2019-03-251-3/+3
|
* bitcoin-tx: Fix missing range checkAwemany2017-03-311-0/+6
| | | | | | | | | | | | | | | The number of arguments is not checked MutateTxAddOutAddr(..), meaning that > ./bitcoin-tx -create outaddr= accessed the vStrInputParts vector beyond its bounds. This also includes work by jnewbery to check the inputs for MutateTxAddPubKey() Github-Pull: #10130 Rebased-From: eb66bf9bdd5ae20c546314eb2c494ac09929970f
* Merge #8883: Add all standard TXO types to bitcoin-txWladimir J. van der Laan2017-01-121-31/+164
|\ | | | | | | | | | | | | 0c50909 testcases: explicitly specify transaction version 1 (John Newbery) b7e144b Add test cases to test new bitcoin-tx functionality (jnewbery) 61a1534 Add all transaction output types to bitcoin-tx. (jnewbery) 1814b08 add p2sh and segwit options to bitcoin-tx outscript command (Stanislas Marion)
| * Add all transaction output types to bitcoin-tx.jnewbery2016-12-291-37/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit enhances bitcoin-tx so all remaining standard TXO types can be created: - Pay to Pub Key - Multi-sig - bare multi-sig - multi-sig in Pay To Script Hash - multi-sig in Pay to Witness Script Hash - multi-sig in Pay to Witness Script Hash, wrapped in P2SH - Pay to Witness Pub Key Hash - Pay to Witness Pub Key Hash, wrapped in P2SH - Pay to Witness Script Hash - Pay to Witness Script Hash, wrapped in P2SH
| * add p2sh and segwit options to bitcoin-tx outscript commandStanislas Marion2016-12-291-8/+18
| |
* | Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
|/ | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Introduce (and use) an IsArgSet accessor methodMatt Corallo2016-12-231-1/+1
|
* Move CTxInWitness inside CTxInPieter Wuille2016-12-041-1/+1
|
* Make DecodeHexTx return a CMutableTransactionPieter Wuille2016-12-021-4/+2
|
* Removed using namespace std from bitcoin-cli/-tx and added std:: in ↵Karl-Johan Alm2016-11-251-96/+94
| | | | appropriate places.
* Merge #8837: allow bitcoin-tx to parse partial transactionsWladimir J. van der Laan2016-11-211-1/+1
|\ | | | | | | 7451cf5 Allow bitcoin-tx to parse partial transactions (jnewbery)
| * Allow bitcoin-tx to parse partial transactionsjnewbery2016-11-041-1/+1
| | | | | | | | Restore pre V0.13.1 functionality to bitcoin-tx and allow it to parse 0-input partial transactions.
* | Missed one "return false" in recent refactoring in #9067UdjinM62016-11-101-1/+1
| |
* | Fix exit codes:UdjinM62016-11-041-5/+15
|/ | | | | | | - `--help`, `--version` etc should exit with `0` i.e. no error ("not enough args" case should still trigger an error) - error reading config file should exit with `1` Slightly refactor AppInitRPC/AppInitRawTx to return standard exit codes (EXIT_FAILURE/EXIT_SUCCESS) or CONTINUE_EXECUTION (-1)
* Sync bitcoin-tx with tx version policyBtcDrak2016-10-161-1/+1
|
* C++11: s/boost::scoped_ptr/std::unique_ptr/Jorge Timón2016-09-011-1/+1
|
* Remove unused variablesMarcoFalke2016-08-251-3/+1
|
* [RPC] signrawtransaction can sign P2WSHNicolasDorier2016-06-221-1/+1
|
* BIP143: Signing logicPieter Wuille2016-06-221-6/+22
|
* BIP141: Other consensus critical limits, and BIP145Pieter Wuille2016-06-221-1/+1
| | | | Includes changes by Suhas Daftuar, Luke-jr, and mruddy.
* BIP143: Verification logicPieter Wuille2016-06-221-1/+1
| | | | Includes simplifications by Eric Lombrozo.
* Refactor script validation to observe amountsPieter Wuille2016-06-221-1/+2
| | | | This is a preparation for BIP143 support.
* BIP141: Witness programPieter Wuille2016-06-221-1/+1
|
* [Bitcoin-Tx] fix missing test fixtures, fix 32bit atoi issueJonas Schnelli2016-06-071-1/+1
|
* [bitcoin-tx] allow to set nSequence number over the in= commandJonas Schnelli2016-04-271-8/+13
|
* Merge branch 'master' into single_prodnameLuke Dashjr2016-02-031-1/+1
|\
| * Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
| |
* | Unify package name to as few places as possible without major changesLuke Dashjr2015-12-141-1/+5
|/
* Switch to libsecp256k1-based validation for ECDSAPieter Wuille2015-11-151-2/+8
|
* constify missing catch casesPhilip Kaufmann2015-10-271-1/+1
| | | | - ensure all missing catch cases are constant where possible
* Merge pull request #6846Wladimir J. van der Laan2015-10-221-1/+1
|\ | | | | | | 3cb56f3 *: alias -h for --help (Daniel Cousens)
| * *: alias -h for --helpDaniel Cousens2015-10-221-1/+1
| |
* | Merge pull request #6235Wladimir J. van der Laan2015-10-201-4/+5
|\ \ | |/ |/| | | | | 55a8975 Chainparams: Translations: DRY: options and error strings (Jorge Timón) f3525e2 Chainparams: Replace CBaseChainParams::Network enum with string constants (suggested by Wladimir) (Jorge Timón)
| * Chainparams: Translations: DRY: options and error stringsJorge Timón2015-10-201-4/+5
| | | | | | | | Also remove SelectBaseParamsFromCommandLine and SelectParamsFromCommandLine
* | [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-2/+2
|\ \ | |/ |/| | | 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-2/+2
| | | | | | | | | | 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 support for data-based outputs (OP_RETURN) to bitcoin-tx.Pavel Janík2015-08-061-0/+32
|/
* Avoid leaking file descriptors in RegisterLoadCasey Rodarmor2015-07-281-3/+4
| | | | | This is pretty trivial, but if there's an error here we'll leak a file descriptor. Changed it to always close the file.
* Policy: MOVEONLY: Create policy/policy.h with some constantsJorge Timón2015-06-261-0/+1
|
* UniValue: prefer .size() to .count(), to harmonize w/ existing treeJeff Garzik2015-06-041-2/+2
|
* Merge pull request #6047Wladimir J. van der Laan2015-05-061-1/+12
|\ | | | | | | | | a56054b Update key.cpp to use new libsecp256k1 (Pieter Wuille) a591d98 Squashed 'src/secp256k1/' changes from 1897b8e..22f60a6 (Pieter Wuille)
| * Update key.cpp to use new libsecp256k1Pieter Wuille2015-05-041-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libsecp256k1's API changed, so update key.cpp to use it. Libsecp256k1 now has explicit context objects, which makes it completely thread-safe. In turn, keep an explicit context object in key.cpp, which is explicitly initialized destroyed. This is not really pretty now, but it's more efficient than the static initialized object in key.cpp (which made for example bitcoin-tx slow, as for most of its calls, libsecp256k1 wasn't actually needed). This also brings in the new blinding support in libsecp256k1. By passing in a random seed, temporary variables during the elliptic curve computations are altered, in such a way that if an attacker does not know the blind, observing the internal operations leaks less information about the keys used. This was implemented by Greg Maxwell.
* | Merge pull request #6022Wladimir J. van der Laan2015-04-301-2/+0
|\ \ | | | | | | | | | b74dcb3 Separate CTranslationInterface from CClientUIInterface (Jorge Timón)
| * | Separate CTranslationInterface from CClientUIInterfaceJorge Timón2015-04-161-2/+0
| |/
* / Consensus: Create consensus/consensus.h with some constantsjtimon2015-04-201-4/+4
|/
* Help messages correctly formatted (79 chars)Luca Venturini2015-03-101-27/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | Help messages are formatted programmatically with FormatParagraph in order not to break existing strings in Transifex. The new format works even if the translation of the strings modifies the lenght of the message. Sqashed 6 commits in a single one. Help messages correctly formatted for SVGA text mode (132 chars) Help messages are formatted programmatically with FormatParagraph in order not to break existing strings in Transifex. The new format should work even if the translation of the strings modifies the lenght of the message. Fix - syntax error Correct formatting for 79 chars Correctly based on C++ functions Removed spare spaces from option strings Fix - syntax error
* Avoid storing a reference passed to SignatureChecker constructorsPieter Wuille2015-02-021-1/+1
|
* Use separate SignatureChecker for CMutableTransactionPieter Wuille2015-02-021-1/+1
|