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
Homu
ec6021950d
Auto merge of #3176 - daira:use-https-for-bdb, r=daira
...
Use https: for BDB backup download URL.
2018-04-17 02:13:10 -07: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
5f9bbd616e
Merge pull request #592 from jl777/mergemaster
...
Mergemaster
2018-04-17 10:31:21 +03:00
jl777
32b915c93d
test
2018-04-17 10:24:56 +03:00
jl777
6f27d2ef09
Merge pull request #591 from letolabs/jl777
...
Script to stop all asset chains
2018-04-17 10:18:09 +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
jl777
e720d2d52b
Test
2018-04-16 23:36:42 +03:00
jl777
eec7c7822b
Test
2018-04-16 23:36:08 +03:00
jl777
f78ecb0aba
Test
2018-04-16 23:35:38 +03:00
jl777
5afd0f5da3
Test
2018-04-16 23:26:51 +03:00
jl777
0ceae28235
Test
2018-04-16 23:21:51 +03:00
jl777
0b28810237
Test
2018-04-16 23:21:24 +03:00
jl777
091240c1c2
Test
2018-04-16 23:20:46 +03:00
jl777
209fce7187
Test
2018-04-16 23:17:46 +03:00
jl777
2814a36378
Test
2018-04-16 23:16:57 +03:00
jl777
f7ce3004cd
Test
2018-04-16 23:15:02 +03:00
jl777
79d6d16cfc
Test
2018-04-16 23:06:03 +03:00
jl777
707b061c25
Test
2018-04-16 23:03:05 +03:00
jl777
404721449e
Test
2018-04-16 22:54:24 +03:00
jl777
0c8ffe59fd
Test
2018-04-16 22:52:58 +03:00