Commit Graph
2872 Commits
Author SHA1 Message Date
jl777 52985d544d Test 2018-04-13 18:19:28 +03:00
jl777 913339f118 Test 2018-04-13 17:50:25 +03:00
jl777 e477852b1a Test 2018-04-13 17:47:12 +03:00
jl777 f527fcdb97 Test 2018-04-13 17:46:08 +03:00
jl777 63745869e4 Test 2018-04-13 17:04:23 +03:00
jl777 81323657a2 Test 2018-04-13 16:51:40 +03:00
Pavol Rusnak 2bc62dc4e3 limit total length of user agent comments
Reworked-By: Wladimir J. van der Laan <laanwj@gmail.com>
2018-04-13 07:40:34 -06:00
jl777 2b00bd236c Test 2018-04-13 16:22:27 +03:00
jl777 071f1be1f6 Test 2018-04-13 16:16:46 +03:00
jl777 141950a496 Test 2018-04-13 16:03:45 +03:00
jl777 ce363f878e Test 2018-04-13 15:49:27 +03:00
Jack Grigg 39ee63c876 When rewinding, reset pindexBestInvalid if it is pointing to a removed block 2018-04-11 21:46:58 -06:00
jl777 5c88890539 Test 2018-04-11 23:24:58 +03:00
jl777 409c28a2e2 Test 2018-04-10 19:46:33 +03:00
jl777 294925c70a Test 2018-04-10 18:22:32 +03:00
jl777 b1e74295fd Test 2018-04-10 18:19:27 +03:00
jl777 4786d20c0b PoW targeting in -ac_staking=perc mode 2018-04-10 16:40:59 +03:00
Michael Toutonghi 36647d52f7 Added ac-eras parameter, which enables multiple reward eras by allowing other ac_reward releated parameters to accept comma separated lists of values, one for each era 2018-04-09 22:48:54 -07:00
jl777 5bb3d0fe9f Test 2018-04-10 01:19:49 +03:00
jl777 d9b696bb26 Test 2018-04-09 17:04:39 +03:00
jl777 c38ad7246d Test 2018-04-09 16:48:19 +03:00
jl777 9aa73758b7 Test 2018-04-09 16:46:55 +03:00
jl777 f0a5789a5b Test 2018-04-09 16:43:37 +03:00
jl777 935fee29b5 Test 2018-04-09 16:41:32 +03:00
jl777 9339a0cbbd Test 2018-04-09 16:26:57 +03:00
jl777 8d787d2580 Test 2018-04-08 21:55:19 +03:00
jl777 fd836de79b Test 2018-04-08 19:59:29 +03:00
jl777 91165f19e6 Test 2018-04-08 19:01:04 +03:00
jl777 dbbdf7de87 Test 2018-04-08 18:57:56 +03:00
jl777 6a933d59d8 Test 2018-04-08 18:53:33 +03:00
jl777 84165583ca Merge branch 'dev' into jl777 2018-04-08 13:19:02 +03:00
jl777 53db65421e Merge pull request #538 from libscott/cryptoconditions
Crypto-Conditions
2018-04-08 13:18:26 +03:00
jl777 ce5dd5473e Test 2018-04-07 18:53:54 +03:00
jl777 ea1244288b Test 2018-04-07 15:50:31 +03:00
jl777 b7dc56995e Test 2018-04-07 15:48:51 +03:00
jl777 de4a435c68 Test 2018-04-07 15:42:18 +03:00
jl777 cf7f440296 Test 2018-04-06 18:29:45 +03:00
jl777 6b30b27c1c Test 2018-04-06 17:44:47 +03:00
jl777 b0bd536aad Test 2018-04-06 17:25:31 +03:00
jl777 09a3e8c285 Test 2018-04-06 13:25:11 +03:00
jl777 5ba45a00f1 Test 2018-04-06 13:23:39 +03:00
jl777 0b652b660a Test 2018-04-06 13:22:26 +03:00
jl777 5c079fa330 Test 2018-04-06 13:18:38 +03:00
R E Broadley 4f31d82395 Allow filterclear messages for enabling TX relay only.
An example of where this might be useful is allowing a node to connect blocksonly during IBD but then becoming a full-node once caught up with the latest block. This might also even want to be the default behaviour since during IBD most TXs appear to be orphans, and are routinely dropped (for example when a node disconnects). Therefore, this can waste a lot of bandwidth.

Additionally, another pull could be written to stop relaying of TXs to nodes that are clearly far behind the latest block and are running a node that doesn't store many orphan TXs, such as recent versions of Bitcoin Core.
2018-04-05 01:30:38 +01:00
Jack Grigg 2b7fcab8fc Move bloom filter filtering logic back into command "switch" 2018-04-05 01:30:38 +01:00
Matt Corallo 1c82adeb87 Don't do mempool lookups for "mempool" command without a filter 2018-04-05 01:30:12 +01:00
Patick Strateman f07ad43553 Add enforcenodebloom option.
Previously peers which implement a protocol version less than NO_BLOOM_VERSION
would not be disconnected for sending a filter command, regardless of the
peerbloomfilter option.

Many node operators do not wish to provide expensive bloom filtering for SPV
clients, previously they had to cherry pick the commit which enabled the
disconnect logic.

The default should remain false until a sufficient percent of SPV clients
have updated.
2018-04-05 01:30:12 +01:00
Patick Strateman d06ae252a0 Move bloom filter filtering logic outside of command "switch" (giant if/else).
Moving this logic outside of the "switch" makes it far simpler to
enable the forced disconnect by a parameter.
2018-04-05 01:30:12 +01:00
Matt Corallo 8bc4461326 Add NODE_BLOOM service bit and bump protocol version
Lets nodes advertise that they offer bloom filter support explicitly.
The protocol version bump allows SPV nodes to assume that NODE_BLOOM is
set if NODE_NETWORK is set for pre-170004 nodes.

Also adds an option to turn bloom filter support off for nodes which
advertise a version number >= 170004. Nodes attempting to use bloom
filters on such protocol versions are banned, and a later upgade
should drop nodes of an older version which attempt to use bloom
filters.

Much code stolen from Peter Todd.

Zcash: Implements Zcash equivalent of BIP 111; deploys with Overwinter
2018-04-05 01:30:12 +01:00
Daira Hopwood 473a113241 Don't increase banscore if the transaction only just expired.
Author: Jack Grigg <str4d@z.cash>
2018-04-04 01:29:47 +01:00