Pieter Wuille
f321d6bfff
Add key generation/verification to ECC sanity check
10 years ago
Pieter Wuille
d0c41a7350
Add sanity check after key generation
...
Add a sanity check to prevent cosmic rays from flipping a bit in the
generated public key, or bugs in the elliptic curve code. This is
simply done by signing a (randomized) message, and verifying the
result.
10 years ago
Pavel Janík
e0535e15ab
Remove misleading comment about testnet's message string.
10 years ago
Pavel Janík
3d0a1ce193
Process help and version arguments before datadir.
10 years ago
21E14
730b1ed1a0
Check pindexBestForkBase for null
10 years ago
Philip Kaufmann
1b2600a13a
Change MIT/X11 to MIT in license displayed in the program
10 years ago
Michael Ford
fa94b9d562
Convert remaining comments in /src to doxygen format
...
- Update comments in checkpoints to be doxygen compatible
- Update comments in checkqueue to be doxygen compatible
- Update coins to be doxygen compatible
- Fix comment typo in crypter.h
- Update licenses/copyright dates
Closes #5325 #5184 #5183 #5182
10 years ago
Wladimir J. van der Laan
4a106eeb33
qt: English translation update
10 years ago
Cory Fields
f618577029
build: fix link error on some platforms. Fixes #5235
...
Some users may have libtool libs (.la) installed in their linker search paths.
In this case, using -static-libtool-libs would try to link in .a's instead of
shared libs. That would be harmless unless the .a was built in a way that
would break linking, like non-fpic.
What we really want is "-static" here. Despite its name, it's actually less
aggressive than -static-libtool-libs. It causes only internal libs to be linked
statically (libbitcoinconsensus is the one were'a after).
10 years ago
Pieter Wuille
9d8604f36a
Header define style cleanups
10 years ago
Pieter Wuille
a53fd41485
Deterministic signing
10 years ago
Pieter Wuille
3060e36098
Add the RFC6979 PRNG
10 years ago
Pieter Wuille
a8f5087e53
Add HMAC-SHA256
10 years ago
Pieter Wuille
36fa4a78ac
Split up crypto/sha2
10 years ago
Luke Dashjr
b867e409e5
CreateNewBlock: Stick height in coinbase so we pass template sanity check
10 years ago
Peter Todd
ca8158719b
Test the exact order of CHECKMULTISIG sig/pubkey evaluation
...
Possible with STRICTENC
10 years ago
Pieter Wuille
98b135f97f
Make STRICTENC invalid pubkeys fail the script rather than the opcode.
...
This turns STRICTENC turn into a softforking-safe change (even though it
is not intended as a consensus rule), and as a result guarantee that using
it for mempool validation only results in consensus-valid transactions in
the mempool.
10 years ago
Philip Kaufmann
aabe61cb37
[Qt] explicitly call proxy in GUI settings SOCKS5 proxy
...
- to ensure a consistent wording between core and GUI
10 years ago
Pieter Wuille
34559c7c73
Make PruneBlockIndexCandidates safer
10 years ago
Philip Kaufmann
4574248f9f
[Qt] minor ordering cleanup after new fee selection
10 years ago
Philip Kaufmann
a01fa3035f
minor style cleanup after HTTP rest interface merge
...
- no code changes
10 years ago
Wladimir J. van der Laan
e0a25c54eb
qt: Make askpassphrase dialog behave more sanely
...
Set minimum sizes appropriately, and make sure that they
are enforced. Replaces #5226 .
10 years ago
Daniel Kraft
57425a2425
Check block header before accepting it.
...
Previously, AcceptBlockHeader did not check the header (in particular
PoW). This made the client accept invalid-PoW-headers from peers in
headers-first sync.
10 years ago
Cory Fields
269efa30ed
build: add quick consensus lib tests
...
They should be hooked up in other places as well, but this is a start.
10 years ago
Cory Fields
cdd36c6c5c
build: add --with-libs so that libs are optional
10 years ago
Cory Fields
2cf5f16c25
build: add libbitcoinconsensus files and hook up the lib build
...
Credit BlueMatt for libbitcoinsonsensus.h/cpp
10 years ago
Cory Fields
e0077de5de
build: make a distinction between static app ldflags and static lib ldflags
...
For windows builds, exe's are always static, but libs should still conform to
--enabled-shared and --enable-static.
10 years ago
Michael Ford
72fb3d295a
Update comments in src/rpc* to be doxygen compatible
10 years ago
Luke Dashjr
60755dbf76
submitblock: Check for duplicate submissions explicitly
10 years ago
Luke Dashjr
9765a50cbd
Implement BIP 23 Block Proposal
10 years ago
Glenn Willen
77c38bb5cc
Truthier error message when rpcpassword is missing
10 years ago
Cozz Lovan
c1c9d5b415
[Qt] Add Smartfee to GUI
10 years ago
Cozz Lovan
e7876b2979
[Wallet] Prevent user from paying a non-sense fee
10 years ago
Cozz Lovan
ed3e5e468c
[Wallet] Add global boolean whether to pay at least the custom fee (default=true)
10 years ago
Cozz Lovan
0ed9675be4
[Wallet] Add global boolean whether to send free transactions (default=true)
10 years ago
Jonas Schnelli
0ceab00d16
[Qt, OSX] move QProgressBarMac to guiutil.h
10 years ago
Pieter Wuille
230f7a833d
Remove unused ecwrapper code
10 years ago
HarryWu
60d1ecd378
change nSubsidy's type from int64_t to CAmount
10 years ago
Luke Dashjr
3dcbb9b6b4
Abstract DecodeHexBlk and BIP22ValidationResult functions out of submitblock
10 years ago
Luke Dashjr
132ea9b48f
miner_tests: Disable checkpoints so they don't fail the subsidy-change test
10 years ago
Luke Dashjr
df08a626e0
TestBlockValidity function for CBlock proposals (used by CreateNewBlock)
10 years ago
Luke Dashjr
4ea1be7fb8
CreateNewBlock and miner_tests: Also check generated template is valid by CheckBlockHeader, ContextualCheckBlockHeader, CheckBlock, and ContextualCheckBlock
10 years ago
Luke Dashjr
a48f2d6ddd
Abstract context-dependent block checking from acceptance
10 years ago
Cory Fields
4300876c81
build: secp256k1 as a subdir, since it's required
10 years ago
Pieter Wuille
dffb8f81b8
Use libsecp256k1 in key.cpp
10 years ago
Pieter Wuille
4c97c64bf6
Do not use EC code in global constructors
10 years ago
Pieter Wuille
07a9901703
Always build and link libsecp256k1
10 years ago
Pieter Wuille
d48555b36a
Squashed 'src/secp256k1/' content from commit ad2028f
...
git-subtree-dir: src/secp256k1
git-subtree-split: ad2028f9890ca40bdd32055aa0fe5c1c9af0e485
10 years ago
Pieter Wuille
7a7e109139
Delete src/secp256k1 before subtree import
10 years ago
Pieter Wuille
e2f30d547f
Properly lock cs_main in rest_block
10 years ago