aboutsummaryrefslogtreecommitdiff
path: root/src/test
AgeCommit message (Collapse)Author
2016-09-08net: Create CConnman to encapsulate p2p connectionsCory Fields
2016-09-08Merge #8671: Minimal fix to slow prevector tests as stopgap measureMarcoFalke
f71d4a3 Minimal fix to slow prevector tests as stopgap measure (Jeremy Rubin)
2016-09-06Fix obvious assignment/equality error in testJeremy Rubin
2016-09-06Minimal fix to slow prevector tests as stopgap measureJeremy Rubin
2016-09-02Merge #8449: [Trivial] Do not shadow local variable, cleanupWladimir J. van der Laan
a159f25 Remove redundand (and shadowing) declaration (Pavel Janík) cce3024 Do not shadow local variable, cleanup (Pavel Janík)
2016-09-02Merge #8629: C++11: s/boost::scoped_ptr/std::unique_ptr/Wladimir J. van der Laan
cdd79eb C++11: s/boost::scoped_ptr/std::unique_ptr/ (Jorge Timón)
2016-09-01C++11: s/boost::scoped_ptr/std::unique_ptr/Jorge Timón
2016-09-01Merge #8524: Precompute sighashesPieter Wuille
35fe039 Rename to PrecomputedTransactionData (Pieter Wuille) ab48c5e Unit test for sighash caching (Nicolas DORIER) d2c5d04 Precompute sighashes (Pieter Wuille)
2016-08-26Rename to PrecomputedTransactionDataPieter Wuille
2016-08-25Merge #8578: [test] Remove unused codeMarcoFalke
fa1cf9e [test] Remove unused code (MarcoFalke)
2016-08-24[test] Remove unused codeMarcoFalke
2016-08-23Added feeler connections increasing good addrs in the tried table.Ethan Heilman
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.
2016-08-16Unit test for sighash cachingNicolas DORIER
2016-08-16Precompute sighashesPieter Wuille
Original version by Nicolas Dorier. Precomputing version by Pieter Wuille.
2016-08-15Merge #8270: Tests: Use portable #! in python scripts (/usr/bin/env)MarcoFalke
7b01ce2 Favour python over python2 as per PR #7723 (Matthew King) 873e81f Use portable #! in python scripts (/usr/bin/env) (Matthew King)
2016-08-15Merge #8128: Net: Turn net structures into dumb storage classesWladimir J. van der Laan
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)
2016-08-05Remove redundand (and shadowing) declarationPavel Janík
2016-08-04net: Have LookupNumeric return a CService directlyCory Fields
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
2016-08-04Merge #8392: Fix several node initialization issuesWladimir J. van der Laan
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)
2016-08-03Merge #8428: Update README.md inside of src/test/Wladimir J. van der Laan
b8db185 Update README.md (Chris Stewart)
2016-08-02Merge #8418: Add tests for compact blocksWladimir J. van der Laan
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)
2016-07-31net: narrow include scope after moving to netaddressCory Fields
Net functionality is no longer needed for CAddress/CAddrman/etc. now that CNetAddr/CService/CSubNet are dumb storage classes.
2016-07-31net: Add direct tests for new CSubNet constructorsCory Fields
2016-07-31net: Split resolving out of CSubNetCory Fields
2016-07-31Update README.mdChris Stewart
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
2016-07-31net: Split resolving out of CServiceCory Fields
2016-07-31net: Split resolving out of CNetAddrCory Fields
2016-07-30Use a signal to continue init after genesis activationPieter Wuille
2016-07-29Implement SipHash in PythonPieter Wuille
2016-07-28Enable size accounting in mining unit testsSuhas Daftuar
2016-07-14Merge #8311: Rename CTxinWitness -> CTxInWitnessWladimir J. van der Laan
36ae37a Rename CTxinWitness -> CTxInWitness (Bob McElrath)
2016-07-08Merge #7540: Rename OP_NOP3 to OP_CHECKSEQUENCEVERIFYWladimir J. van der Laan
18c975c Rename NOP3 to CHECSEQUENCEVERIFY in rpc tests (BtcDrak) 14d0130 Rename OP_NOP3 to OP_CHECKSEQUENCEVERIFY (BtcDrak)
2016-07-06Rename CTxinWitness -> CTxInWitnessBob McElrath
2016-07-06Merge #8275: Remove bad chain alert partition checkWladimir J. van der Laan
ab8be98 Remove bad chain alert partition check (BtcDrak)
2016-06-28Rename OP_NOP3 to OP_CHECKSEQUENCEVERIFYBtcDrak
2016-06-26Use portable #! in python scripts (/usr/bin/env)Matthew King
2016-06-22[qa] Add GetTransactionSigOpCost unit testsJonas Nick
2016-06-22[qa] script_tests: witness tests can specify tx amountSuhas Daftuar
Add tests that witness signatures cover value
2016-06-22[qa] p2p segwit testsSuhas Daftuar
mininode now supports witness transactions/blocks, blocktools has a helper for adding witness commitments to blocks, and script has a function to calculate hashes for signature under sigversion 1, used by segwit. Py3 conversion by Marco Falke Test to make sure upgraded nodes don't ask for non-wit blocks by Gregory Sanders.
2016-06-22[qa] Autogeneration support for witness in script_testsPieter Wuille
2016-06-22[qa] Add segwit support to script_testsPieter Wuille
Contains fix by Johnson Lau.
2016-06-22[qa] Add transaction tests for segwitNicolasDorier
Including BIP143 P2WSH examples by jl2012.
2016-06-22[qa] Witness version 0 signing unit testsPieter Wuille
2016-06-22BIP143: Signing logicPieter Wuille
2016-06-22[libconsensus] Script verification API with amountsThomas Kerin
script_tests: always test bitcoinconsensus_verify_script_with_amount if VERIFY_WITNESS isn't set Rename internal method + make it static trim bitcoinconsensus_ prefix Add SERIALIZE_TRANSACTION_WITNESS flag
2016-06-22BIP141: Other consensus critical limits, and BIP145Pieter Wuille
Includes changes by Suhas Daftuar, Luke-jr, and mruddy.
2016-06-22BIP143: Verification logicPieter Wuille
Includes simplifications by Eric Lombrozo.
2016-06-22Refactor script validation to observe amountsPieter Wuille
This is a preparation for BIP143 support.
2016-06-22BIP141: Witness programPieter Wuille
2016-06-22BIP144: Serialization, hashes, relay (sender side)Pieter Wuille
Contains refactorings by Eric Lombrozo. Contains fixup by Nicolas Dorier. Contains cleanup of CInv::GetCommand by Alex Morcos