NicolasDorier
00f46cbcd9
[qa] Add transaction tests for segwit
...
Including BIP143 P2WSH examples by jl2012.
9 years ago
Pieter Wuille
0aa9207451
[qa] Witness version 0 signing unit tests
9 years ago
NicolasDorier
745eb678ef
[RPC] signrawtransaction can sign P2WSH
9 years ago
Pieter Wuille
f4691ab3a9
[RPC] Add wallet support for witness transactions (using P2SH)
...
Includes support for pushkeyhash wit v0 by Alex Morcos.
9 years ago
Pieter Wuille
605e8473a7
BIP143: Signing logic
9 years ago
Pieter Wuille
af87a67eff
Do not use compact blocks when segwit is enabled
9 years ago
Pieter Wuille
6032f6930a
Add rewind logic to deal with post-fork software updates
...
Includes logic for dealing with pruning by Suhas Daftuar.
9 years ago
Thomas Kerin
b7dbeb24eb
[libconsensus] Script verification API with amounts
...
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
9 years ago
Pieter Wuille
2b1f6f9ccf
BIP141: Other consensus critical limits, and BIP145
...
Includes changes by Suhas Daftuar, Luke-jr, and mruddy.
9 years ago
Johnson Lau
7c4bf779e8
[RPC] Return witness data in blockchain RPCs
...
Includes RPC field name changes by Luke-jr.
9 years ago
Pieter Wuille
3dd410294d
BIP143: Verification logic
...
Includes simplifications by Eric Lombrozo.
9 years ago
Pieter Wuille
0ef1dd3e11
Refactor script validation to observe amounts
...
This is a preparation for BIP143 support.
9 years ago
Pieter Wuille
b8a97498df
BIP144: Handshake and relay (receiver side)
...
Service bit logic by Nicolas Dorier.
Only download blocks from witness peers after fork.
9 years ago
Pieter Wuille
8b49040854
BIP141: Commitment structure and deployment
...
Includes a fix by Suhas Daftuar and LongShao007
9 years ago
Pieter Wuille
449f9b8deb
BIP141: Witness program
9 years ago
Pieter Wuille
7030d9eb47
BIP144: Serialization, hashes, relay (sender side)
...
Contains refactorings by Eric Lombrozo.
Contains fixup by Nicolas Dorier.
Contains cleanup of CInv::GetCommand by Alex Morcos
9 years ago
Matt Corallo
48efec82f3
Fix some minor compact block issues that came up in review
9 years ago
Wladimir J. van der Laan
4cbe05bf20
qt: Periodic transifex update
...
Pulls in the following new languages:
- `af` Afrikaans
- `es_419` Spanish (Latin America)
- `es_AR` Spanish (Argentina)
- `es_CO` Spanish (Colombia)
- `fil` Filipino
- `it_IT` Italian (Italy)
- `ro` Romanian
- `sr@latin` Serbian (Latin)
- `ta` Tamil
- `uz@Latn` Uzbek (Latin)
- `zh_HK` Chinese (Hong Kong)
9 years ago
Jonas Schnelli
b3e1348c46
[Qt] fix a bug where the SplashScreen will not be hidden during startup
9 years ago
TheLazieR Yip
bf9c70b100
Fix LogPrint to LogPrintf
...
Printing Log without category defined should use LogPrintf
Github-Pull: #8230
Meta: PR should have been based on master in the first place
9 years ago
Jonas Schnelli
2759597bc8
Only pass -lQt5PlatformSupport if >=Qt5.6
9 years ago
Pieter Wuille
ccd06b94f6
Elaborate bucket size math
9 years ago
Matt Corallo
0d4cb48ef1
Use vTxHashes to optimize InitData significantly
9 years ago
Matt Corallo
811902649d
Provide a flat list of txid/terators to txn in CTxMemPool
9 years ago
Matt Corallo
56ba516727
Add reconstruction debug logging
9 years ago
Matt Corallo
2f34a2e476
Get our "best three" peers to announce blocks using cmpctblocks
9 years ago
Matt Corallo
927f8eede0
Add ability to fetch CNode by NodeId
9 years ago
Matt Corallo
d25cd3ec4e
Add receiver-side protocol implementation for CMPCTBLOCK stuff
9 years ago
Matt Corallo
9c837d5468
Add sender-side protocol implementation for CMPCTBLOCK stuff
9 years ago
Matt Corallo
00c40784fe
Add protocol messages for short-ids blocks
9 years ago
Matt Corallo
e3b2222144
Add some blockencodings tests
9 years ago
Matt Corallo
f4f8f14adc
Add TestMemPoolEntryHelper::FromTx version for CTransaction
9 years ago
Matt Corallo
85ad31ede7
Add partial-block block encodings API
9 years ago
Matt Corallo
5249daca5a
Add COMPACTSIZE wrapper similar to VARINT for serialization
9 years ago
Matt Corallo
cbda71cf04
Move context-required checks from CheckBlockHeader to Contextual...
9 years ago
Matt Corallo
7c29ec9449
If AcceptBlockHeader returns true, pindex will be set.
...
Assert this instead of checking (and then dref'ing later anyway)
to make sure no one thinks they can change that postcondition of
AcceptBlockHeader..
9 years ago
Pieter Wuille
96806c39f4
Stop trimming when mapTx is empty
9 years ago
Daniel Kraft
9fce0629b4
[c++11] Use std::unique_ptr for block creation.
...
CreateNewBlock returns a pointer for which the caller takes ownership.
Use std::unique_ptr to make this explicit and simplify handling of these
objects in getblocktemplate.
9 years ago
Pieter Wuille
3775ff9ea7
Enable mempool consistency checks in unit tests
9 years ago
Pieter Wuille
ad0752e41f
Stop trimming when mapTx is empty
9 years ago
MarcoFalke
faa91b12f7
[wallet] tests: Don't use floating point
9 years ago
Suhas Daftuar
29fac19c93
Add unit tests for ancestor feerate mining
9 years ago
Suhas Daftuar
c82a4e9a63
Use ancestor-feerate based transaction selection for mining
...
Includes changes by Pieter Wuille
9 years ago
MarcoFalke
fa58e5ee93
[doc] Add website links to about dialog
9 years ago
Gregory Maxwell
6ee7f05622
Allow disconnecting a netgroup with only one member in eviction.
...
With the latest additions there are enough protective measures that
we can take the training wheels off.
9 years ago
Gregory Maxwell
5d0ca81f74
Add recently accepted blocks and txn to AttemptToEvictConnection.
...
This protects any not-already-protected peers who were the most
recent four to relay transactions and most recent four to send
blocks to us.
9 years ago
Pieter Wuille
bc0a895d81
Do not set extra flags for unfiltered DNS seed results
9 years ago
Gregory Maxwell
54326a6808
Increase maximum orphan size to 100,000 bytes.
...
Although this increases node memory usage in the worst case by perhaps
30MB, the current behavior causes severe issues with dependent tx relay.
9 years ago
Gregory Maxwell
8c99d1b525
Treat orphans as implicit inv for parents, discard when parents rejected.
...
An orphan whos parents were rejected is never going to connect, so there
is little utility in keeping it.
Orphans also helpfully tell us what we're missing, so go ahead and treat
it as INVed.
9 years ago
Gregory Maxwell
11cc143895
Adds an expiration time for orphan tx.
...
This prevents higher order orphans and other junk from
holding positions in the orphan map. Parents delayed
twenty minutes are more are unlikely to ever arrive.
The freed space will improve the orphan matching success rate for
other transactions.
9 years ago