Commit Graph

833 Commits

Author SHA1 Message Date
mruddy
3fe2f7ee04 P2P: add maxtimeadjustment command line option 2018-10-22 00:45:03 +03:00
Pieter Wuille
fad48f416c Use std::atomic for fRequestShutdown and fReopenDebugLog 2018-10-22 00:17:37 +03:00
Suhas Daftuar
872628a702 Allow changing BIP9 parameters on regtest 2018-10-19 20:03:24 +03:00
Wladimir J. van der Laan
c5e913fd28 Make max tip age an option instead of chainparam 2018-10-19 19:59:49 +03:00
lateminer
1874993043 Fix multiple backporting errors 2018-10-19 00:54:22 +03:00
Cory Fields
819f4b8dfe net: Split resolving out of CSubNet 2018-10-19 00:01:51 +03:00
21E14
7efc89cd18 CCoinsViewErrorCatcher raison-d-etre 2018-10-18 23:40:49 +03:00
Patrick Strateman
c312b47cce Acquire lock to check for genesis block. 2018-10-18 23:40:08 +03:00
instagibbs
1b6cba2d1f Add cmpctblock to debug help list
Github-Pull: #8637
Rebased-From: b2e93a343ec2dc7d255b970e6ee45e9c390f7ed0
2018-10-18 23:38:58 +03:00
leijurv
e0e706c9cf various typos 2018-10-18 23:30:54 +03:00
Cory Fields
84a208b9d2 net: Have LookupNumeric return a CService directly 2018-10-18 23:10:38 +03:00
Cory Fields
620e64b25f net: narrow include scope after moving to netaddress 2018-10-18 22:56:46 +03:00
Cory Fields
4de79a2a14 net: Split resolving out of CService 2018-10-18 22:55:26 +03:00
Cory Fields
d50d2bbded net: resolve outside of storage structures
Rather than allowing CNetAddr/CService/CSubNet to launch DNS queries, require
that addresses are already resolved.

This greatly simplifies async resolve logic, and makes it harder to
accidentally leak DNS queries.
2018-10-18 22:46:54 +03:00
Luke Dashjr
ef6e708ded Combine common error strings for different options so translations can be shared and reused 2018-10-18 22:46:39 +03:00
Pieter Wuille
c043d2fedc Introduce enum ServiceFlags for service flags 2018-10-18 22:32:23 +03:00
lateminer
f7422db2f7 Update to Core 0.12.2 2018-10-14 19:07:51 +03:00
Alex Morcos
b821da64ef Implement "feefilter" P2P message. 2018-10-13 15:44:02 +03:00
Leviathn
392e034334 Remove internal miner 2018-10-13 14:24:42 +03:00
lateminer
b35f06eda3 Update code with PACKAGE_NAME and COPYRIGHT_HOLDERS 2018-10-13 13:49:46 +03:00
Wladimir J. van der Laan
bdf4c81eac 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.
2018-10-13 02:01:31 +03:00
lateminer
da2c4ec6c9 Add RPC call reservebalance 2018-10-12 21:02:30 +03:00
lateminer
ea7c933b6a Change website to blackcoin.org 2018-10-11 23:49:40 +03:00
lateminer
b1bb30cb3a Remove address indexes 2018-10-11 22:02:52 +03:00
lateminer
ba7d6c9b91 Add more paragraphs in LicenceInfo() 2018-09-30 19:57:06 +03:00
lateminer
c1280c7ccf Fix bug in LicenseInfo() that causes crash 2018-09-30 19:52:11 +03:00
BtcDrak
556187e3f8 Remove bad chain alert partition check
As per meeting 2016-03-31
https://bitcoincore.org/en/meetings/2016/03/31/#bad-chain-alerts

The partition checker was producing huge number of false-positives
and was disabled in 0.12.1 on the understanding it would either be
fixed in 0.13 or removed entirely from master if not.
2018-09-30 18:14:12 +03:00
BtcDrak
8fb8ada384 Remove -alerts option 2018-09-30 18:06:51 +03:00
lateminer
0f55d43fad Get rid of Lore leftovers 2018-09-30 17:43:22 +03:00
lateminer
c3ee9da215 Rebrand to Blackcoin More 2018-09-30 15:28:44 +03:00
lateminer
c53ecd12c9 Bitcoin -> Blackcoin 2018-03-18 12:42:10 +03:00
janko33bd
3d52c88edb bech32 address type disabled 2018-02-16 06:23:47 +01:00
lateminer
323a6750c2 Add CashAddr Address Format
Ported from Bitcoin Unlimited, Bitcoin ABC
2018-01-14 22:32:08 +03:00
Pieter Wuille
2cc8c4ace9 Add -reindex-chainstate that does not rebuild block index 2018-01-13 13:05:41 +03:00
Pieter Wuille
26d8544314 Switch reindexing to AcceptBlock in-loop and ActivateBestChain afterwards 2018-01-13 12:49:31 +03:00
Suhas Daftuar
4366ce4fa0 VerifyDB: don't check blocks that have been pruned 2018-01-13 02:08:32 +03:00
lateminer
72875a2116 Relay double-spends, subject to anti-DOS
cef3711500 (diff-7ec3c68a81efff79b6ca22ac1f1eabbaL929)
2018-01-10 21:52:38 +03:00
lateminer
e8ad469c2c Remove unnecessary code 2018-01-08 22:25:00 +03:00
lateminer
261efcf69a Merge remote-tracking branch 'janko33bd/Blackcoin-Lore' into wallet-updates-0.13 2018-01-08 19:45:45 +03:00
janko33bd
26cbe6bc72 Merge pull request #16 from lateminer/wallet-mod
[Wallet] refactor wallet/init interaction
2018-01-07 21:02:54 +01:00
lateminer
b808896d4c [Wallet] refactor wallet/init interaction
25340b7cd5
2018-01-07 15:29:36 +03:00
Pieter Wuille
f9d2d353ff Always require OS randomness when generating secret keys 2018-01-07 13:27:51 +03:00
lateminer
99238ff2c8 Merge remote-tracking branch 'janko33bd/Blackcoin-Lore' into rpc-updates-0.13 2018-01-06 16:41:28 +03:00
Wladimir J. van der Laan
b460adbab0 rpc: Register calls where they are defined 2018-01-06 13:58:48 +03:00
Daniel Cousens
780775d5bd move rpc* to rpc/ 2018-01-06 01:57:48 +03:00
Jonas Schnelli
6bab17dc2d [RPC, Wallet] Move RPC dispatch table registration to wallet/ code 2018-01-06 01:27:37 +03:00
Wladimir J. van der Laan
e0de81556a net: Add fRelayTxes flag
Add a fRelayTxes to keep track of the relay transaction flag
we send to other peers.
2018-01-06 01:05:02 +03:00
Wladimir J. van der Laan
106eaff884 build: Get rid of CLIENT_DATE
Putting the build date in the executable is a practice that has no place
in these days, now that deterministic building is increasingly common.

Continues #7732 which did this for the GUI.
2018-01-05 23:17:08 +03:00
lateminer
91252c3db6 Add missing "\n" in LicenseInfo() 2018-01-04 22:53:37 +03:00
MarcoFalke
4dae1df717 [doc] Add website links to about dialog 2018-01-04 21:33:20 +03:00