Ruben Dario Ponticelli
a2d0fc658a
Fix IsInitialBlockDownload which was broken by headers first.
10 years ago
Wladimir J. van der Laan
023e63df78
qt: Move transaction notification to transaction table model
...
Move transaction new/update notification to TransactionTableModel.
This moves the concerns to where they're actually handled.
No need to bounce this through wallet model.
- Do wallet transaction preprocessing on signal handler side;
avoids locking cs_main/cs_wallet on notification in GUI thread
(except for new transactions)
10 years ago
Luke Dashjr
1bea2bbddc
Rename ProcessBlock to ProcessNewBlock to indicate change of behaviour, and document it
10 years ago
Michael Ford
2b173d3bcc
Update comments in keystore to be doxygen compatible
10 years ago
Michael Ford
ffd8eddab5
Update comments in key to be doxygen compatible
10 years ago
Michael Ford
5b40d88688
Update comments in wallet to be doxygen compatible
10 years ago
Cory Fields
50f71cd52e
boost: code movement only: split CECKey into separate files
10 years ago
Cory Fields
bdaec6abd3
boost: remove CPubKey dependency from CECKey. Follow-up of e405aa48
10 years ago
jtimon
99f41b9cf7
MOVEONLY: core.o -> core/block.o
10 years ago
jtimon
561e9e9de9
MOVEONLY: Move script/compressor out of script and put CTxOutCompressor (from
...
core) with it
10 years ago
jtimon
999a2ab41e
MOVEONLY: separate CTxUndo out of core
10 years ago
jtimon
4a3587d8db
MOVEONLY: Separate CTransaction and dependencies from core
10 years ago
jtimon
eda3733091
MOVEONLY: Move CFeeRate and Amount constants to amount.o
10 years ago
jtimon
071473c55c
Build util and common before building server
10 years ago
Luke Dashjr
2aa632921e
Enable customising node policy for datacarrier data size with a -datacarriersize option
10 years ago
Peter Todd
16d78bd68e
Add valid invert of invalid every numeric opcode tests
10 years ago
Peter Todd
2b62e1796b
Clearly separate PUSHDATA and numeric argument MINIMALDATA tests
10 years ago
Peter Todd
dfeec18b85
Test every numeric-accepting opcode for correct handling of the numeric minimal encoding rule
10 years ago
Peter Todd
554147ad9e
Ensure MINIMALDATA invalid tests can only fail one way
...
Removes the need for the 'negated' versions of the tests, and ensures
other failures don't mask what we're trying to test.
10 years ago
Peter Todd
6004e77b92
Improve CScriptNum() comment
...
Edited-by: Pieter Wuille <pieter.wuille@gmail.com>
10 years ago
Pieter Wuille
698c6abb25
Add SCRIPT_VERIFY_MINIMALDATA (BIP62 rules 3 and 4)
...
Also use the new flag as a standard rule, and replace the IsCanonicalPush
standardness check with it (as it is more complete).
10 years ago
Pieter Wuille
d752ba86c1
Add SCRIPT_VERIFY_SIGPUSHONLY (BIP62 rule 2)
10 years ago
Michael Ford
f2e03ffae9
Update comments in chainparams to be doxygen compatible
10 years ago
Michael Ford
2fdc3351d7
Update comments in chain to be doxygen compatible
10 years ago
Cozz Lovan
7014f382e3
[Qt] Remove CAmount from BitcoinAmountField Q_PROPERTY
10 years ago
dexX7
6261e6e6e0
getblockhash: throw JSONRPCError (not runtime_error)
10 years ago
Daniel Kraft
a31e8bad53
Make CBlockIndex* returned by GetDepthInMainChain const.
...
Make the CBlockIndex* (optionally) returned by GetDepthInMainChain
const. This prevents accidental modification. The result is for
reading its properties rather than modifying it.
10 years ago
Michael Ford
24f5c94015
Update comments in addrman to be doxygen compatible
...
Also correct the file license
10 years ago
Wladimir J. van der Laan
7c0f36c431
Clear vFixedSeeds for regtest network
...
It shouldn't inherit these from testnet.
(seems to be already done for unit test network but forgotten here...)
Fixes #5127 .
10 years ago
Cory Fields
3a757c5294
fix build with libc++ after 85c579e
10 years ago
Wladimir J. van der Laan
d2833de424
qt: remove monitoreddatamapper
...
We haven't used the viewModified signal in ages, so we can use a normal
QDataWidgetMapper.
10 years ago
Cory Fields
fa7361907a
boost: split stream classes out of serialize.h
...
serialization now has no dependencies.
10 years ago
Wladimir J. van der Laan
a873823864
CAutoFile: Explicit Get() and remove unused methods
...
Also add documentation to some methods.
10 years ago
Pieter Wuille
7b2bb96271
Replace some function names with __func__
10 years ago
Wladimir J. van der Laan
33dfbf57d3
rpc: Fix leveldb iterator leak, and flush before `gettxoutsetinfo`
...
This fixes an iterator leak resulting in
bitcoind: db/version_set.cc:789: leveldb::VersionSet::~VersionSet(): Assertion `dummy_versions_.next_ == &dummy_versions_' failed."
exception on shutdown.
Also make sure to flush pcoinsTip before calling GetStats() to make
sure we apply them to the current height.
10 years ago
Wladimir J. van der Laan
9acbb4180a
qt: small English language updates from translators
...
More friendly language, use placeholders where possible
10 years ago
Wladimir J. van der Laan
6d3ab8564c
qt: English translation update after 0a08aa8
10 years ago
Luke Dashjr
d29a2917ff
Rename RPC_TRANSACTION_* errors to RPC_VERIFY_* and use RPC_VERIFY_ERROR for submitblock
10 years ago
Luke Dashjr
f877aaaf16
Bugfix: submitblock: Use a temporary CValidationState to determine accurately the outcome of ProcessBlock, now that it no longer does the full block validity check
10 years ago
Luke Dashjr
24e8896430
Add CValidationInterface::BlockChecked notification
10 years ago
randy-waterhouse
a3c26c2e85
Fixes for missing boost tuple.hpp header include.
10 years ago
21E14
b7ae2c172a
Chain::SetTip return type to void
10 years ago
Pieter Wuille
a96d113962
Rename CWalletInterface to CValidationInterface
...
It's useful for much more than wallets.
10 years ago
Ruben Dario Ponticeli
fef24cab1a
Add IsNull() to class CAutoFile and remove operator !
10 years ago
Cory Fields
85c579e3a6
script: add a slew of includes all around and drop includes from script.h
...
Lots of files ended up with indirect includes from script.h.
10 years ago
Cory Fields
db8eb54bd7
script: move ToString and ValueString out of the header
10 years ago
Cory Fields
e9ca4280f3
script: add ToByteVector() for converting anything with begin/end
...
This should move to a util header once their dependencies are cleaned up.
10 years ago
Cory Fields
066e2a1403
script: move CScriptID to standard.h and add a ctor for creating them from CScripts
...
This allows for a reversal of the current behavior.
This:
CScript foo;
CScriptID bar(foo.GetID());
Becomes:
CScript foo;
CScriptID bar(foo);
This way, CScript is no longer dependent on CScriptID or Hash();
10 years ago
Mark Friedenbach
d4746d56c0
Add a SECURE style flag for ThreadSafeMessageBox, which indicates that the message contains sensitive information. This keeps the message from being output to the debug log by bitcoind. Fixes a possible security risk when starting bitcoind in server mode without the 'rpcpassword' option configured, resulting in the "suggested" password being output to the debug log.
10 years ago
jtimon
e8ea0fd19e
MOVEONLY: CInPoint from core to txmempool
10 years ago