aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoin-tx.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4555Wladimir J. van der Laan2014-09-171-1/+1
|\ | | | | | | | | | | | | 6dcfda2 Don't pass nHashType to EvalScript nor CheckSig (jtimon) 2b23a87 Don't pass nHashType to VerifyScript (jtimon) ce3649fb Remove CScriptCheck::nHashType (was always 0) (jtimon) 358562b Remove unused function main:VerifySignature (jtimon)
| * Don't pass nHashType to VerifyScriptjtimon2014-09-121-1/+1
| |
* | Move CTxDestination from script/script to script/standardPieter Wuille2014-09-161-3/+2
| |
* | Merge pull request #4911Pieter Wuille2014-09-161-6/+7
|\ \ | | | | | | | | | 611116d header include cleanup (Philip Kaufmann)
| * | header include cleanupPhilip Kaufmann2014-09-141-6/+7
| |/ | | | | | | - ensures alphabetical ordering for includes etc. in source file headers
* / Bugfix: bitcoin-tx: scriptPubKey may be null, so accept outscript=<n>:Luke Dashjr2014-09-141-2/+1
|/
* Merge pull request #4822Pieter Wuille2014-09-101-3/+3
|\ | | | | | | 629d75f Combine CCoinsViewCache's HaveCoins and const GetCoins into AccessCoins. (Pieter Wuille)
| * Combine CCoinsViewCache's HaveCoins and const GetCoins into AccessCoins.Pieter Wuille2014-09-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | The efficient version of CCoinsViewCache::GetCoins only works for known-to-exist cache entries, requiring a separate HaveCoins call beforehand. This is inefficient as both perform a hashtable lookup. Replace the non-mutable GetCoins with AccessCoins, which returns a potentially-NULL pointer. This also decreases the overloading of GetCoins. Also replace some copying (inefficient) GetCoins calls with equivalent AccessCoins, decreasing the copying.
* | Separate script/signjtimon2014-09-081-1/+1
| |
* | Separate script/standardjtimon2014-09-081-0/+2
|/
* add missing header end commentsPhilip Kaufmann2014-08-281-1/+0
| | | | | | - ensures a consistent usage in header files - also add a blank line after the copyright header where missing - also remove orphan new-lines at the end of some files
* Split up util.cpp/hWladimir J. van der Laan2014-08-261-0/+1
| | | | | | | | | | | | | | | | Split up util.cpp/h into: - string utilities (hex, base32, base64): no internal dependencies, no dependency on boost (apart from foreach) - money utilities (parsesmoney, formatmoney) - time utilities (gettime*, sleep, format date): - and the rest (logging, argument parsing, config file parsing) The latter is basically the environment and OS handling, and is stripped of all utility functions, so we may want to rename it to something else than util.cpp/h for clarity (Matt suggested osinterface). Breaks dependency of sha256.cpp on all the things pulled in by util.
* bitcoin-tx: Accept input via stdin. Add input handling to tests.Jeff Garzik2014-08-191-2/+26
|
* bitcoin-tx: fix build warningsCory Fields2014-08-131-6/+6
| | | | | Cleans up a bunch of: warning: missing braces around initializer for ‘const<anonymous struct>’
* Add "bitcoin-tx" command line utility and supporting modules.Jeff Garzik2014-07-291-0/+597
This is a simple utility that provides command line manipulation of a hex-encoded TX. The utility takes a hex string on the command line as input, performs zero or more mutations, and outputs a hex string to standard output. This utility is also an intentional exercise of the "bitcoin library" concept. It is designed to require minimal libraries, and works entirely without need for any RPC or P2P communication. See "bitcoin-tx --help" for command and options summary.