Wladimir J. van der Laan
7f5d7e9d6d
Merge pull request #6086
...
d3c09ba
Trivial: useless cast (ptime)(I'm ptime) (svost)
2015-05-04 09:30:04 +02:00
Wladimir J. van der Laan
20b3dc85ed
qt: English translation update before enabling translation for 0.11
2015-05-04 08:09:37 +02:00
Wladimir J. van der Laan
00e76db8c2
Merge pull request #6085
...
b05a89b
Non-grammatical language improvements (Luke Dashjr)
7e6d23b
Bugfix: Grammar fixes (Corinne Dashjr)
2015-05-04 08:01:58 +02:00
Luke Dashjr
b05a89b2de
Non-grammatical language improvements
2015-05-02 15:23:59 +00:00
Pieter Wuille
8cf1485f3b
Abstract chaincodes into CChainCode
...
# Conflicts:
# src/key.cpp
# src/key.h
2015-05-02 11:17:16 +02:00
Jonas Schnelli
b3ffcdf916
don't imbue boost::filesystem::path with locale "C" on windows
...
fixes https://github.com/bitcoin/bitcoin/issues/6078
2015-05-01 13:32:25 +02:00
Corinne Dashjr
7e6d23b171
Bugfix: Grammar fixes
2015-05-01 11:21:27 +00:00
Cory Fields
a8cdaf5c96
checkpoints: move the checkpoints enable boolean into main
...
This pertains to app-state, so it doesn't make sense to handle inside the
checkpoint functions.
2015-04-30 23:14:48 -04:00
Cory Fields
11982d366d
checkpoints: Decouple checkpoints from Params
...
Pass checkpoint data in as necessary
2015-04-30 23:14:48 -04:00
Cory Fields
699682304f
checkpoints: make checkpoints a member of CChainParams
...
This drops the virtual call and simplifies the logic
2015-04-30 23:14:48 -04:00
Cory Fields
9f13a10548
checkpoints: store mapCheckpoints in CCheckpointData rather than a pointer
2015-04-30 23:14:08 -04:00
svost
d3c09ba67e
Trivial: useless cast (ptime)(I'm ptime)
2015-04-30 23:11:52 +03:00
Pieter Wuille
f46a680f42
Better mruset unit test
2015-04-30 08:16:30 -07:00
Pieter Wuille
d4d5022cfc
Use ring buffer of set iterators instead of deque of copies in mruset
2015-04-30 08:16:30 -07:00
Gavin Andresen
d81cff32e5
Replace mruset setAddrKnown with CRollingBloomFilter addrKnown
...
Use a probabilistic bloom filter to keep track of which addresses
we think we have given our peers, instead of a list.
This uses much less memory, at the cost of sometimes failing to
relay an address to a peer-- worst case if the bloom filter happens
to be as full as it gets, 1-in-1,000.
Measured memory usage of a full mruset setAddrKnown: 650Kbytes
Constant memory usage of CRollingBloomFilter addrKnown: 37Kbytes.
This will also help heap fragmentation, because the 37K of storage
is allocated when a CNode is created (when a connection to a peer
is established) and then there is no per-item-remembered memory
allocation.
I plan on testing by restarting a full node with an empty peers.dat,
running a while with -debug=addrman and -debug=net, and making sure
that the 'addr' message traffic out is reasonable.
(suggestions for better tests welcome)
2015-04-30 08:16:20 -07:00
Gavin Andresen
69a5f8be0a
Rolling bloom filter class
...
For when you need to keep track of the last N items
you've seen, and can tolerate some false-positives.
Rebased-by: Pieter Wuille <pieter.wuille@gmail.com>
2015-04-30 07:58:29 -07:00
Wladimir J. van der Laan
8a10000222
Merge pull request #6022
...
b74dcb3
Separate CTranslationInterface from CClientUIInterface (Jorge Timón)
2015-04-30 16:37:18 +02:00
Wladimir J. van der Laan
f026ab606d
Merge pull request #6059
...
739d615
chainparams: use SeedSpec6's rather than CAddress's for fixed seeds (Cory Fields)
2015-04-30 14:57:04 +02:00
Wladimir J. van der Laan
9c25397619
Merge pull request #6081
...
7f386d2
DragonFlyBSD thread renaming. (sinetek)
2015-04-29 19:08:33 +02:00
Jonas Schnelli
1a0259f7f0
add jonasschnellis dns seeder
2015-04-29 16:42:41 +02:00
Wladimir J. van der Laan
df1609f314
Merge pull request #6075
...
9fadf1c
Add additional script edge condition tests. (Dave Collins)
2015-04-29 15:56:30 +02:00
sinetek
7f386d2ff2
DragonFlyBSD thread renaming.
2015-04-29 20:04:34 +07:00
Wladimir J. van der Laan
23c998d811
Merge pull request #5511
...
e9c3215
[Wallet] sort pending wallet transactions before reaccepting (dexX7)
2015-04-29 09:52:39 +02:00
Wladimir J. van der Laan
948beaf190
Merge pull request #6074
...
d8f4cc3
Correct the PUSHDATA4 minimal encoding test. (Dave Collins)
2015-04-29 09:04:29 +02:00
Cory Fields
8b08d9530b
wallet: fix boost::get usage with boost 1.58
2015-04-28 11:45:10 -04:00
Pieter Wuille
7bf5d5efa6
Merge pull request #5918
...
f7303f9
Use equivalent PoW for non-main-chain requests (Pieter Wuille)
2015-04-28 07:46:27 -07:00
Pieter Wuille
de8e801d3f
Report missing inputs in sendrawtransaction
2015-04-28 07:16:39 -07:00
Philip Kaufmann
107d35b700
[Qt] add defaultConfirmTarget constant to sendcoinsdialog
...
- replaces some hard-coded values for the default confirmation target
- also simplify code that is using the new constant
2015-04-28 14:49:46 +02:00
Philip Kaufmann
d1af89e655
use const reference as param in ConnectThroughProxy/Socks5
...
- also ensure code style conformance by replacing bool static with static bool
2015-04-28 14:44:56 +02:00
Wladimir J. van der Laan
18d2832678
Merge pull request #5971
...
351593b
replace absolute sleep with conditional wait (pstratem)
2015-04-28 10:41:46 +02:00
Wladimir J. van der Laan
5048465fc5
Merge pull request #5662
...
00dcaf4
Change download logic to allow calling getheaders/getdata on inbound peers (Suhas Daftuar)
2015-04-28 10:17:04 +02:00
Wladimir J. van der Laan
6364408122
Merge pull request #5199
...
1ec900a
Remove broken+useless lock/unlock log prints (Matt Corallo)
352ed22
Add merkle blocks test (Matt Corallo)
59ed61b
Add RPC call to generate and verify merkle blocks (Matt Corallo)
30da90d
Add CMerkleBlock constructor for tx set + block and an empty one (Matt Corallo)
2015-04-28 10:07:25 +02:00
Wladimir J. van der Laan
f9645ba80a
qt: translation update
2015-04-28 09:47:26 +02:00
Dave Collins
9fadf1c874
Add additional script edge condition tests.
...
This commit adds several tests to the script_invalid.json data which
exercise some edge conditions that are not currently being tested.
These are mainly being added to cover several cases a branch coverage
analysis of btcd showed are not already being covered, but given more
tests of edge conditions are always a good thing, I'm contributing
them upstream.
2015-04-28 02:35:43 -05:00
Dave Collins
d8f4cc328e
Correct the PUSHDATA4 minimal encoding test.
...
The test which is intended to prove that the script engine is properly
rejecting non-minimally encoded PUSHDATA4 data is using the wrong
opcode and value. The test is using 0x4f, which is OP_1NEGATE instead
of the desired 0x4e, which is OP_PUSHDATA4. Further, the push of data
is intended to be 256 bytes, but the value the test is using is
0x00100000 (4096), instead of the desired 0x00010000 (256).
This commit fixes both issues.
This was found while examining the branch coverage in btcd against only
these tests to help find missing branch coverage.
2015-04-27 21:47:55 -05:00
pstratem
351593b9c8
replace absolute sleep with conditional wait
2015-04-27 11:48:31 -07:00
Jonas Schnelli
1b2e555593
add autoprune information to RPC "getblockchaininfo"
2015-04-26 23:23:09 +02:00
Wladimir J. van der Laan
1d9d314573
Merge pull request #5696
...
691161d
Consensus: Create consensus/consensus.h with some constants (jtimon)
2015-04-26 14:42:09 +02:00
sinetek
ff7fe8b19e
Fix for correctly including climits on certain platforms {DragonFlyBSD}.
2015-04-25 22:07:32 +07:00
Cory Fields
739d6155d3
chainparams: use SeedSpec6's rather than CAddress's for fixed seeds
...
This negates the need for CAddress here at all
2015-04-24 14:32:39 -04:00
Wladimir J. van der Laan
1623f6e337
Merge pull request #6033
...
cd558b4
FreeBSD, OpenBSD thread renaming. (sinetek)
2015-04-24 16:36:00 +02:00
Wladimir J. van der Laan
b9311fb631
Merge pull request #6028
...
1d5b47a
nLastTry is only used for addrman entries (Pieter Wuille)
2015-04-24 16:11:23 +02:00
Wladimir J. van der Laan
585b5dba74
Merge pull request #6036
...
f89b092
add rpc test for listunspents support for zero value txouts (Jonas Schnelli)
219953c
Show zero value txouts in listunspent. (Gregory Maxwell)
2015-04-24 14:57:43 +02:00
Matt Corallo
1ec900a29e
Remove broken+useless lock/unlock log prints
2015-04-24 02:28:47 -07:00
Wladimir J. van der Laan
c2713042a3
Merge pull request #5863
...
f9ec3f0
Add block pruning functionality (mrbandrews)
2015-04-24 10:36:48 +02:00
Matt Corallo
59ed61b389
Add RPC call to generate and verify merkle blocks
2015-04-23 17:50:39 -07:00
Matt Corallo
30da90de8d
Add CMerkleBlock constructor for tx set + block and an empty one
2015-04-23 17:50:39 -07:00
Wladimir J. van der Laan
734f80a5d1
Merge pull request #6039
...
27ce808
tests: Error when setgenerate is used on regtest (Wladimir J. van der Laan)
2015-04-23 18:03:51 +02:00
Jonas Schnelli
26414ca4fc
fix and enable bip32 unit test
...
the bip32 unit test was not included in the make process
2015-04-23 13:21:05 +02:00
Pieter Wuille
4dda253190
Update libsecp256k1
2015-04-22 14:03:10 -07:00