Rongjian Lan
1241ece48c
Fix testnet config for staking ( #2182 )
...
* Add one-off block verification rule for beacon chain bad block
* Add more comment
* Fix testnet config
5 years ago
Rongjian Lan
d98267c113
Add one-off block verification rule for beacon chain bad block ( #2180 )
...
* Add one-off block verification rule for beacon chain bad block
* Add more comment
5 years ago
Rongjian Lan
721611a949
Report duplicate bls keys on the same validator as error ( #2179 )
...
* Update description fields individually; Cleanup staking txn fields
* fix build
* Update max total edit logic
* fix lint
* Change edit description to object
* fix lint
* 0 means no-op for edit validator
* Report duplicate bls keys on the same validator as error
5 years ago
Edgar Aroutiounian
0ce02381cc
[rpc] Remove IsBeaconChainExplorerNode, let any node on beaconchain calculate median stake ( #2177 )
5 years ago
Rongjian Lan
cb69e9e251
Merge branch 'master' into blacklist
5 years ago
Rongjian Lan
c9072fc1b6
Make 0 value no-op for minself and maxtotal in edit validator ( #2174 )
...
* Update description fields individually; Cleanup staking txn fields
* fix build
* Update max total edit logic
* fix lint
* Change edit description to object
* fix lint
* 0 means no-op for edit validator
5 years ago
Edgar Aroutiounian
0a0a6336bc
[node][availability] Move validator staking update in writeblockwithstate earlier in body, temp disable availability ( #2175 )
5 years ago
Rongjian Lan
96814d3361
Update description fields individually; Cleanup staking txn fields ( #2173 )
...
* Update description fields individually; Cleanup staking txn fields
* fix build
* Update max total edit logic
* fix lint
* Change edit description to object
* fix lint
5 years ago
Daniel Van Der Maden
de1a3152df
[cmd] Refactor for blacklist changes
...
* Remove error for blacklist file not found
* Clarify blacklist usage
* Update blacklist map key
5 years ago
Daniel Van Der Maden
d6365f94a6
[core + node] Change blacklist map and err returns
...
* Blacklist map now have values of empty structs
* Err causes are now returned when adding txs to tx-pool
5 years ago
Daniel Van Der Maden
770c2139bd
Merge branch 'master' into blacklist
5 years ago
Daniel Van Der Maden
28a2bbba55
[core] Make `addTxsLocked` return slice of error causes
5 years ago
Leo Chen
784fe7cab7
Merge pull request #2171 from LeoHChen/disable_archival_node
...
[node.sh] disable archival node mode by default
5 years ago
Daniel Van Der Maden
c2bcb3dd32
[cmd] Remove blocking blacklist error
5 years ago
Daniel Van Der Maden
98e43099cf
[core tests] Remove `errors` superset lib to satisfy goimports
5 years ago
Daniel Van Der Maden
367f4c9602
[core] Fix comment for golint
5 years ago
Daniel Van Der Maden
a339f26687
[node.sh] Add blacklist file specification option
5 years ago
Daniel Van Der Maden
9b97fc48b9
[blacklist] Add default file
5 years ago
Daniel Van Der Maden
2c56bb495b
[main] Update for new `node` constructor sig
5 years ago
Daniel Van Der Maden
4d8cf3b3e9
[node] Update test for new constructor sig
5 years ago
Daniel Van Der Maden
09977c8dd1
[node] Add blacklist to constructor
5 years ago
Daniel Van Der Maden
90ef8022bd
[core] Add blacklist test
5 years ago
Daniel Van Der Maden
025a3093de
[core] Add blacklist check in `validateTx` & add blacklist map to tx pool config
5 years ago
Daniel Van Der Maden
33d2e27544
[main] Add blacklist file option & parser
5 years ago
Leo Chen
eac8d392ff
[node.sh] disable archival node mode by default
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
flicker-harmony
57f937fa24
Merge pull request #2169 from flicker-harmony/pr_hmyv2_back_master
...
hmyv2 is back for master
5 years ago
flicker-harmony
8fdb4c4803
Review feedback
5 years ago
flicker-harmony
e4d56a16d2
Add missing block signers
5 years ago
flicker-harmony
8625c9088b
Fix median raw stake
5 years ago
flicker-harmony
99a2fdc1e2
Transaction pool v2 blockNr uint64
5 years ago
flicker-harmony
83200e512e
Fix lint
5 years ago
flicker-harmony
335b5e4bc7
uint64 blockNr
5 years ago
flicker-harmony
bf96109f04
hmyv2 is back for master
5 years ago
Leo Chen
0fff547237
Merge pull request #2166 from LeoHChen/cherry-pick-changes-from-s3
...
Cherry pick changes from s3
5 years ago
Leo Chen
7e0e733471
golint fix
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
b724381385
Merge pull request #2075 from LeoHChen/upgrade_go_version_in_travis_ci
...
[build] upgrade to 1.13 for travis build
5 years ago
Leo Chen
4580b11eda
[p2p] remove redundant debug log message in getTopic
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
e3f8718204
[p2p] support options in pubsub
...
increase peer outbound queue size from default 32 to 64
use P2P_TRACEFILE to control the p2p pubsub tracer
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
55add2d522
[go.mod] update libp2p-pubsub to 0.2.5
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
af2661022f
Revert "Merge pull request #1978 from LeoHChen/revert-libp2p"
...
This reverts commit 003b6c6ed5
, reversing
changes made to efc0ae111c
.
5 years ago
Leo Chen
5e7ac9910c
[libp2p] add libp2p debug log option
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
cb5c6dab27
[build] add back library files to md5sum
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Daniel Van Der Maden
9fe8792c02
Report failed (non-staking) transactions ( #2160 )
...
* [node/worker] Remove regular txn error sink
* [tests] Remove error sink fn field
* [core/types] Add `NewRPCTransactionError` fn
* [core] Report failed txs from tx_pool via error sink & wrap errs with useful msgs
* [core/test] Update tests for tx_pool error sink
* [node] Make all nodes record txs & add tx error sink RPC callback to `NewTxPool`
Co-authored-by: Edgar Aroutiounian <edgar.factorial@gmail.com>
5 years ago
Leo Chen
c4f36484ea
Merge pull request #2161 from LeoHChen/small_test_net_for_open_staking
...
[config] a small test net configuration for open staking
5 years ago
Leo Chen
063fb58c7c
[config] a small test net configuration for open staking
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
coolcottontail
b9ccefb20f
check harmony pubkey
5 years ago
coolcottontail
cd7a57f008
updated node.sh to verify the downloaded harmony binarnies
5 years ago
Jong Hyuck Won
973ac15c8b
[StateSync] add retries to process state sync where failed peer config is excluded on the next try ( #1835 )
...
* add retries to process state sync where failed peer config is excluded on the next try
* Updated per @fxfactorial 's review comments.
* use anonymous function as a callback for iteration
5 years ago
flicker-harmony
b42b3d3d91
Refactor apis on master ( #2150 )
...
Co-authored-by: Edgar Aroutiounian <edgar.factorial@gmail.com>
5 years ago
Edgar Aroutiounian
44c5704fc3
[slash][quorum][consensus] Extend existing data structures for slashing needs ( #2148 )
...
* [slashing] Add Slashing fields in header, only available from v3 onward
* [slashing] Add Banned field to validator struct
* [consensus] Remove dead code
* [node] Use named value for shardID of beaconchain
* [consensus] No need to memory thrash Buffer
* [slashing] Add slash record type, stub out BroadcastSlash
* [cmd] Bump 2019 -> 2020
* [votepower] Add ballot results structs
* [quorum][slash] Refactor quorum to accomdate extra data points needed for slashing
* [consensus] Begin refactor of consensus leader messages
* [consensus] Accomdate consensus for changed method signatures in quorum
* [project] Whitespace and helper function
* [block] More comments and logs for fields that do not make sense in earlier v version
* [slashing] More comments, field renames, tag Edgar TODO
* [quorum] Undo name change of Prepare to Announce, was mislead by other existing code
5 years ago