Jorge Timón
d12b732ac2
libconsensus: Expose a flag for BIP112
...
We added the segwit one, but we forgot CHECKSEQUENCEVERIFY
8 years ago
Jorge Timón
c8664eeac7
Trivial: pass Consensus::Params& instead of CChainParams& in ContextualCheckBlock
8 years ago
Jonas Schnelli
77c912d21c
[Wallet] add HD xpriv to dumpwallet
8 years ago
Suhas Daftuar
1d06e49834
Ignore CMPCTBLOCK messages for pruned blocks
...
Also ignores CMPCTBLOCK announcements that have too little work. This is to
prevent disk-exhaustion DoS.
8 years ago
Suhas Daftuar
1de2a46632
Ignore GETBLOCKTXN requests for unknown blocks
...
Don't disconnect peers, or else we leak information that could be
used for fingerprinting.
8 years ago
lizhi
cc021ef486
remove outdated legacy code
...
CheckSignatureElement is not used,it be replaced by eccrypto::CheckSignatureElement.
8 years ago
NicolasDorier
122786d0e0
Consensus: Remove ISM
8 years ago
Suhas Daftuar
c59c434b7d
qa: Add test for standardness of segwit v0 outputs
8 years ago
Johnson Lau
1ffaff2f74
Make witness v0 outputs non-standard before segwit activation
8 years ago
Jonas Schnelli
b50e1ac298
[Wallet] Correct hdmasterkeyid/masterkeyid name confusion
8 years ago
NicolasDorier
7821889bce
Consensus: Remove calls to error() from ContextualCheckBlock
8 years ago
fanquake
208d37f116
[trivial] Remove URLs from About dialog translations
8 years ago
Patrick Strateman
6523fcaab2
Move SetMinVersion for FEATURE_HD to SetHDMasterKey
8 years ago
Pieter Wuille
ab942c15bd
Treat high-sigop transactions as larger rather than rejecting them
8 years ago
Thomas Snider
fbc60703a5
[trivial] Switched constants to sizeof()
8 years ago
Jonas Schnelli
a4f137f367
[Wallet] Ensure <0.13 clients can't open HD wallets
8 years ago
Suhas Daftuar
2c06bae39e
Rename "block cost" to "block weight"
8 years ago
Suhas Daftuar
682aa0f289
Scale legacy sigop count in CreateNewBlock
8 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).
8 years ago
Wladimir J. van der Laan
e4382fbef5
qt: periodic translations update
8 years ago
Wladimir J. van der Laan
8cef5bd58a
mining: Improve `-blockmaxcost` help message
...
One-word replacement to #8354 .
8 years ago
Jorge Timón
38c4c8b701
Trivial: Segwit: Don't call IsWitnessEnabled from ContextualCheckBlock
8 years ago
Jorge Timón
6f3d616dc8
Trivial: Make CBlockIndex param const in ContextualCheckBlockHeader and ContextualCheckBlock
8 years ago
NicolasDorier
a3e1984651
Consensus: Trivial transform BOOST_FOREACH into for loop
8 years ago
Jonas Schnelli
7945088d41
[Wallet] comsetic non-code changes for the HD feature
8 years ago
Jonas Schnelli
68d7682b9f
[Wallet] ensure CKeyMetadata.hdMasterKeyID will be cleared during SetNull()
8 years ago
Daniel Cousens
e37b16a75c
transaction: clarify witness branches
8 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.
8 years ago
Wladimir J. van der Laan
4831a16223
qt: periodic translation update
...
Added languages:
- `bg_BG`: Bulgarian (Bulgaria)
8 years ago
Jonas Schnelli
b993671921
[Wallet] keep HD seed during salvagewallet
8 years ago
Jonas Schnelli
986c223214
[Wallet] print hd masterkeyid in getwalletinfo
8 years ago
Jonas Schnelli
b1c7b244e2
[Wallet] report optional HDKeypath/HDMasterKeyId in validateaddress
8 years ago
Jonas Schnelli
5b95dd2c25
[Wallet] extend CKeyMetadata with HD keypath
8 years ago
MarcoFalke
477777f250
[rpcwallet] Don't use floating point
8 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.
8 years ago
Bob McElrath
36ae37a9f9
Rename CTxinWitness -> CTxInWitness
8 years ago
Wladimir J. van der Laan
b978701ba1
qt: periodic translations update
8 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.
8 years ago
Suhas Daftuar
c1d61fbd08
Add warning if -blockminsize is used.
8 years ago
Gregory Maxwell
4fbdc4365b
Revert "net: Avoid duplicate getheaders requests." PR #8054
...
This reverts commit f93c2a1b7e
.
This can cause synchronization to get stuck.
8 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