Matt Corallo
4d46da20ea
Update debian/
2013-12-27 22:09:37 -08:00
Matt Corallo
eacc6f4a26
Add a few more basic script/tx test-cases.
2013-11-08 12:34:12 -05:00
Matt Corallo
338d24bb00
Skip comparison tool on win32 since Wine breaks it
2013-11-04 00:40:39 -05:00
Matt Corallo
b2b7bf4bf9
Missed an RPC port
2013-10-28 03:53:35 -04:00
Matt Corallo
f1f72e535c
Fix port binding by listening on port $BASHPID
2013-10-28 03:43:09 -04:00
Matt Corallo
a18a408067
Run block tester and test suite on Windows too (only on Jenkins)
2013-10-28 03:20:12 -04:00
Matt Corallo
473eabada2
Gracefully handle the case when a DISTDIR already exists
2013-10-28 03:12:14 -04:00
Matt Corallo
a27253dc00
pull-tester.py: Re-enable coverage msg, new args to run test script
2013-10-28 01:22:07 -04:00
Matt Corallo
47b9374e39
Make large-reorg tests optional in block-tester
2013-10-28 01:16:41 -04:00
Matt Corallo
95fa14da69
Re-enable BitcoindComparisonTool:
...
* Use the latest version, with limited memory usage, and path to
on-disk db (try mouting qa/tmp on a tmpfs)\
* enable -debug=net
* re-enable BitcoindComparisonTool in pull-tester
2013-10-27 03:38:04 -04:00
Matt Corallo
b33b9a6fef
Fix comparison tool by asking for blocks more aggressively
2013-10-27 02:23:36 -04:00
Matt Corallo
9085c8c7c3
Update contrib/debian: proper desktop category and update changelog
2013-09-17 22:41:46 -04:00
Matt Corallo
55ed3f1475
Don't warn about forks while fIsInitialDownload
2013-09-03 22:22:13 -04:00
Matt Corallo
9bf2a4aba2
Fix multi-block reorg transaction resurrection
2013-07-23 18:02:27 +02:00
Matt Corallo
d9ace8abe8
Don't use checkpoints and accept nonstd txn on -regtest
2013-07-23 18:02:26 +02:00
Matt Corallo
f65e7092a2
Better warning/"alert" messages for large-work forks.
2013-07-22 12:12:45 +02:00
Matt Corallo
f89faa2584
Call the -alertnotify script when we see a long or invalid fork.
2013-07-22 12:11:46 +02:00
Matt Corallo
b8585384da
Detect any sufficiently long fork and add a warning.
...
Such a fork is defined as being at least 7 blocks long and
having a tip which is within 72 blocks of our best block.
2013-07-22 12:10:57 +02:00
Matt Corallo
87cce04c17
Refactor fee rules to make them actually readable.
...
This (nearly) doesn't change fee rules at all:
* To make it into the fee transaction area, the dPriority comparison
changed from < to <=
* We now just ignore transactions > MAX_BLOCK_SIZE/4 instead of
doing some calculations to require increasingly large fees as
size increases.
2013-06-14 13:37:43 +02:00
Matt Corallo
b1f15b218b
Remove broken option to skip input checking for wallet txn.
2013-06-13 22:28:03 +02:00
Matt Corallo
14c12b094b
Add new data-driven test-case.
2013-06-02 20:51:01 +02:00
Matt Corallo
e175c16f5b
Add a few data-driven tests for SIGHASH_ANYONECANPAY
2013-05-21 18:16:43 +02:00
Matt Corallo
84db464b10
Add test patches for pull-tester to contrib/
2013-04-11 18:07:22 -04:00
Matt Corallo
0add26da4d
Fix leveldb make flags.
2013-04-03 22:41:50 -04:00
Matt Corallo
b5afda67f2
Move mapAlreadyAskedFor to limitedmap
...
This will result in re-requesting invs if we are under heavy inv
load, however as long as we get no more than 16,000 invs in two
minutes, this should have no effect on runtime behavior.
2013-04-01 11:56:23 -04:00
Matt Corallo
5ffc299404
Add a limitedmap class similar to mruset
2013-04-01 11:56:22 -04:00
Matt Corallo
eb59c4ca8e
Revert "Actually use mapAlreadyAskedFor."
...
This reverts commit 643160f6e7 .
Turns out this commit was useless after a more careful reading of
CNode::AskFor
2013-04-01 11:56:22 -04:00
Matt Corallo
6a1d6e03da
Add a new testnet dnsseed (currently only static list, will update)
2013-03-24 20:02:18 -04:00
Matt Corallo
97372c2d22
Update contrib/debian (including IRC removal)
2013-03-24 20:02:18 -04:00
Matt Corallo
c2efd981aa
(finally) Remove IRC Seed support now that lfnet is down.
2013-03-24 19:38:19 -04:00
Matt Corallo
cbfc77352d
Short-circuit bloom checking if we will always return true.
...
This allows full nodes to use bloom filters as an optimization.
2013-02-24 20:36:59 -05:00
Matt Corallo
67a11bd6c5
Add a getaddednodeinfo RPC.
2013-01-27 03:03:04 -05:00
Matt Corallo
72a348fd9a
Add addnode RPC command.
2013-01-27 03:03:04 -05:00
Matt Corallo
192cc910ec
Replace 520 constant with MAX_SCRIPT_ELEMENT_SIZE
2013-01-18 13:55:18 -05:00
Matt Corallo
28b80e6065
Send transactions after a CMerkleBlock when asked for it in an inv.
...
This actually simplifies some SPV code, as they can keep track of
a filtered block and its txn before accepting both in one step.
The previous argument was that SPV nodes should handle the txn the
same as any other free txn and then mark them as connected to a
block when they get the filtered block itself. However, it now
appears that SPV nodes will need to put in more effort to verify
loose txn than they would to verify txn in blocks, thus making it
more approriate to send the txn after the filtered block.
2013-01-18 12:16:39 -05:00
Matt Corallo
c51694eb9b
Filter mempool command
2013-01-16 14:34:06 -05:00
Matt Corallo
e1a4f3778c
Add nFlags to CBloomFilter to make filter updating optional.
2013-01-16 14:34:06 -05:00
Matt Corallo
21aaf255ff
Use CPartialMerkleTree for CMerkleBlock transactions.
2013-01-16 14:34:06 -05:00
Matt Corallo
b1f99bed6f
Add a nTweak to bloom filters to tweak the seed.
2013-01-16 12:48:02 -05:00
Matt Corallo
4c8fc1a588
Let a node opt out of tx invs before we get a their bloom filter
...
Note that the default value for fRelayTxes is false, meaning we
now no longer relay tx inv messages before receiving the remote
peer's version message.
2013-01-16 12:48:02 -05:00
Matt Corallo
b02ddbedcb
Relay CMerkleBlocks when asked for MSG_FILTERED_BLOCK
2013-01-16 12:48:02 -05:00
Matt Corallo
2878c67cb5
Add test cases for CMerkleBlock and CBloomFilter.
2013-01-16 12:48:02 -05:00
Matt Corallo
9fb106e757
Add a CMerkleBlock to store merkle branches of filtered txes.
2013-01-16 12:48:02 -05:00
Matt Corallo
587f0f855e
Add a CBlock.GetBlockHeader
2013-01-16 12:48:02 -05:00
Matt Corallo
d3b26f7077
Automatically add any matching outputs to a filter during matching.
2013-01-16 12:48:02 -05:00
Matt Corallo
269d9c6492
Replace RelayMessage with RelayTransaction.
2013-01-16 12:48:02 -05:00
Matt Corallo
422d122537
Add a filter field in CNode, add filterload+filteradd+filterclear
2013-01-16 12:48:02 -05:00
Matt Corallo
133a546074
Bump PROTOCOL_VERSION for filter messages.
2013-01-16 12:48:02 -05:00
Matt Corallo
bd21612c37
Add a CBloomFilter class for use as a transaction filter.
2013-01-16 12:48:01 -05:00
Matt Corallo
7ab026f449
Add MurmurHash3 implementation to hash.h/add hash.cpp.
2013-01-16 12:48:01 -05:00
Matt Corallo
68feac96b6
Add const versions of base_uint.end()/begin(), make size() const.
2013-01-16 12:48:01 -05:00
Matt Corallo
b478337312
Undo bad gitian update.
2012-10-29 16:36:25 -04:00
Matt Corallo
38fe2e6a68
Add missing calls to ranlib in Windows makefiles
2012-10-29 15:43:18 -04:00
Matt Corallo
325a064c68
Upgrade to Qt 4.8.3 (because 4.8.2 was removed from qt repos?)
2012-10-29 15:43:18 -04:00
Matt Corallo
f53b125507
Fix linux-mingw makefile's leveldb build by setting CXX.
2012-10-29 15:43:17 -04:00
Matt Corallo
3b4f8ad71d
Use && instead of ; in leveldb calls to makefile.
2012-10-29 15:43:17 -04:00
Matt Corallo
65786afb05
Add various tests for CTransaction::CheckTransaction()
2012-09-05 22:33:59 -04:00
Matt Corallo
1fcebc16c5
check tx.CheckTransaction for data-driven tx tests.
...
(and change so that only one case has to fail to make a tx_invalid
test correct)
2012-09-05 22:33:59 -04:00
Matt Corallo
a1755ec426
Upgrade to Boost 1.50
2012-08-27 14:20:56 -04:00
Matt Corallo
da9e86c3b6
Allow setting a different linker than compiler in makefile.unix
2012-08-20 12:12:41 -04:00
Matt Corallo
8555a3e3cc
Remove useless non-cross-platform tests.
2012-08-17 12:40:09 -04:00
Matt Corallo
c5f90cd88b
Fix test_bitcoin build in makefile.linux-mingw
2012-08-08 00:20:48 +02:00
Matt Corallo
2bc15836be
Fix Qt test cases by moving address checks to parseBitcoinURI
...
Makes sense in case bitcoin URIs eventually allow invalid addresses
as a part of some larger future payment scheme.
2012-08-07 19:37:02 +02:00
Matt Corallo
319236afa2
Fix Win32 compiling of qt/test/uritests.cpp
2012-08-07 19:36:59 +02:00
Matt Corallo
026594e269
Return !0 when qt tests fail.
2012-08-07 19:36:54 +02:00