aboutsummaryrefslogtreecommitdiff
path: root/src/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | | add verbose mode to bitcoin-util-test.pyjnewbery2016-10-053-30/+65
|/ /
* | Merge #8830: [test] Add option to run bitcoin-util-test.py manuallyWladimir J. van der Laan2016-09-302-3/+27
|\ \ | | | | | | | | | b82f493 Add option to run bitcoin-util-test.py manually (jnewbery)
| * | Add option to run bitcoin-util-test.py manuallyjnewbery2016-09-292-3/+27
| | |
* | | bitcoin-util-test.py should fail if the output file is emptyjnewbery2016-09-292-0/+22
|/ /
* | Merge #8829: Add bitcoin-tx JSON testsMarcoFalke2016-09-2912-1/+997
|\ \ | | | | | | | | | 54e5d7c Add bitcoin-tx JSON tests (jnewbery)
| * | Add bitcoin-tx JSON testsjnewbery2016-09-2812-1/+997
| | |
* | | Add policy: null signature for failed CHECK(MULTI)SIGJohnson Lau2016-09-273-1/+34
| | |
* | | Merge #8526: Make non-minimal OP_IF/NOTIF argument non-standard for P2WSHWladimir J. van der Laan2016-09-273-1/+86
|\ \ \ | |/ / |/| | | | | c72c5b1 Make non-minimal OP_IF/NOTIF argument non-standard for P2WSH (Johnson Lau)
| * | Make non-minimal OP_IF/NOTIF argument non-standard for P2WSHJohnson Lau2016-09-233-1/+86
| | |
* | | Do not shadow variablesPavel Janík2016-09-273-16/+16
| | |
* | | [test] Remove redundant print in addrman_testsMarcoFalke2016-09-221-3/+2
|/ /
* | Move static global randomizer seeds into CConnmanPieter Wuille2016-09-193-7/+7
| |
* | net: Pass best block known height into CConnmanCory Fields2016-09-082-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CConnman then passes the current best height into CNode at creation time. This way CConnman/CNode have no dependency on main for height, and the signals only move in one direction. This also helps to prevent identity leakage a tiny bit. Before this change, an attacker could theoretically make 2 connections on different interfaces. They would connect fully on one, and only establish the initial connection on the other. Once they receive a new block, they would relay it to your first connection, and immediately commence the version handshake on the second. Since the new block height is reflected immediately, they could attempt to learn whether the two connections were correlated. This is, of course, incredibly unlikely to work due to the small timings involved and receipt from other senders. But it doesn't hurt to lock-in nBestHeight at the time of connection, rather than letting the remote choose the time.
* | net: move nLocalServices/nRelevantServices to CConnmanCory Fields2016-09-082-6/+6
| | | | | | | | | | These are in-turn passed to CNode at connection time. This allows us to offer different services to different peers (or test the effects of doing so).
* | net: move nLastNodeId to CConnmanCory Fields2016-09-082-6/+9
| |
* | net: move ban and addrman functions into CConnmanCory Fields2016-09-081-14/+14
| |
* | net: handle nodesignals in CConnmanCory Fields2016-09-081-0/+4
| |
* | net: Pass CConnman around as neededCory Fields2016-09-083-9/+9
| |
* | net: Create CConnman to encapsulate p2p connectionsCory Fields2016-09-082-0/+8
| |
* | Merge #8671: Minimal fix to slow prevector tests as stopgap measureMarcoFalke2016-09-081-19/+43
|\ \ | | | | | | | | | f71d4a3 Minimal fix to slow prevector tests as stopgap measure (Jeremy Rubin)
| * | Minimal fix to slow prevector tests as stopgap measureJeremy Rubin2016-09-061-19/+43
| | |
* | | Fix obvious assignment/equality error in testJeremy Rubin2016-09-061-1/+1
|/ /
* | Merge #8449: [Trivial] Do not shadow local variable, cleanupWladimir J. van der Laan2016-09-021-1/+0
|\ \ | | | | | | | | | | | | a159f25 Remove redundand (and shadowing) declaration (Pavel Janík) cce3024 Do not shadow local variable, cleanup (Pavel Janík)
| * | Remove redundand (and shadowing) declarationPavel Janík2016-08-051-1/+0
| | |
* | | Merge #8629: C++11: s/boost::scoped_ptr/std::unique_ptr/Wladimir J. van der Laan2016-09-021-3/+3
|\ \ \ | | | | | | | | | | | | cdd79eb C++11: s/boost::scoped_ptr/std::unique_ptr/ (Jorge Timón)
| * | | C++11: s/boost::scoped_ptr/std::unique_ptr/Jorge Timón2016-09-011-3/+3
| | | |
* | | | Merge #8524: Precompute sighashesPieter Wuille2016-09-012-4/+89
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | 35fe039 Rename to PrecomputedTransactionData (Pieter Wuille) ab48c5e Unit test for sighash caching (Nicolas DORIER) d2c5d04 Precompute sighashes (Pieter Wuille)
| * | | Rename to PrecomputedTransactionDataPieter Wuille2016-08-262-8/+8
| | | |
| * | | Unit test for sighash cachingNicolas DORIER2016-08-161-0/+81
| | | |
| * | | Precompute sighashesPieter Wuille2016-08-162-4/+8
| | | | | | | | | | | | | | | | Original version by Nicolas Dorier. Precomputing version by Pieter Wuille.
* | | | Merge #8578: [test] Remove unused codeMarcoFalke2016-08-254-23/+2
|\ \ \ \ | | | | | | | | | | | | | | | fa1cf9e [test] Remove unused code (MarcoFalke)
| * | | | [test] Remove unused codeMarcoFalke2016-08-244-23/+2
| |/ / /
* / / / Added feeler connections increasing good addrs in the tried table.Ethan Heilman2016-08-231-0/+22
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Tests if addresses are online or offline by briefly connecting to them. These short lived connections are referred to as feeler connections. Feeler connections are designed to increase the number of fresh online addresses in tried by selecting and connecting to addresses in new. One feeler connection is attempted on average once every two minutes. This change was suggested as Countermeasure 4 in Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman, Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report 2015/263. March 2015.
* | | Merge #8270: Tests: Use portable #! in python scripts (/usr/bin/env)MarcoFalke2016-08-152-2/+2
|\ \ \ | | | | | | | | | | | | | | | | 7b01ce2 Favour python over python2 as per PR #7723 (Matthew King) 873e81f Use portable #! in python scripts (/usr/bin/env) (Matthew King)
| * | | Use portable #! in python scripts (/usr/bin/env)Matthew King2016-06-262-2/+2
| | | |
* | | | Merge #8128: Net: Turn net structures into dumb storage classesWladimir J. van der Laan2016-08-153-194/+262
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e9d644 net: fixup nits (Cory Fields) 8945384 net: Have LookupNumeric return a CService directly (Cory Fields) 21ba407 net: narrow include scope after moving to netaddress (Cory Fields) 21e5b96 net: move CNetAddr/CService/CSubNet out of netbase (Cory Fields) 1017b8a net: Add direct tests for new CSubNet constructors (Cory Fields) b6c3ff3 net: Split resolving out of CSubNet (Cory Fields) f96c7c4 net: Split resolving out of CService (Cory Fields) 31d6b1d net: Split resolving out of CNetAddr (Cory Fields)
| * | | | net: Have LookupNumeric return a CService directlyCory Fields2016-08-041-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fix up a few small issues: - Lookup with "badip:port" now sets the port to 0 - Don't allow assert to have side-effects
| * | | | net: narrow include scope after moving to netaddressCory Fields2016-07-312-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Net functionality is no longer needed for CAddress/CAddrman/etc. now that CNetAddr/CService/CSubNet are dumb storage classes.
| * | | | net: Add direct tests for new CSubNet constructorsCory Fields2016-07-311-1/+15
| | | | |
| * | | | net: Split resolving out of CSubNetCory Fields2016-07-311-71/+78
| | | | |
| * | | | net: Split resolving out of CServiceCory Fields2016-07-312-51/+68
| | | | |
| * | | | net: Split resolving out of CNetAddrCory Fields2016-07-313-95/+125
| | | | |
* | | | | Merge #8392: Fix several node initialization issuesWladimir J. van der Laan2016-08-041-0/+5
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | 9d4eb9a Do diskspace check before import thread is started (Pieter Wuille) aa59f2e Add extra message to avoid a long 'Loading banlist' (Pieter Wuille) 0fd2a33 Use a signal to continue init after genesis activation (Pieter Wuille)
| * | | | Use a signal to continue init after genesis activationPieter Wuille2016-07-301-0/+5
| |/ / /
* | | | Merge #8428: Update README.md inside of src/test/Wladimir J. van der Laan2016-08-031-12/+9
|\ \ \ \ | | | | | | | | | | | | | | | b8db185 Update README.md (Chris Stewart)
| * | | | Update README.mdChris Stewart2016-07-311-12/+9
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating documentation for adding new unit test files Removing unneeded sentence from README Removing uint160_tests.cpp as it DNE Formatting command line instructions to use `` fixing 80 char formatting issue in README fixing more nits
* | | | Merge #8418: Add tests for compact blocksWladimir J. van der Laan2016-08-021-0/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 45c7ddd Add p2p test for BIP 152 (compact blocks) (Suhas Daftuar) 9a22a6c Add support for compactblocks to mininode (Suhas Daftuar) a8689fd Tests: refactor compact size serialization in mininode (Suhas Daftuar) 9c8593d Implement SipHash in Python (Pieter Wuille) 56c87e9 Allow changing BIP9 parameters on regtest (Suhas Daftuar)
| * | | | Implement SipHash in PythonPieter Wuille2016-07-291-0/+4
| |/ / /
* / / / Enable size accounting in mining unit testsSuhas Daftuar2016-07-281-3/+1
|/ / /
* | | Merge #8311: Rename CTxinWitness -> CTxInWitnessWladimir J. van der Laan2016-07-141-7/+7
|\ \ \ | | | | | | | | | | | | 36ae37a Rename CTxinWitness -> CTxInWitness (Bob McElrath)