aboutsummaryrefslogtreecommitdiff
path: root/src/core_read.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fail in DecodeHexTx if there is extra data at the endMatt Corallo2017-02-021-0/+2
|
* Refactor: Remove using namespace <xxx> from src/*.cpp.Karl-Johan Alm2017-01-271-16/+14
|
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Make DecodeHexTx return a CMutableTransactionPieter Wuille2016-12-021-1/+1
|
* BIP144: Serialization, hashes, relay (sender side)Pieter Wuille2016-06-221-1/+15
| | | | | | Contains refactorings by Eric Lombrozo. Contains fixup by Nicolas Dorier. Contains cleanup of CInv::GetCommand by Alex Morcos
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* [Univalue] add univalue over subtreeJonas Schnelli2015-10-011-1/+1
| | | | similar to secp256k1 include and compile univalue over a subtree
* use const references where appropriatePhilip Kaufmann2015-06-041-1/+1
|
* namespace: drop most boost namespaces and a few header cleanupsCory Fields2015-01-021-7/+6
| | | | A few boost::asio were left around because they're very wordy otherwise.
* namespace: remove boost namespace pollutionCory Fields2015-01-021-1/+0
|
* Merge pull request #5499Wladimir J. van der Laan2014-12-311-0/+5
|\ | | | | | | 7f71813 Bugfix: prioritisetransaction: Do some basic sanity checking on txid (Luke Dashjr)
| * Bugfix: prioritisetransaction: Do some basic sanity checking on txidLuke Dashjr2014-12-171-0/+5
| | | | | | | | Besides giving a nicer error, this also prevents logging arbitrary data (which could have been used to exploit log readers) into debug.log
* | Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | | | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* | Merge pull request #5470Wladimir J. van der Laan2014-12-191-1/+1
|\ \ | | | | | | | | | 78253fc Remove references to X11 licence (Michael Ford)
| * | Remove references to X11 licenceMichael Ford2014-12-161-1/+1
| |/
* / make all catch() arguments constPhilip Kaufmann2014-12-171-2/+2
|/ | | | | | | - 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
* MOVEONLY: core/ -> primitives/Luke Dashjr2014-12-031-2/+2
|
* Abstract DecodeHexBlk and BIP22ValidationResult functions out of submitblockLuke Dashjr2014-11-181-0/+18
|
* MOVEONLY: Separate CTransaction and dependencies from corejtimon2014-10-271-1/+1
|
* boost: split stream classes out of serialize.hCory Fields2014-10-221-0/+1
| | | | serialization now has no dependencies.
* script: add a slew of includes all around and drop includes from script.hCory Fields2014-10-171-0/+2
| | | | Lots of files ended up with indirect includes from script.h.
* Merge pull request #4911Pieter Wuille2014-09-161-5/+6
|\ | | | | | | 611116d header include cleanup (Philip Kaufmann)
| * header include cleanupPhilip Kaufmann2014-09-141-5/+6
| | | | | | | | - ensures alphabetical ordering for includes etc. in source file headers
* | Fixing compiler warning C4101ENikS2014-09-151-1/+1
|/ | | | Github-Pull: #4856
* Move CScript class and dependencies to script/scriptjtimon2014-09-081-1/+1
|
* Rename script.h/.cpp to scriptutils.h/.cpp (plus remove duplicated includes)jtimon2014-09-081-1/+1
|
* 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
* add license header to core_io.h, core_read/_write.cppPhilip Kaufmann2014-08-011-0/+3
|
* fix compilation error in core_io.hPhilip Kaufmann2014-08-011-1/+0
| | | | | | - error: 'vector' in namespace 'std' does not name a type - add <vector> include in core_io.h - remove <vector> includes from core_read.cpp and core_write.cpp
* Add "bitcoin-tx" command line utility and supporting modules.Jeff Garzik2014-07-291-0/+25
| | | | | | | | | | | | | 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.
* core_read's ParseScript(): minor cleanupsCory Fields2014-07-291-12/+12
| | | | | | - use .empty() rather than .size() == 0 - use a const_iterator rather than BOOST_FOREACH - validate iterators before creating a string from them
* Move ParseScript() helper, becoming accessible outside src/test/Jeff Garzik2014-07-291-0/+77
|
* Consolidate CTransaction hex encode/decode into core_io.h, core_{read,write}.cppJeff Garzik2014-07-291-0/+25