Wladimir J. van der Laan
65e3a1e762
Make sure that GetRandomBytes never fails
...
We're using GetRandomBytes in several contexts where it's either
unwieldy to return an error, or an error would mean a fatal exception
anyhow.
@gmaxwell checked OpenSSL a while ago and discovered that it never
actually fails, but it can't hurt to be a bit paranoid here.
10 years ago
Ruben Dario Ponticelli
9ec75c5ef4
Add a locking mechanism to IsInitialBlockDownload to ensure it never goes from false to true.
10 years ago
ENikS
5985ba9e61
Fixing warning C4099: 'CExtPubKey' : type name first seen using 'class' now seen using 'struct'
10 years ago
Pieter Wuille
bfe029feeb
Reduce bitcoin-tx dependencies
10 years ago
Wladimir J. van der Laan
f654f0040b
Change -genproclimit default to 1
...
This is less surprising.
Avoids the overload-the-CPU default of using N threads for script
verification as well as N threads for generation where N is number of cores.
10 years ago
Wladimir J. van der Laan
9bdec76037
Always log number of threads for script verification
...
Helps for troubleshooting.
10 years ago
Pieter Wuille
93a6022400
Reduce bitcoin-cli dependencies
10 years ago
Jonas Schnelli
236d96e0a3
Qt: Add support for missing scrollbar in peers table
10 years ago
Jonas Schnelli
93a3f0e7fe
Qt: Network-Traffic-Graph: make some distance between line and text
...
Text directly glued on the graph-line looks not so good.
10 years ago
mruddy
84877904c0
bitcoin-tx: Add the "-txid" option. Also add the hex-encoded transaction to the JSON output as the "hex" property.
10 years ago
Pieter Wuille
1f847936c9
Avoid a bunch of copying/conversion in script/sign
10 years ago
Cozz Lovan
9b1627d13e
[Wallet] Reduce minTxFee for transaction creation to 1000 satoshis
10 years ago
Daniel Kraft
af82884ab7
Add "warmup mode" for RPC server.
...
Start the RPC server before doing all the (expensive) startup
initialisations like loading the block index. Until the node is ready,
return all calls immediately with a new error signalling "in warmup"
with an appropriate status message (similar to the init message).
This is useful for RPC clients to know that the server is there (e. g.,
they don't have to start it) but not yet available. It is used in
Namecoin and Huntercoin already for some time, and there exists a UI
hooked onto the RPC interface that actively uses this to its advantage.
10 years ago
Philip Kaufmann
b4347f6035
minor code style cleanup after recent merges
...
- add a missing license header
- correct some header orderings etc.
10 years ago
mruddy
0d91ae308c
The first thing that SelectParams does is call SelectBaseParams. Therefore, we do not need to call SelectBaseParams immediately prior to calling SelectParams.
10 years ago
Pavel Janík
84738627ce
Fix all header defines
10 years ago
21E14
a2cfae8e18
util.cpp comment correction
10 years ago
Yoichi Hirai
e743678d5a
fix a typo
10 years ago
Wladimir J. van der Laan
917b83127d
qt: translations update from Transifex
10 years ago
Philip Kaufmann
771d500283
minor cleanup: include orders, end comments etc.
...
- no code changes
10 years ago
Cory Fields
d2e74c55bd
boost: moveonly: split CPubKey and friends to new files
10 years ago
Cory Fields
78c228c6e5
boost: moveonly: move BIP32Hash to hash.h
10 years ago
Cory Fields
900078aeb4
boost: moveonly: create eccryptoverify.h|cpp and move helper functions there
...
Eventually (after 0.10) these files will hold the logic for crypto
verification routines, and CKey/CPubKey will call into them.
10 years ago
Michael Ford
1c0aa9110e
Update serialize comments to be doxygen compatible
10 years ago
Cory Fields
f635269cd1
tests: enable alertnotify test for Windows
...
The semantics of "echo" are different there and they change the resulting text,
but they're still correct and predictable.
10 years ago
Michael Ford
484e350f04
Update comments in client version to be doxygen compatible
10 years ago
Michael Ford
6395ba3036
Update comments in version to be doxygen compatible
10 years ago
Philip Kaufmann
981f7907c4
[Qt] fix slot connection problems when no wallet is loaded
...
- guard 4 connect calls by an #ifdef when no wallet is loaded to fix "No
such slot" warnings
- also add comments when #ifdef ENABLE_WALLET end
- fixes #5175
10 years ago
Michael Ford
7792040294
Update comments in rpcserver to be doxygen compatible
10 years ago
Matt Corallo
eadcd0c802
Print parameter interactions to console, too
10 years ago
Luke Dashjr
e69a5873e7
RPC: submitblock: Support for returning specific rejection reasons
10 years ago
Matt Corallo
50b43fda08
Be a bit more verbose during -loadblock if we already have blocks
10 years ago
Matt Corallo
8375e2215f
Fix -loadblock after shutdown during IBD
10 years ago
Matt Corallo
4ead850fe5
Fix for crash during block download
10 years ago
jtimon
092b58d13d
CBlockIndex::GetBlockWork() + GetProofIncrement(nBits) -> GetBlockProof(CBlockIndex)
10 years ago
jtimon
22c4272bf4
MOVEONLY: Move void UpdateTime() from pow.o to miner.o (plus fix include main.h -> chain.h)
10 years ago
Pieter Wuille
b4ee0bddad
Introduce preferred download peers
10 years ago
Wladimir J. van der Laan
20a5f610d3
Don't relay alerts to peers before version negotiation
...
Fixes #1436
10 years ago
Matt Corallo
2d06c0febf
Add missing reserved address spaces.
10 years ago
Cory Fields
71697f97d3
Separate protocol versioning from clientversion
10 years ago
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