OSDN Git Service

Full node prohibit connect to spv node (#1272)
authormuscle_boy <shenao.78@163.com>
Fri, 24 Aug 2018 06:24:54 +0000 (14:24 +0800)
committerPaladz <yzhu101@uottawa.ca>
Fri, 24 Aug 2018 06:24:54 +0000 (14:24 +0800)
commitfa16a9735a056cfcdfc3514ad209607f66da726d
treeb77d4f790f7068e50704f1d452841f36b19f6c8e
parent352967c260dcaabbba02285e19bf48da83b612d3
Full node prohibit connect to spv node (#1272)

* the transaction output amout prohibit set zero

* add network access control api

* format import code style

* refactor

* code refactor

* bug fix

* the struct node_info add json field

* estimate gas support multi-sign

* add testcase of estimate gas

* add testcase

* bug fix

* add test case

* test case refactor

* list-tx,list-address,list-utxo support partition

* list-addresses list-tx list-utxo support pagging

* refactor pagging

* fix save asset

* fix save external assets

* remove blank

* remove useless context

* remove redudant web address config

* fix bug

* remove useless ctx

* add spv message struct

* remove redundant

* refactor message struct

* refactor message struct

* add filter load message handler

* add debug log

* bug fix spv

* bug fix

* bug fix

* refactor

* refactor

* add merkle proof

* add merkle flags test case

* add multiset

* bug fix and refactor

* bug fix

* remove redundant code

* bug fix

* bug fix

* format code

* refactor merkle tree

* refactor

* refactor

* fix bug for make test

* bug fix

* move merkle tree to bc level

* NewMinedBlockMessage not broadcast to the spv node

* refactor

* refactor

* refactor

* merkle tree bug fix

* merkle tree bug fix

* limit the size of filter address

* bug fix

* refactor

* fix full node connect to spv node

* format code

* bug fix

* fix bug
p2p/switch.go