Commit Graph

10594 Commits

Author SHA1 Message Date
Jack Grigg
e9006272c2 Add a make command for checking expected failures 2016-09-23 12:32:59 +12:00
Kevin Gallagher
2e113f6b9d Lock to prevent parallel execution of fetch-params.sh
Two instances of the fetch-params.sh script running at once will
result in corruption of the proving key and an error when the
hashes are computed. This implements a lock to stop such a
scenario from occurring.

We also terminate and don't create the symlinks if the downloaded
parameters fail the checksum command.
2016-09-22 03:08:42 -07:00
jl777
80d119ca5a Merge pull request #9 from jl777/dPoW
test
2016-09-21 16:22:43 -03:00
jl777
7c52ae909a Merge pull request #8 from jl777/dPoW
new read me
2016-09-21 16:21:45 -03:00
jl777
1e613927be test 2016-09-21 16:21:24 -03:00
jl777
d7426190e4 new read me 2016-09-21 16:18:52 -03:00
jl777
0dd48c527a Merge pull request #7 from jl777/dPoW
DPoW
2016-09-21 16:05:13 -03:00
zkbot
976479f824 Auto merge of #1411 - bitcartel:master_bitcoin_7106, r=daira
Upstream patch: Fix and improve relay from whitelisted peers

https://github.com/bitcoin/bitcoin/pull/7106
a9f3d3db5c0c8d1697998ed9b3e192ddbf9a31f4

An extra commit modifies the log message string, otherwise there are are a number of commits that need be to backported to add methods e.g. GetDebugMessage.  These commits modify the interface in consensus/validation.h so there are conflicts to be resolved. e.g.
9003c7c
a9ac95c
5f12263
fbf44e6
2016-09-20 19:41:00 -04:00
zkbot
5ef7fecf14 Auto merge of #1407 - bitcartel:master_bitcoin_7079, r=daira
Upstream patch: Prevent peer flooding inv request queue

https://github.com/bitcoin/bitcoin/pull/7079
5029698186445bf3cd69d0e720f019c472661bff
ebb25f4c23adbcb55796c402bafd6064a136f16f
2016-09-20 19:11:28 -04:00
Daira Hopwood
65b502aa98 Benchmark 50 iterations of solveequihash
Since the parameters changed in z8, the benchmark on speed.z.cash is showing misleading results due to variability. (The quartile and extrema bars will still show the variability with 50 runs, they just won't jump around as much between benchmark data points.)
2016-09-19 19:08:24 +01:00
Simon
e63d14fd4d Replace %i format specifier with more commonly used %d. 2016-09-19 09:36:26 -07:00
Bryan Stitt
2f15f588b2 Link to beta guide 2016-09-17 16:05:58 -07:00
de3dd8a015 Modify message string so we don't need to backport commits which implement FormatStateMessage and GetDebugMessage and involve changes to consensus/validation.h 2016-09-16 17:51:46 -07:00
Pieter Wuille
60aed95400 Fix and improve relay from whitelisted peers
This makes sure that retransmits by a whitelisted peer also actually
result in a retransmit.

Further, this changes the logic to never relay in case we would assign
a DoS score, as we expect to get DoS banned ourselves as a result.
2016-09-16 09:28:12 -07:00
Gregory Maxwell
e2190f8017 Limit setAskFor and retire requested entries only when a getdata returns.
The setAskFor duplicate elimination was too eager and removed entries
 when we still had no getdata response, allowing the peer to keep
 INVing and not responding.
2016-09-15 23:41:29 -07:00
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
Alfie John
70db019c6a Updating wording to match Beta Guide 2016-09-15 22:00:13 +10:00
Alfie John
42c03d49f2 Typo in params README 2016-09-15 21:58:55 +10: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
a42912d644 ignore error 2016-09-14 07:36:43 -03:00
jl777
f7f99e3b5f Merge pull request #6 from jl777/dPoW
BDB thanks proto!
2016-09-14 07:27:37 -03:00
jl777
609959b6fb BDB thanks proto! 2016-09-14 07:27:08 -03:00
jl777
564c76555f Merge pull request #5 from jl777/dPoW
formatting
2016-09-14 07:06:47 -03:00
jl777
83482e43b1 formatting 2016-09-14 07:06:12 -03:00
jl777
a65bd5bbdd Merge pull request #4 from jl777/dPoW
DPoW
2016-09-14 07:02:34 -03:00
jl777
0032bbb591 formatting 2016-09-14 07:00:35 -03:00
jl777
24522e1d2a print remove 2016-09-14 06:57:06 -03:00
jl777
93fa889419 docs 2016-09-14 06:54:45 -03:00
jl777
37c38a073d typo 2016-09-14 06:52:21 -03:00
jl777
463846358d Merge pull request #3 from jl777/dPoW
DPoW
2016-09-14 06:43:02 -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
3ea1795dec Merge pull request #2 from jl777/PoS
PoS
2016-09-13 16:15:40 -03:00