Matt Corallo
b88d342f2c
Provide a flat list of txid/terators to txn in CTxMemPool
2018-10-17 19:23:57 +03:00
Matt Corallo
3f6cddb53e
Add reconstruction debug logging
2018-10-17 19:23:44 +03:00
Matt Corallo
4e55d9962c
Get our "best three" peers to announce blocks using cmpctblocks
2018-10-17 19:23:07 +03:00
Matt Corallo
1ce3308431
Add ability to fetch CNode by NodeId
2018-10-17 19:22:59 +03:00
Matt Corallo
0fcad61796
Add receiver-side protocol implementation for CMPCTBLOCK stuff
2018-10-17 19:20:33 +03:00
Matt Corallo
c94ec58bcf
Add sender-side protocol implementation for CMPCTBLOCK stuff
2018-10-17 19:20:24 +03:00
Matt Corallo
c12555699b
Add protocol messages for short-ids blocks
2018-10-17 19:16:08 +03:00
Matt Corallo
c46749cd7b
Add COMPACTSIZE wrapper similar to VARINT for serialization
2018-10-17 19:15:59 +03:00
Matt Corallo
19421ceb48
Add TestMemPoolEntryHelper::FromTx version for CTransaction
2018-10-17 19:15:49 +03:00
Matt Corallo
37fff1268d
Add some blockencodings tests
2018-10-17 19:15:39 +03:00
Matt Corallo
1af775cf68
Add partial-block block encodings API
2018-10-17 19:15:27 +03:00
Matt Corallo
78b7288568
If AcceptBlockHeader returns true, pindex will be set.
2018-10-17 19:13:58 +03:00
Daniel Kraft
7571028f10
net: Avoid duplicate getheaders requests.
2018-10-17 19:08:41 +03:00
Pavel Janík
dadb56e60d
Fix doxygen comment: the transaction is returned in txOut
...
Github-Pull: #8993
Rebased-From: 1d8e12ba48154b2c59213e92efb50958d430a007
2018-10-17 01:09:27 +03:00
BtcDrak
2987944269
Sync bitcoin-tx with tx version policy
...
Github-Pull: #8932
Rebased-From: b0aea8057921f0ed2288cf07048f652c7d6d9cf3
2018-10-17 01:09:07 +03:00
UdjinM6
4039e1c019
Missed one "return false" in recent refactoring in #9067
...
Github-Pull: #9120
Rebased-From: 45d372f88900bda74835a20a44246746c2ac94e6
2018-10-17 01:07:40 +03:00
UdjinM6
4dc8b6acfd
Every main()/exit() should return/use one of EXIT_ codes instead of magic numbers
2018-10-17 01:07:26 +03:00
UdjinM6
10ea8235a8
Fix exit codes:
...
- `--help`, `--version` etc should exit with `0` i.e. no error ("not enough args" case should still trigger an error)
- error reading config file should exit with `1`
Slightly refactor AppInitRPC/AppInitRawTx to return standard exit codes (EXIT_FAILURE/EXIT_SUCCESS) or CONTINUE_EXECUTION (-1)
Github-Pull: #9067
Rebased-From: bd0de1386e1c7f9b875d52290de0d561c8d56bc9
2018-10-17 01:05:27 +03:00
Cory Fields
793b8f55b1
net: don't send feefilter messages before the version handshake is complete
...
Github-Pull: #9117
Rebased-From: 46625538d674a5aaf1bcfa7c8be8a49e5a23fa9e
2018-10-17 01:03:48 +03:00
lateminer
e7d66ad900
Update secp256k1 subtree
...
https://github.com/bitcoin/bitcoin/pull/9340
2018-10-17 00:59:57 +03:00
lateminer
eb242178e1
Attempt to fix testnet
2018-10-17 00:40:44 +03:00
lateminer
f57cc59be2
Remove replace-by-fee
2018-10-15 22:21:51 +03:00
Wladimir J. van der Laan
b4753d6757
Remove internal miner
2018-10-15 22:11:55 +03:00
mruddy
d3c1c6bdb9
Net: Add IPv6 Link-Local Address Support
2018-10-14 23:49:15 +03:00
Jonas Schnelli
507dfaeb4a
[Wallet] slightly refactor GetOldestKeyPoolTime()
2018-10-14 23:49:03 +03:00
lateminer
eea97b0e37
Make it compile and apply some fixes
2018-10-14 22:49:30 +03:00
lateminer
af1585d232
Update client version to 2.12.2.1
2018-10-14 19:09:13 +03:00
lateminer
f7422db2f7
Update to Core 0.12.2
2018-10-14 19:07:51 +03:00
Gregory Maxwell
1bf644c43f
IBD check uses minimumchain work instead of checkpoints.
2018-10-14 17:00:29 +03:00
lateminer
75402d67c1
Remove checkpoints for regtest
2018-10-14 16:48:47 +03:00
lateminer
9cc4974283
Make it compile
2018-10-14 16:44:21 +03:00
Pavel Janík
e670323162
Log invalid block hash to make debugging easier.
2018-10-14 15:26:26 +03:00
Gregory Sanders
edf4aef1e2
reduce number of lookups in TransactionWithinChainLimit
2018-10-14 15:20:09 +03:00
Gregory Sanders
96b938e00c
CreateTransaction: Don't return success with too-many-ancestor txn
2018-10-14 15:19:59 +03:00
ptschip
99c318c13f
Do not download transactions during inital sync
2018-10-14 15:11:16 +03:00
Gregory Sanders
8a0d1a55f9
SelectCoinsMinConf: Prefer coins with fewer ancestors
2018-10-14 15:06:03 +03:00
Russell Yanofsky
db82c9a2cf
Add microbenchmarks to profile more code paths.
...
The new benchmarks exercise script validation, CCoinsDBView caching,
mempool eviction, and wallet coin selection code.
All of the benchmarks added here are extremely simple and don't
necessarily mirror common real world conditions or interesting
performance edge cases. Details about how specific benchmarks can be
improved are noted in comments.
Github-Issue: #7883
2018-10-14 14:59:41 +03:00
Luke Dashjr
22cb3dc62b
Add MIT license to Makefiles
2018-10-14 14:59:27 +03:00
Yuri Zhykin
ecf2bf5582
bench: Added base58 encoding/decoding benchmarks
2018-10-14 14:58:18 +03:00
Wladimir J. van der Laan
dc38daaf38
bench: Add crypto hash benchmarks
...
Add benchmarks for the cryptographic hash algorithms:
- RIPEMD160
- SHA1
- SHA256
- SHA512
Continues work on #7883 .
2018-10-14 14:58:09 +03:00
Pieter Wuille
cc2794d2f8
Benchmark rolling bloom filter
2018-10-14 14:58:00 +03:00
Wladimir J. van der Laan
6f8a719a73
Implement univalue changes
2018-10-14 14:49:52 +03:00
Pieter Wuille
a64fec0574
Return txid even if ATMP fails for new transaction
2018-10-14 14:34:12 +03:00
Gregory Maxwell
0fab6dc7aa
Make RelayWalletTransaction attempt to AcceptToMemoryPool.
2018-10-14 14:29:19 +03:00
lateminer
43e6bbc312
Make it compile
2018-10-14 14:22:03 +03:00
MarcoFalke
7d639de831
[qt] Remove Priority from coincontrol dialog
2018-10-13 19:07:00 +03:00
Kaz Wesley
000a97ca5f
replace mapNextTx with slimmer setSpends
2018-10-13 18:59:42 +03:00
lateminer
17401c86d1
Fix backporting errors
...
pos.cpp
primitives/transaction.cpp
rpc/rawtransaction.cpp
script/sign.cpp
script/sign.h
txmempool.cpp
2018-10-13 18:55:32 +03:00
Pieter Wuille
00cb4673b2
Predeclare PrecomputedTransactionData as struct
2018-10-13 17:59:39 +03:00
Pieter Wuille
cd30f2becb
Rename to PrecomputedTransactionData
2018-10-13 17:57:50 +03:00