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
Jeff Garzik
7715c84747
HTTP REST: minor fixes
...
1) const-ify internal helper ParseHashStr()
2) use HTTPError() helper when returning HTTP_NOT_FOUND
10 years ago
Jonas Schnelli
a7f2941068
[Qt, OSX] fix usage of osx 10.8+ user notification center
...
Currently Bitcoin-Qts support for OSX User Notification Center is broken. This pull will fix a known issue of non-official-apple-built apps having problems sending user notifications.
10 years ago
Peter Todd
03914234b3
Discourage NOPs reserved for soft-fork upgrades
...
NOP1 to NOP10 are reserved for future soft-fork upgrades. In the event
of an upgrade such NOPs have *VERIFY behavior, meaning that if their
arguments are not correct the script fails. Discouraging these NOPs by
rejecting transactions containing them from the mempool ensures that
we'll never accept transactions, nor mine blocks, with scripts that are
now invalid according to the majority of hashing power even if we're not
yet upgraded. Previously this wasn't an issue as the IsStandard() rules
didn't allow upgradable NOPs anyway, but 7f3b4e95
relaxed the
IsStandard() rules for P2SH redemptions allowing any redeemScript to be
spent.
We *do* allow upgradable NOPs in scripts so long as they are not
executed. This is harmless as there is no opportunity for the script to
be invalid post-upgrade.
10 years ago
Gavin Andresen
a8b2ce557d
regression test only setmocktime RPC call
10 years ago
Jonas Schnelli
6093aa1bb0
[Qt, OSX] QProgressBar CPU-Issue workaround
...
fixes #5295
10 years ago
Michael Ford
c63a73d18a
Update comments in util to be doxygen compatible
10 years ago
Michael Ford
7329fdd1ba
Update comments in txmempool to be doxygen compatible
...
Fix typo in Read() error message
10 years ago
Luke Dashjr
5d60b694e9
Coin Control: Make list mode default
10 years ago
Luke Dashjr
4ff81d6092
Bugfix: Clarify coin control dialog labels
10 years ago
Flavien Charlon
44e9a6b22e
Update the 'test_IsStandard' unit test
...
The maximum length for the payload of an OP_RETURN output is now
80 bytes, and unit tests must be modified to account for the change.
10 years ago
Michael Ford
5617267cd5
Fix typo in listreceivedbyaddress and listaccounts help text
10 years ago
Cozz Lovan
7335ca1a05
[Qt] Fix height of BitcoinAmountField
10 years ago
Cory Fields
219a1470c4
script: check ScriptError values in script tests
10 years ago