kazcw
56f165bdc1
prevent peer flooding request queue for an inv
...
mapAlreadyAskedFor does not keep track of which peer has a request queued for a
particular tx. As a result, a peer can blind a node to a tx indefinitely by
sending many invs for the same tx, and then never replying to getdatas for it.
Each inv received will be placed 2 minutes farther back in mapAlreadyAskedFor,
so a short message containing 10 invs would render that tx unavailable for 20
minutes.
This is fixed by disallowing a peer from having more than one entry for a
particular inv in mapAlreadyAskedFor at a time.
2016-09-15 23:17:34 -07:00
Sean Bowe
0a958ae7f6
Write R1CS output to file in GenerateParams.
2016-09-14 15:57:54 -06:00
jl777
d6b8e2c2c0
test
2016-09-14 13:16:59 -03:00
jl777
6343f5e30f
gethex
2016-09-14 13:06:12 -03:00
jl777
7d36ed9e1d
test print
2016-09-14 12:59:08 -03:00
jl777
24522e1d2a
print remove
2016-09-14 06:57:06 -03:00
jl777
d27afb07eb
block check overrides
2016-09-14 06:22:24 -03:00
jl777
778ca57b14
stdio
2016-09-14 06:09:27 -03:00
jl777
a614521c13
ifdef
2016-09-14 06:08:33 -03:00
jl777
431cce983e
messages
2016-09-14 06:03:47 -03:00
jl777
2deb9e7483
vector
2016-09-14 05:40:16 -03:00
jl777
ace19d6346
id
2016-09-14 05:34:34 -03:00
jl777
f6b8d87ed4
i hate c++ strings
2016-09-14 05:32:48 -03:00
jl777
891b2e16b6
)
2016-09-14 05:29:57 -03:00
jl777
f211fbb32a
skip command
2016-09-14 05:29:06 -03:00
jl777
07eff10791
syntax
2016-09-14 05:25:07 -03:00
jl777
d2451560a2
ss.str()
2016-09-14 05:23:57 -03:00
jl777
0217d91cd2
ToString
2016-09-14 05:22:33 -03:00
jl777
9fc05259a7
syntax
2016-09-14 05:21:26 -03:00
jl777
93b5c955d4
fix syntax
2016-09-14 05:17:26 -03:00
jl777
1fb0786301
syntax
2016-09-14 05:14:32 -03:00
jl777
fcd361184f
komodo message hooks
2016-09-14 05:12:12 -03:00
jl777
f03d63720c
reduce allowed future timestamp 2hrs -> 10 min
2016-09-14 04:20:11 -03:00
jl777
f333b7b9e9
ICO allocation
2016-09-13 16:14:36 -03:00
jl777
1a32177712
PoS block
2016-09-13 15:51:25 -03:00
jl777
3a02f67bf3
coin supply, rewards
2016-09-13 15:04:42 -03:00
jl777
684eb8d626
test
2016-09-13 14:36:32 -03:00
jl777
11db2ca24c
skip minpeers
2016-09-13 14:33:21 -03:00
jl777
e725f1cbf1
test
2016-09-13 14:28:23 -03:00
jl777
f3ae714c95
qt
2016-09-13 13:57:57 -03:00
jl777
94cc76bf6c
fix rpc ports
2016-09-13 13:22:54 -03:00
jl777
5166804f02
komodo strings
2016-09-13 13:03:02 -03:00
jl777
202856091f
1 minute blocks
2016-09-13 12:14:10 -03:00
jl777
3090f2a15b
change chain params
2016-09-13 12:09:42 -03:00
Jack Grigg
9e52ca3205
Measure multithreaded solveequihash time per-thread
2016-09-13 16:12:07 +12:00
Jack Grigg
3a15b1637e
Move serialized Zcash address length constants into zcash/Address.hpp
2016-09-13 14:21:49 +12:00
Jack Grigg
6ae516f10b
Check we haven't trashed the first key entry with the second
2016-09-13 14:21:49 +12:00
Jack Grigg
16d140f4a2
Add support for encrypting spending keys
2016-09-13 14:21:49 +12:00
0163f8faa2
Closes #1371 by updating signed message
2016-09-12 11:01:28 -07:00
Sean Bowe
88188dc2a3
Update pchMessageStart and add testnet DNS boostrapper.
2016-09-09 00:37:49 -06:00
Sean Bowe
f11099e2f0
Change version to 1.0.0. This is just a beta.
2016-09-09 00:33:20 -06:00
Jack Grigg
48bb727d8a
Remove .z# suffix from version
2016-09-09 00:22:18 -06:00
Simon
b11bb0e26a
Replace GetTxid() with GetHash()
2016-09-08 21:54:34 -07:00
Simon
6114cfe767
Improve check that user supplied memo field is too long.
2016-09-08 21:46:15 -07:00
Simon
e79ded8a47
Remove line of commented out code we don't need
2016-09-08 21:46:15 -07:00
Simon
dfc0080d06
Update comment with ticket issue number
2016-09-08 21:46:15 -07:00
Simon
1eb8789789
Add assert
2016-09-08 21:46:15 -07:00
Simon
ed42053a6c
Fix formatting
2016-09-08 21:46:15 -07:00
Simon
2ad0b7bfe2
Use zcash constants
2016-09-08 21:46:15 -07:00
Simon
b99d4f9b17
Improve error reporting when attempting to spend coinbase utxos.
2016-09-08 21:46:15 -07:00