Suhas Daftuar
46c9620f11
Test that unnecessary witnesses can't be used for mempool DoS
...
Check that pre-segwit activation, unnecessary witnesses won't cause
a txid to be permanently rejected.
9 years ago
Cory Fields
099d4b0b65
gitian: use a wrapped gcc/g++ to avoid the need for a system change
...
C_INCLUDE_PATH and CPLUS_INCLUDE_PATH work globally as though -isystem was used
for each invocation.
Since that changes the build results, force a rebuild of x86 depends by adding
the value to $HOST_ID_SALT.
9 years ago
MarcoFalke
fade505e8b
[qa] Add wallet-hd test
9 years ago
Suhas Daftuar
bb66a11396
Fix DoS vulnerability in mempool acceptance
...
Moves the IsStandard check to happen after the premature-witness check,
so that adding a witness to a transaction can't prevent mempool acceptance.
Note that this doesn't address the broader category of potential mempool DoS
issues that affect transactions after segwit activation.
9 years ago
Jonas Schnelli
0cca2feb35
Merge #8304 : [travis] Update SDK_URL
...
fa6ad56
[travis] Update SDK_URL (MarcoFalke)
9 years ago
Cory Fields
b556beda26
build: fix Windows builds without pkg-config
...
- guard PKG_PROG_PKG_CONFIG with an m4_ifdef. If not building for windows,
require it
- add nops as necessary in case the ifdef reduces the if/then to nothing
- AC_SUBST some missing _LIBS. These were split out over time, but not all were
properly substituted. They continued to work if pkg-config is installed
because it does the AC_SUBST itself
9 years ago
Cory Fields
0c928cb13c
build: Fix Qt5PlatformSupport check without pkg-config
...
The non-pkg-config case can't use pkg-config to check the version.
Also, make sure that the check is properly guarded in the case of missing
pkg-config macros.
9 years ago
Christian von Roques
1ba3db6a8e
bash-completion: Adapt for 0.12 and 0.13
...
* separate completion for bitcoind and bitcoin-cli
* remove RPC support from bitcoind completion
* add completion for bitcoin-tx and bitcoin-qt
* rely on autoloading of completions
9 years ago
MarcoFalke
fa9976b853
[qa] test_framework: Add wrapper for stop_node
9 years ago
Bob McElrath
36ae37a9f9
Rename CTxinWitness -> CTxInWitness
9 years ago
Cory Fields
cf2ef786a1
build: require boost for bench
9 years ago
Jonas Schnelli
91abb77970
Merge #8288 : qt: Network-specific example address
...
4f44cb6
qt: Network-specific example address (Wladimir J. van der Laan)
9 years ago
Wladimir J. van der Laan
b978701ba1
qt: periodic translations update
9 years ago
Wladimir J. van der Laan
396f9d6296
Merge #8273 : Bump `-dbcache` default to 300MiB
...
efd1d83
doc: Mention dbcache increase in release notes (Wladimir J. van der Laan)
32cab91
Bump `-dbcache` default to 300MiB (Wladimir J. van der Laan)
9 years ago
Wladimir J. van der Laan
efd1d8339a
doc: Mention dbcache increase in release notes
9 years ago
Wladimir J. van der Laan
32cab91278
Bump `-dbcache` default to 300MiB
...
Also cap the allocation for the leveldb-specific cache for the UTXO set
to 8MiB.
This avoids that the extra cache memory goes to the much less effective
leveldb cache instead of our application-level cache.
9 years ago
Wladimir J. van der Laan
042c323922
Merge #8275 : Remove bad chain alert partition check
...
ab8be98
Remove bad chain alert partition check (BtcDrak)
9 years ago
Wladimir J. van der Laan
aef381161f
Merge #8298 : wallet: Revert input selection post-pruning
...
20f3cd7
wallet: Revert input selection post-pruning (Wladimir J. van der Laan)
9 years ago
Wladimir J. van der Laan
005d3b6430
Merge #8306 : Revert "net: Avoid duplicate getheaders requests." PR #8054
...
4fbdc43
Revert "net: Avoid duplicate getheaders requests." PR #8054 (Gregory Maxwell)
9 years ago
Suhas Daftuar
c1d61fbd08
Add warning if -blockminsize is used.
9 years ago
Gregory Maxwell
4fbdc4365b
Revert "net: Avoid duplicate getheaders requests." PR #8054
...
This reverts commit f93c2a1b7e
.
This can cause synchronization to get stuck.
9 years ago
fanquake
ab0c35a290
[Doc] Update bips.md for CSV softfork.
9 years ago
MarcoFalke
115735d547
Merge #8280 : Tests: Increase sync_blocks() timeouts in pruning.py
...
36f1b9d
Tests: Increase sync_blocks() timeouts in pruning.py (Suhas Daftuar)
9 years ago
Wladimir J. van der Laan
20f3cd75f6
wallet: Revert input selection post-pruning
...
This reverts PR #4906 , "Coinselection prunes extraneous inputs from
ApproximateBestSubset".
Apparently the previous behavior of slightly over-estimating the set of
inputs was useful in cleaning up UTXOs.
See also #7664 , #7657 , as well as 2016-07-01 discussion on #bitcoin-core-dev IRC.
9 years ago
Wladimir J. van der Laan
da50997a3e
Merge #8285 : windows: Add testnet link to installer
...
975a41d
windows: Add testnet icon for testnet link (Wladimir J. van der Laan)
0ce8e99
windows: Add testnet link to installer (Wladimir J. van der Laan)
9 years ago
Suhas Daftuar
27362dda4d
Remove -blockminsize option
9 years ago
Suhas Daftuar
d2e46e1b5c
Remove addScoreTxs()
9 years ago
Suhas Daftuar
6dd4bc289c
Exclude witness transactions in addPackageTxs() pre-segwit activation
9 years ago
Wladimir J. van der Laan
975a41dcc2
windows: Add testnet icon for testnet link
...
Overhauled testnet icon by Jonas Schnelli
9 years ago
Wladimir J. van der Laan
4f44cb616d
qt: Network-specific example address
...
Generate an (invalid) example address for in the bitcoin address
widgets, based on the network prefix, instead of hardcoding a mainnet
address.
- `1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L` for mainnet (same as now)
- `n2wxQmfexkjwEPgdD6iJA7T7RtzkmHxhFc` for testnet
9 years ago
Wladimir J. van der Laan
0ce8e99ec8
windows: Add testnet link to installer
9 years ago
Jonas Schnelli
6a87eb0e4b
Merge #8281 : qt: Remove client name from debug window
...
a7897c0
qt: Remove client name from debug window (Wladimir J. van der Laan)
9 years ago
Wladimir J. van der Laan
a7897c02f7
qt: Remove client name from debug window
...
Remove the client name from the debug window in the GUI. It is already
part of the user agent, so adding it separately doesn't add anything.
9 years ago
BtcDrak
18c975c831
Rename NOP3 to CHECSEQUENCEVERIFY in rpc tests
9 years ago
BtcDrak
14d01309be
Rename OP_NOP3 to OP_CHECKSEQUENCEVERIFY
9 years ago
Suhas Daftuar
36f1b9df76
Tests: Increase sync_blocks() timeouts in pruning.py
9 years ago
Wladimir J. van der Laan
3685e0c1da
Merge #8261 : The bit field is shown only when status is "started"
...
2129fce
The bit field is shown only when status is "started" (Pavel Janík)
9 years ago
Wladimir J. van der Laan
3b2dadc8d5
qt: Periodic translations update
9 years ago
Wladimir J. van der Laan
9a227e95bb
tx: change slug to `bitcoin.qt-translation-013x`
...
Fetch the 0.13 translations, not the 0.12 translations.
9 years ago
Pavel Janík
2129fcea69
The bit field is shown only when status is "started"
9 years ago
Wladimir J. van der Laan
ff03c50c00
Merge #8257 : Do not ask a UI question from bitcoind
...
1acf1db
Do not ask a UI question from bitcoind (Pieter Wuille)
9 years ago
Suhas Daftuar
f15c2cde45
CreateNewBlock: add support for size-accounting to addPackageTxs
...
Includes a change to not continue to use size-accounting in addScoreTxs
or addPackageTxs just because addPriorityTxs() is used.
9 years ago
Wladimir J. van der Laan
5a06ebbf2d
Merge #8258 : RPC: Hide softfork if timeout is 0
...
409f833
RPC: Hide softfork if timeout is 0 (jl2012)
9 years ago
Pieter Wuille
252675efc6
Do not send witnesses in cmpctblock
9 years ago
Wladimir J. van der Laan
1922e5a654
Merge #8244 : remove unnecessary LOCK(cs_main) in getrawpmempool
...
27f8126
remove unnecessary LOCK(cs_main) (Daniel Cousens)
9 years ago
Wladimir J. van der Laan
63fbdbc94d
Merge #8240 : doc: Mention Windows XP end of support in release notes
...
b0be3a0
doc: Mention Windows XP end of support in release notes (Wladimir J. van der Laan)
9 years ago
jl2012
409f83322e
RPC: Hide softfork if timeout is 0
9 years ago
Wladimir J. van der Laan
b0be3a0186
doc: Mention Windows XP end of support in release notes
...
Closes #7681 .
9 years ago
Wladimir J. van der Laan
5cdc54b4b6
Merge #8252 : [trivial] Add aarch64 to depends .gitignore
...
f70bcfc
[trivial] Add aarch64 to depends .gitignore (fanquake)
9 years ago
Wladimir J. van der Laan
d612837814
Merge #8149 : Segregated witness rebased
...
f852813
BIP9 parameters for testnet (Johnson Lau)
070dbc4
--- [SEGWIT] begin: deployment --- (Pieter Wuille)
fdb43df
[qa] Add GetTransactionSigOpCost unit tests (Jonas Nick)
d846e02
[qa] script_tests: witness tests can specify tx amount (Suhas Daftuar)
330b0f3
[qa] p2p segwit tests (Suhas Daftuar)
4f7ff00
[qa] Add rpc test for segwit (Alex Morcos)
66cca79
[qa] Autogeneration support for witness in script_tests (Pieter Wuille)
06d3805
[qa] Add segwit support to script_tests (Pieter Wuille)
00f46cb
[qa] Add transaction tests for segwit (NicolasDorier)
0aa9207
[qa] Witness version 0 signing unit tests (Pieter Wuille)
978e200
--- [SEGWIT] begin: tests --- (Pieter Wuille)
745eb67
[RPC] signrawtransaction can sign P2WSH (NicolasDorier)
f4691ab
[RPC] Add wallet support for witness transactions (using P2SH) (Pieter Wuille)
605e847
BIP143: Signing logic (Pieter Wuille)
9757b57
--- [SEGWIT] begin: wallet --- (Pieter Wuille)
af87a67
Do not use compact blocks when segwit is enabled (Pieter Wuille)
6032f69
Add rewind logic to deal with post-fork software updates (Pieter Wuille)
b7dbeb2
[libconsensus] Script verification API with amounts (Thomas Kerin)
2b1f6f9
BIP141: Other consensus critical limits, and BIP145 (Pieter Wuille)
7c4bf77
[RPC] Return witness data in blockchain RPCs (Johnson Lau)
3dd4102
BIP143: Verification logic (Pieter Wuille)
0ef1dd3
Refactor script validation to observe amounts (Pieter Wuille)
b8a9749
BIP144: Handshake and relay (receiver side) (Pieter Wuille)
8b49040
BIP141: Commitment structure and deployment (Pieter Wuille)
449f9b8
BIP141: Witness program (Pieter Wuille)
7030d9e
BIP144: Serialization, hashes, relay (sender side) (Pieter Wuille)
ecacfd9
--- [SEGWIT] begin: P2P/node/consensus --- (Pieter Wuille)
9 years ago