jl777
63831f76e0
Add support for out of order blocks and tolerance for future stamped blocks
...
In order to speed up block propagation, it is possible for some blocks
to arrive out of order due to propagation delays combined with 2 or
more blocks mined very quickly.
Additionally futurestamping blocks allows a high hash rate miner to
produce blocks that would be valid after a passage of time.
Previously such blocks triggered an extreme response that banned the
peer that broadcast it. Since these are temporary issues, if the block
is still valid when it is within the allowed timestamp window, this
update will process it normally.
2018-04-25 13:41:27 +03:00
jl777
44b0ba4fa1
Test
2018-04-16 22:04:46 +03:00
jl777
e73b2055c6
Merge branch 'beta' into mergemaster
...
# Conflicts:
# src/main.cpp
2018-04-16 10:16:01 +03:00
jl777
945f015d80
Initial merge
2017-03-30 04:35:16 +03:00
Wladimir J. van der Laan
08c581940a
auto_ptr → unique_ptr
...
Change the few occurrences of the deprecated `auto_ptr` to c++11 `unique_ptr`.
Silences the deprecation warnings.
Also add a missing `std::` for consistency.
2017-03-24 09:03:59 +13:00
jl777
269fe24367
Test
2017-03-18 13:28:18 +02:00
jl777
e317db75e2
Test
2017-03-13 12:24:03 +02:00
jl777
c837f4bff5
Test
2017-03-13 12:09:06 +02:00
jl777
caa4bf54c0
Test
2017-03-13 12:04:32 +02:00
jl777
58f5f525f7
Test
2017-03-13 11:52:22 +02:00
Jay Graber
552d755339
Document returned results of submitblock
2017-03-06 13:18:58 -08:00
Philip Kaufmann
db954a65ac
use const references where appropriate
2017-03-03 10:57:05 -08:00
jl777
899e372886
Coinbasevalue
2017-02-18 20:18:53 +02:00
Jonas Schnelli
a10a6e2a0e
[Univalue] add univalue over subtree
...
similar to secp256k1 include and compile univalue over a subtree
2017-02-10 02:18:51 +00:00
Jack Grigg
0d37ae3a59
Migrate Zcash-specific code to UniValue
2017-02-10 00:52:57 +00:00
Jonas Schnelli
f70084cf06
fix rpcmining/getblocktemplate univalue transition logic error
2017-02-10 00:35:24 +00:00
Jonas Schnelli
d014114d67
Remove JSON Spirit wrapper, remove JSON Spirit leftovers
...
- implement find_value() function for UniValue
- replace all Array/Value/Object types with UniValues, remove JSON Spirit to UniValue wrapper
- remove JSON Spirit sources
2017-02-10 00:35:24 +00:00
Jonas Schnelli
851f58f94e
remove JSON Spirit UniValue wrapper
2017-02-10 00:35:24 +00:00
Jonas Schnelli
38fc4b7090
expicit set UniValue type to avoid empty values
2017-02-10 00:35:24 +00:00
Jonas Schnelli
9756b7bd29
extend conversion to UniValue
2017-02-10 00:35:24 +00:00
Jeff Garzik
ed21d5bd4b
Convert tree to using univalue. Eliminate all json_spirit uses.
2017-02-10 00:35:24 +00:00
Jack Grigg
8e8b6d701b
Switch miner to P2PKH, add -mineraddress option
...
Closes #945 and #1955 .
2017-02-06 11:54:58 +00:00
Jack Grigg
2cc0a252ad
Add compile flag to disable compilation of mining code
2017-01-30 21:14:46 +01:00
jl777
3ced93646d
Merge remote-tracking branch 'zcash/master' into dev
...
# Conflicts:
# .gitignore
# README.md
# src/Makefile.gtest.include
# src/gtest/test_checkblock.cpp
# src/init.cpp
# src/main.cpp
# src/main.h
# src/rpcserver.cpp
# src/test/checkblock_tests.cpp
# src/util.cpp
2017-01-25 09:26:28 +02:00
Jack Grigg
f3e4968626
Only enable getblocktemplate when wallet is enabled
2016-12-16 10:44:04 +13:00
jl777
bc17ac4928
Merge remote-tracking branch 'zcash/master' into rebase
...
# Conflicts:
# README.md
# src/Makefile.gtest.include
# src/chainparams.cpp
# src/init.cpp
# src/miner.cpp
# src/wallet/wallet.cpp
2016-12-12 12:19:13 +02:00
Jack Grigg
000499ae64
Add getlocalsolps and getnetworksolps RPC calls, show them in getmininginfo
2016-11-16 22:02:49 +13:00
Jay Graber
59ac34e344
s/Bitcoin/Zcash in JSONRPCError
2016-11-11 11:14:18 -08:00
jl777
0be151df27
test
2016-11-08 14:38:38 -03:00
jl777
359151495a
test
2016-11-08 14:30:34 -03:00
jl777
408a4d9136
test
2016-10-31 15:24:38 -03:00
Jack Grigg
eb5b582e1f
Add network stats to metrics screen
...
Closes #1688
2016-10-30 16:38:09 -07:00
Jack Grigg
d793f94b8a
Track mined blocks to detect and report orphans and mining revenue
...
Part of #1713
Closes #1716
2016-10-30 16:37:44 -07:00
jl777
0233ea2872
test
2016-10-30 06:54:10 -03:00
jl777
30853e4ab9
Merge remote-tracking branch 'zcash/master' into dPoW
2016-10-28 13:50:21 -03:00
zkbot
a294b26db7
Auto merge of #1375 - str4d:1331-node-metrics, r=daira
...
Add node metrics screen
Continuation of #1336
Closes #1331
2016-10-22 20:21:11 -04:00
Jack Grigg
e7d59bbc12
Add average hash rate to metrics
2016-10-22 15:50:20 -05:00
Jack Grigg
a6df7ab567
Add a persistent screen showing basic node metrics
...
The screen is implemented using ANSI Escape sequences.
Closes #1331
2016-10-22 15:50:06 -05:00
Jack Grigg
89aa746ca1
GBT: Add informational founders' reward value to coinbasetxn
2016-10-21 23:36:04 -05:00
Jack Grigg
53ddbaed16
GBT: Support coinbasetxn instead of coinbasevalue
...
Once a Zcash GBT spec has been written, we can re-enable coinbasevalue.
2016-10-21 23:32:24 -05:00
jl777
6830264a00
test
2016-10-20 07:29:25 -03:00
jl777
39b65695af
test
2016-10-20 07:27:01 -03:00
jl777
f2dd868d93
test
2016-10-20 06:32:43 -03:00
jl777
0570045c87
test
2016-10-18 11:08:37 -03:00
jl777
3a672e7b11
Merge remote-tracking branch 'zcash/master' into dPoW
2016-10-17 15:28:00 -03:00
jl777
f2d60864a9
notarized checkpoint
2016-10-17 13:18:45 -03:00
zkbot
4cfbe798bf
Auto merge of #1429 - str4d:867-update-dependencies, r=str4d
...
Update all dependencies
Also re-enables disabled compiler warnings.
Closes #867 , #944 , #1241 , #1255 , #1348 .
2016-10-04 03:48:42 -04:00
jl777
3d35aa5b13
test
2016-10-03 11:32:30 -03:00
Simon
db0f931570
Add founders reward to ChainParams.
...
Fix bug where subsidy slow shift was ignored.
2016-09-30 14:42:47 -07:00
Jack Grigg
4dddc096d4
Replace auto_ptr with unique_ptr
2016-09-29 14:28:38 +13:00