Commit Graph

16530 Commits

Author SHA1 Message Date
jl777
dbc800502f Add netinfo fields 2018-04-17 21:14:35 +03:00
jl777
0d8dc237cd Test 2018-04-17 20:54:10 +03:00
jl777
e14d2c31c3 Add GPU miners 2018-04-17 20:47:09 +03:00
jl777
df03549da8 +minerids rpc 2018-04-17 20:27:16 +03:00
Pieter Wuille
0b6594f444 Avoid unaligned access in crypto i/o 2018-04-17 09:15:55 -07:00
jl777
3b03fd34e8 Ccdata 2018-04-17 18:08:57 +03:00
jl777
e8fa58ecb5 Default JUMBLR_PAUSE.1 2018-04-17 16:43:03 +03:00
jl777
e86c03cf07 -walletprefetch 2018-04-17 16:34:07 +03:00
jl777
cf53fd7c3d Test 2018-04-17 16:25:27 +03:00
jl777
ccff4876b9 -print 2018-04-17 15:48:23 +03:00
jl777
b7fae74e58 Test 2018-04-17 15:31:35 +03:00
jl777
5f5802ae29 Test 2018-04-17 15:30:23 +03:00
Pieter Wuille
c7d71985c9 Add deserializing constructors to CTransaction and CMutableTransaction 2018-04-17 13:29:51 +01:00
jl777
6c0b16b0a6 Display init timestamps 2018-04-17 15:11:40 +03:00
jl777
9baf8ee686 Test 2018-04-17 15:10:05 +03:00
Pieter Wuille
40cc9aa7dd Add serialization for unique_ptr and shared_ptr 2018-04-17 13:09:48 +01:00
Pieter Wuille
87a5975ca0 Use fixed preallocation instead of costly GetSerializeSize
Dbwrapper used GetSerializeSize() to compute the size of the buffer
to preallocate. For some cases (specifically: CCoins) this requires
a costly compression call. Avoid this by just using fixed size
preallocations instead.
2018-04-17 13:09:48 +01:00
Pieter Wuille
098917052d Add optimized CSizeComputer serializers
To get the advantages of faster GetSerializeSize() implementations
back that were removed in "Make GetSerializeSize a wrapper on top of
CSizeComputer", reintroduce them in the few places in the form of a
specialized Serialize() implementation. This actually gets us in a
better state than before, as these even get used when they're invoked
indirectly in the serialization of another object.
2018-04-17 13:09:48 +01:00
Pieter Wuille
93aaf4fc94 Make CSerAction's ForRead() constexpr
The CSerAction's ForRead() method does not depend on any runtime
data, so guarantee that requests to it can be optimized out by
making it constexpr.

Suggested by Cory Fields.
2018-04-17 13:09:48 +01:00
Pieter Wuille
9b228f0391 Avoid -Wshadow errors
Suggested by Pavel Janik.
2018-04-17 13:09:48 +01:00
Jack Grigg
68a1a592ca Remove nType and nVersion from Zcash-specific code 2018-04-17 13:09:47 +01:00
Pieter Wuille
242f1421db Get rid of nType and nVersion
Remove the nType and nVersion as parameters to all serialization methods
and functions. There is only one place where it's read and has an impact
(in CAddress), and even there it does not impact any of the recursively
invoked serializers.

Instead, the few places that need nType or nVersion are changed to read
it directly from the stream object, through GetType() and GetVersion()
methods which are added to all stream classes.
2018-04-17 13:09:28 +01:00
jl777
6a0c98266c Test 2018-04-17 15:03:20 +03:00
jl777
103fde3508 Test 2018-04-17 14:48:12 +03:00
jl777
e1a6427cc7 Test 2018-04-17 14:43:59 +03:00
jl777
d00db11558 Test 2018-04-17 14:38:07 +03:00
jl777
0e32bd33e6 Test 2018-04-17 14:22:49 +03:00
jl777
0bdff15124 -print 2018-04-17 13:54:51 +03:00
jl777
484009fe69 -print 2018-04-17 13:54:27 +03:00
jl777
ef645efa86 Test 2018-04-17 13:32:59 +03:00
jl777
629191d1e4 Fix 2018-04-17 13:26:13 +03:00
jl777
2653fac26c Test 2018-04-17 13:20:48 +03:00
jl777
8f91fd2b12 Test 2018-04-17 13:19:36 +03:00
jl777
4e8752e1ad Test 2018-04-17 13:06:31 +03:00
jl777
b8add6a466 Init speedup test 2018-04-17 12:53:59 +03:00
jl777
4e86450219 -print 2018-04-17 11:56:43 +03:00
jl777
2cce69c0bd -print 2018-04-17 11:56:05 +03:00
jl777
57ad606570 Revert special case 2018-04-17 11:54:50 +03:00
jl777
ab0dd7551e Revert special case 2018-04-17 11:53:56 +03:00
jl777
98af287fc3 Revert special case 2018-04-17 11:53:19 +03:00
jl777
dc4124de8e Revert special case 2018-04-17 11:52:33 +03:00
jl777
d8892310a2 814000 activation 2018-04-17 10:41:18 +03:00
jl777
6bc9c55742 New notaries activate 814000 2018-04-17 10:40:37 +03:00
jl777
47a4812f17 814000 change 2018-04-17 10:40:05 +03:00
jl777
cfea8d0ff5 New notaries activate 814000 2018-04-17 10:39:11 +03:00
jl777
00f5987075 New notaries activate 814000 2018-04-17 10:38:33 +03:00
jl777
7eac8c6bc2 New notaries activate 814000 2018-04-17 10:37:47 +03:00
jl777
32b915c93d test 2018-04-17 10:24:56 +03:00
Michael Toutonghi
abb90a8979 chainparams 2018-04-16 21:36:28 -07:00
Jonathan "Duke" Leto
cb0e43a8a9 Script to stop all asset chains 2018-04-16 17:17:36 -07:00