NicolasDorier
7821889bce
Consensus: Remove calls to error() from ContextualCheckBlock
9 years ago
Patrick Strateman
6523fcaab2
Move SetMinVersion for FEATURE_HD to SetHDMasterKey
9 years ago
Jonas Schnelli
a4f137f367
[Wallet] Ensure <0.13 clients can't open HD wallets
9 years ago
Suhas Daftuar
2c06bae39e
Rename "block cost" to "block weight"
9 years ago
Wladimir J. van der Laan
6c0336c772
build: bump version to 0.13.99
...
Now that 0.13 branch has been split off, master is 0.13.99 (pre-0.14).
9 years ago
Wladimir J. van der Laan
e4382fbef5
qt: periodic translations update
9 years ago
Wladimir J. van der Laan
8cef5bd58a
mining: Improve `-blockmaxcost` help message
...
One-word replacement to #8354 .
9 years ago
Jorge Timón
6f3d616dc8
Trivial: Make CBlockIndex param const in ContextualCheckBlockHeader and ContextualCheckBlock
9 years ago
NicolasDorier
a3e1984651
Consensus: Trivial transform BOOST_FOREACH into for loop
9 years ago
Jonas Schnelli
7945088d41
[Wallet] comsetic non-code changes for the HD feature
9 years ago
Jonas Schnelli
68d7682b9f
[Wallet] ensure CKeyMetadata.hdMasterKeyID will be cleared during SetNull()
9 years ago
Suhas Daftuar
96fa95361f
Improve handling of unconnecting headers
...
When processing a headers message that looks like a block announcement,
send peer a getheaders if the headers message won't connect.
Apply DoS points after too many consecutive unconnecting headers messages.
9 years ago
Wladimir J. van der Laan
4831a16223
qt: periodic translation update
...
Added languages:
- `bg_BG`: Bulgarian (Bulgaria)
9 years ago
Jonas Schnelli
b993671921
[Wallet] keep HD seed during salvagewallet
9 years ago
Jonas Schnelli
986c223214
[Wallet] print hd masterkeyid in getwalletinfo
9 years ago
Jonas Schnelli
b1c7b244e2
[Wallet] report optional HDKeypath/HDMasterKeyId in validateaddress
9 years ago
Jonas Schnelli
5b95dd2c25
[Wallet] extend CKeyMetadata with HD keypath
9 years ago
MarcoFalke
477777f250
[rpcwallet] Don't use floating point
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
Bob McElrath
36ae37a9f9
Rename CTxinWitness -> CTxInWitness
9 years ago
Wladimir J. van der Laan
b978701ba1
qt: periodic translations update
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
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
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
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
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
14d01309be
Rename OP_NOP3 to OP_CHECKSEQUENCEVERIFY
9 years ago
Wladimir J. van der Laan
3b2dadc8d5
qt: Periodic translations update
9 years ago
Pavel Janík
2129fcea69
The bit field is shown only when status is "started"
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
Pieter Wuille
252675efc6
Do not send witnesses in cmpctblock
9 years ago
jl2012
409f83322e
RPC: Hide softfork if timeout is 0
9 years ago
Pieter Wuille
1acf1db76f
Do not ask a UI question from bitcoind
9 years ago
fsb4000
d7828abd5b
check that transactionView->selectionModel()->selectedRows(0) exists
9 years ago
Pieter Wuille
133deb83df
Mark my dnsseed as supporting filtering
9 years ago
Wladimir J. van der Laan
a1c92c29fd
trivial: capitalize BIP32 in option help
...
For consistency, BIP32 should be in uppercase in translation message.
Reported by @pryds on Transifex.
9 years ago
Daniel Cousens
27f8126ff3
remove unnecessary LOCK(cs_main)
9 years ago
Johnson Lau
f8528134fc
BIP9 parameters for testnet
9 years ago
Jonas Nick
fdb43df23e
[qa] Add GetTransactionSigOpCost unit tests
9 years ago
Suhas Daftuar
d846e02372
[qa] script_tests: witness tests can specify tx amount
...
Add tests that witness signatures cover value
9 years ago
Suhas Daftuar
330b0f31ee
[qa] p2p segwit tests
...
mininode now supports witness transactions/blocks, blocktools
has a helper for adding witness commitments to blocks, and script
has a function to calculate hashes for signature under sigversion
1, used by segwit.
Py3 conversion by Marco Falke
Test to make sure upgraded nodes don't ask for non-wit blocks by
Gregory Sanders.
9 years ago
Alex Morcos
4f7ff00497
[qa] Add rpc test for segwit
...
Amended by Pieter Wuille to use multisig 1-of-1 for P2WSH tests, and BIP9
based switchover logic.
Fixes and py3 conversion by Marco Falke.
9 years ago
Pieter Wuille
66cca79130
[qa] Autogeneration support for witness in script_tests
9 years ago
Pieter Wuille
06d3805c1a
[qa] Add segwit support to script_tests
...
Contains fix by Johnson Lau.
9 years ago
NicolasDorier
00f46cbcd9
[qa] Add transaction tests for segwit
...
Including BIP143 P2WSH examples by jl2012.
9 years ago