Tag:
Branch:
Tree:
01691fd3ea
cleanup/streamsync
delete/old_pending_crosslinks
dependabot/go_modules/github.com/quic-go/quic-go-0.37.7
dependabot/go_modules/google.golang.org/protobuf-1.33.0
dev
dev1secfin
feature/address-to-bls
feature/clear-stale-staking-data
feature/clear-stale-staking-data-31024
feature/dev-clear-stake-031024
feature/dev-engine_test
feature/elk
feature/go1.20
feature/go1.21
feature/groth16
feature/log_tx
feature/proposal
feature/refactor-consensus-view
feature/state_pruning_codes
feature/updated-libp2p-version
feature/updated-protobuf
fix/backup-initialization
fix/crosslink_processing
fix/data-race1
fix/delegation
fix/dev-go-mod
fix/dumpdb_memory_usage
fix/import
fix/is-backup
fix/legacysync_existed_block
fix/list-mile-block
fix/only-valid-blocks
fix/removed-outdated-check
fix/rollback2
fix/rotation-with-revert
fix/shard-id-from-key
fix/snapshot_disabled
fix/stakedVoteWeight
fix/streamsync_context
fix/vw_prefix
improvement/stream_sync_single_tx
log/pending_crosslinks
main
mergify/sophoah/config-update
revert-4628-fix/only-valid-blocks
update/ethdb2024
1.3.1
banjo_tag
before_sc
cello_tag
deployed-20190514T205159-puzzle
deployed-20190611T020930-drum
devnet+utxo
drum_20190612
drum_20190612a
drum_20190613
drum_20190614
drum_20190615
drum_20190616
drum_20190616a
drum_20190616b
drum_20190616c
drum_20190618
drum_tag
mainrc2_20190619b
mainrc2_20190619c
master-20191029.0
master-20191205.0
master-20191205.1
master-20191205.2
master-20191205.3
master-20191207.0
master-20191207.1
master-20191207.2
master-20191208.0
pangaea-20190820.0
pangaea-20190822.0
pangaea-20190903.0
pangaea-20190909.0
pangaea-20190909.1
pangaea-20190910.0
pangaea-20190912.0
pangaea-20190919.0
pangaea-20190919.1
pangaea-20190920.0
pangaea-20190924.0
r3-20190730
r3-20190730.1
r3-20190731
r3-20190801
r3-20190807
r3-20190810.0
r3-20190812.0
r3-20190814.0
r3-20190816.0
r3-20190822.0
r3-20190827.0
r3_20190623
r3_20190623.1
r3_20190626
r3_20190628
r3_20190726
s3-20190830.0
s3-20190830.1
s3-20190903.0
testnet-20191011.0
testnet-20191013.0
v1-20190910.0
v1-20190911.0
v1-20190911.1
v1-20190914.0
v1-20190914.1
v1-20190917.0
v1-20190924.0
v1-20191001.0
v1-20191001.1
v1-20191008.0
v1-20191019.0
v1-20191019.1
v1-20191207.0
v1.0-020200317.0
v1.0-1901
v1.0-1902
v1.0-20200316.0
v1.0-20200405.0
v1.0-20200405.2
v1.0-20200405.3
v1.0-20200405.4
v1.0-20200405.5
v1.0-20200405.6
v1.0-20200406.1
v1.0-20200414.0
v1.1.0
v1.1.1
v1.10.0
v1.10.1
v1.10.2
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.2.4
v1.2.5
v1.2.6
v1.2.7
v1.3.0
v1.3.1
v1.3.10
v1.3.11
v1.3.12
v1.3.2
v1.3.3
v1.3.4
v1.3.5
v1.3.6
v1.3.7
v1.3.8
v1.3.9
v1.9.0
v2.0.0
v2.1.0
v2.1.1
v2.1.2
v2.1.3
v2.1.4
v2.1.5
v2.1.6
v2.1.7
v2.1.8
v2.1.9
v2.2.0
v2.3.0
v2.3.1
v2.3.2
v2.3.3
v2.3.4
v2.3.5
v2.3.6
v2.3.6-2
v2.3.7
v2.3.8
v2.4.0
v2013.1.3
v2023.1.0
v2023.1.1
v2023.2.0
v2023.2.1
v2023.2.2
v2023.2.4
v2023.2.5
v2023.2.6
v2023.2.7
v2023.3.0
v2023.4.0
v2023.4.1
v2023.4.2
v2024.0.0
v3.0.0
v3.1.0
v3.1.1
v3.1.15
v3.1.2
v3.1.3
v3.1.4
v4.0.0
v4.0.0-d
v4.0.1
v4.1.0
v4.1.1
v4.1.10
v4.1.2
v4.1.3
v4.1.4
v4.1.5
v4.1.6
v4.1.7
v4.1.8
v4.1.9
v4.2.0
v4.2.1
v4.3.0
v4.3.1
v4.3.10
v4.3.11
v4.3.12
v4.3.13
v4.3.14-rc
v4.3.14-rc2
v4.3.14.rc3
v4.3.2
v4.3.3
v4.3.4
v4.3.5
v4.3.6
v4.3.7
v4.3.8
v4.3.9
${ noResults }
38 Commits (01691fd3ea0840b25de58160cec1308829e2c209)
Author | SHA1 | Message | Date |
---|---|---|---|
Casey Gardiner |
01691fd3ea
|
Release Candidate 2023.2.0 ( dev -> main ) (#4399)
* check leader for N blocks * fix * fix * Cleanup and fix update pub keys. * Rotate leader. * fix fix fix fix fix * Cleaned. * Cache for `GetLeaderPubKeyFromCoinbase`, removed `NthNextHmyExt`. * activate epoch * comment activation * 295 epoch * Fix failed tests. * Fixed code review. * Fix review "--port flag". * Fix review comments. * Returned locks in rotateLeader. * Rebased onto dev. * Commented golangci. * staged stream sync v1.0 * fix protocol tests * fix spell * remove unused struct * fix rosetta test * add comments and refactor verify sig * add comments, remove extra function * add comment * refactor errors, rename metrics * refactor p2p host creation * fix initsync and host creation * fix short range hash chain * fix beacon node detection for p2p protocol * refactor stream peer cooldown and fix protocol beacon node field * refactor p2p host and routing * fix p2p discovery test issue * add MaxAdvertiseWaitTime to handle advertisements interval and address stream connection issue * terminal print the peer id and proto id * fix boot complete message when node is shut down * add new config option ( ForceReachabilityPublic ) to fix local-net consensus issue * fix self query issue * fix test NewDNSSyncingPeerProvider * [testnet] disable leader rotation * fix discovery issue for legacy sync * add watermark low/high options for p2p connection manager * add test for new conn manager flags * fix dedent * add comment to inform about p2p connection manager options * fix max height issue * add a separate log for get max height error * fix log * feat: triesInMemory flag * fix: panic if TriesInMemory is 1 to 2 * in progress. * consensus check is forked * fix * Cleanup and fix update pub keys. * fix fix fix fix fix * activate epoch * EpochTBD for leader rotation epoch. * 295 epoch * Decider no longer requires public keys as a dependency. (#4289) * Consensus doesn't require anymore `Node` as a circular dependency. * Proper blockchain initialization. * Rwlock consensus. * Removed channels. * Removed view change locks. * Removed timers locks. * Removed fbft locks. * Removed multiSigMutex locks. * Removed leader locks. * Removed additional locks and isViewChange. * Added locks detected by race. * Added locks detected by race. * Locks for start. * Removed additional logs. * Removed additional locks. * Removed additional locks. * Make func private. * Make VerifyBlock private. * Make IsLeader private. * Make ParseFBFTMessage private. * Fix remove locks. * Added additional locks. * Added additional locks. * Added readSignatureBitmapPayload locks. * Added HandleMessageUpdate locks. * Added LastMile locks. * Locks for IsValidatorInCommittee. * Fixed locks. * Fixed tests. * Fixed tests. * Fixed lock. * Rebased over leader rotation. * Fix formatting. * Rebased onto dev. * in progress. * consensus check is forked * update master * fix leader * check leader for N blocks * fix * fix * Cleanup and fix update pub keys. * Rotate leader. * fix fix fix fix fix * Cleaned. * Cache for `GetLeaderPubKeyFromCoinbase`, removed `NthNextHmyExt`. * comment activation * 295 epoch * Fix failed tests. * Fixed code review. * Fix review comments. * Merged leader rotation. * Rebased on dev. * Rebased on dev. * Fix usage of private methods. * Fix usage of private methods. * Fix usage of private methods. * Removed deadcode, LockedFBFTPhase. * Fix review comment. * Fix review comment. * Go mod tidy. * Set to EpochTBD. * Fix tests. * [core] fix state handling of self destruct If a contract self destructs to self and then receives funds within the same transaction, it is possible for its stale state to be saved. This change removes that possibility by checking for deleted state objects before returning them. * Fixed race error. * rpc: add configurable http and `eth_call` timeout * remove default timeouts * store the evm call timeout in rosetta object * [cmd] actually apply ToRPCServerConfig * Removed unused method. * Rotate external leaders on non-beacon chains. * Fix nil panic. * in progress. * in progress. * in progress. * consensus check is forked * update master * fix leader * check leader for N blocks * fix * fix * Cleanup and fix update pub keys. * Rotate leader. * fix fix fix fix fix * Cleaned. * Cache for `GetLeaderPubKeyFromCoinbase`, removed `NthNextHmyExt`. * Fixed code review. * Fix review comments. * Returned locks in rotateLeader. * Rebased onto dev. * staged stream sync v1.0 * refactor errors, rename metrics * fix p2p discovery test issue * add watermark low/high options for p2p connection manager * fix dedent * in progress. * consensus check is forked * fix * Cleanup and fix update pub keys. * fix fix fix fix fix * activate epoch * EpochTBD for leader rotation epoch. * 295 epoch * Decider no longer requires public keys as a dependency. (#4289) * Consensus doesn't require anymore `Node` as a circular dependency. * Proper blockchain initialization. * Rwlock consensus. * Removed channels. * Removed view change locks. * Removed multiSigMutex locks. * Removed leader locks. * Removed additional locks and isViewChange. * Added locks detected by race. * Added locks detected by race. * Locks for start. * Removed additional locks. * Removed additional locks. * Make func private. * Make VerifyBlock private. * Make IsLeader private. * Make ParseFBFTMessage private. * Fix remove locks. * Added additional locks. * Added additional locks. * Added readSignatureBitmapPayload locks. * Added HandleMessageUpdate locks. * Added LastMile locks. * Locks for IsValidatorInCommittee. * Fixed locks. * Fixed tests. * Fixed lock. * Rebased over leader rotation. * in progress. * consensus check is forked * update master * fix leader * check leader for N blocks * fix * fix * Cleanup and fix update pub keys. * Rotate leader. * fix fix fix fix fix * Cleaned. * Cache for `GetLeaderPubKeyFromCoinbase`, removed `NthNextHmyExt`. * Fix failed tests. * Fixed code review. * Fix review comments. * Merged leader rotation. * Rebased on dev. * Rebased on dev. * Fix usage of private methods. * Fix usage of private methods. * Fix usage of private methods. * Removed deadcode, LockedFBFTPhase. * Fix review comment. * Go mod tidy. * remove default timeouts * Rotate external leaders on non-beacon chains. * Fix nil panic. * Fixes. * Update singleton.go * evm: don't return extcode for validators Due to technical debt, validator information is stored in the code field of the address. The code field can be accessed in Solidity for an arbitrary address using `extcodesize`, `extcodehash`, and `extcodecopy` or helper commands (such as `address.code.Length`). The presence of this field is used by contract developers to (erroneously) deny smart contract access to other smart contracts (and therefore, validators). This PR fixes that oversight by returning the same values as other EOAs for known validator addresses. Obviously, it needs a hard fork that will be scheduled separately. * Fix context passing. * Clean up code. * Removed engine dependency. * Fix possible panic. * Clean up code. * Network type. * Fix tests. * Revert "Removed engine dependency." (#4392) * Revert "Fix tests." This reverts commit |
2 years ago |
peekpi | 8053f87f12 |
record SnapdbInfo to db
|
3 years ago |
Lutty | 622c0c6a44 |
add prune beacon chain feature
|
3 years ago |
Lutty | 3634c43812 |
add prune beacon chain feature
|
3 years ago |
Rongjian Lan |
3808f5317b
|
Make commit sig committed along with the block (#2875)
* Make commit sig committed along with the block * Fix type len check |
5 years ago |
Rongjian Lan |
e9e1a37cc7
|
Remove elected validator list and make sure validator list addrs are unique (#2806)
* Try all messages on committed msg * Remove elected validator list and make sure validator list is unique |
5 years ago |
Edgar Aroutiounian |
a1c8156afc
|
[project] Endless tech debt (#2777)
* [internal] Remove dead RPC/wallet * [rpc] Reduce API surface area for dead RPC * [node] Remove dead flags, unused setters * [project] Unused logger, too many loggers * [core] staticcheck fixes, remove unused db keys * [project] More dead code through, now in param and genesis * [internal] Useless test |
5 years ago |
flicker-harmony | aadeae045c |
Refactor explorer service and add addresses fetch from db
|
5 years ago |
Rongjian Lan |
bbab20442c
|
Change active to elected for validator status (#2320)
|
5 years ago |
Rongjian Lan |
5eda2049d7
|
Refactor offchain data commit; Make block onchain/offchain commit atomic (#2279)
* Refactor offchain data; Add epoch to ValidatorSnapshot * Make block onchain/offchain data commit atomically |
5 years ago |
Edgar Aroutiounian |
801b4b83e2
|
[slash][consensus] Notice double sign & broadcast, factor out tech debt of consensus (#2152)
* [slash] Remove dead interface, associated piping * [slash] Expand out structs * [consensus] Write to a chan when find a case of double-signing, remove dead code * [slash] Broadcast the noticing of a double signing * [rawdb] CRUD for slashing candidates * [slashing][node][proto] Broadcast the slash record after receive from consensus, handle received proto message, persist in off-chain db while pending * [slash][node][propose-block] Add verified slashes proposed into the header in block proposal * [slash][shard] Factor out external validator as method on shard state, add double-signature field * [slash][engine] Apply slash, name boolean expression for sorts, use stable sort * [slash] Abstract Ballot results so keep track of both pre and post double sign event * [slash] Fix type errors on test code * [slash] Read from correct rawdb * [slash] Add epoch based guards in CRUD of slashing * [slash] Write to correct cache for slashing candidates * [shard] Use explicit named type of BLS Signature, use convention * [slash] Fix mistake done in refactor, improper header used. Factor out fromSlice to set * [slash][node] Restore newblock to master, try again minimial change * [cx-receipts] Break up one-liner, use SliceStable, not Slice * [network] Finish refactor that makes network message headers once * [network] Simplify creation further of headers write * [slash] Adjust data structure of slash after offline discussion with RJ, Chao * [slash] Still did need signature of the double signature * [consensus] Prepare message does not have block header * [consensus] Soft reset three files to 968517d~1 * [consensus] Begin factor consensus network intended message out with prepare first * [consensus] Factor out Prepared message * [consensus] Factor out announce message creation * [consensus] Committed Message, branch on verify sender key for clearer log * [consensus] Committed Message Factor out * [consensus] Do jenkins MVP of signatures adjustment * [main][slash] Provide YAML config as webhook config for double sign event * [consensus] Adjust signatures, whitespace, lessen GC pressure * [consensus] Remove dead code * [consensus] Factor out commit overloaded message, give commit payload override in construct * [consensus] Fix travis tests * [consensus] Provide block bytes in SubmitVote(quorum.Commit) * [consensus] Factor out noisy sanity checks in BFT, move existing commit check earlier as was before * [quorum] Adjust signatures in quorum * [staking] Adjust after merge from master * [consensus] Finish refactor of consensus * [node] Fix import * [consensus] Fix travis * [consensus] Use origin/master copy of block, fix mistake of pointer to empty byte * [consensus] Less verbose bools * [consensus] Remove unused trailing mutation hook in message construct * [consensus] Address some TODOs on err, comment out double sign |
5 years ago |
Edgar Aroutiounian | c30886b1d4 |
[reward] Do not update state in reward, thread through payout, write payout on each block
|
5 years ago |
Rongjian Lan | 64d4db80c5 |
fix lint
|
5 years ago |
Rongjian Lan | 178fbde94c |
Fix bls pub key address leader lookup bug
|
5 years ago |
Edgar Aroutiounian |
35d22ce116
|
[reward] Add Accumulator of rewards in DB (#1888)
* [reward] Add Accumulator of rewards in DB * [reward] Update Accumulator after checking all block rewards to state * [reward] Address PR comments #1 * [reward] Make fresh base 18 block reward always * [reward] Remove dead method on fakeChainReader * [committee] Adjust logging of prev,next committee on each usage of updateconsensusinformation * [reward] Set block accumulator only once to 0 when flip to staking epoch * [reward] Separate out condition to write block reward to 0 once past staking epoch (fix mistake) * [reward] lint * [reward] Initial write of reward accumulator needs lower-level first usage * [reward] Give block reward stake adjustment in right denomination |
5 years ago |
chao | 338720b2eb |
fix epoch reading bug; return error in block crosslink verification if crosslink exists; only remove committed crosslink from pending list
|
5 years ago |
chao | fd9fe64129 |
add local cache and storage for pending crosslinks
|
5 years ago |
chao | 87dd2cd2cd |
Simplified CrossLink structure;
Remove temp flag of Read/Write crosslink |
5 years ago |
Rongjian Lan | f3927bd465 |
Add uptime stats
|
5 years ago |
Rongjian Lan | 92f80b0445 |
Add validator snapshot in local db
|
5 years ago |
Rongjian Lan | 317e587dbe |
Add delegator->validators index
|
5 years ago |
Rongjian Lan | 0a4e4d6339 |
update staking transaction structs (#1756)
|
5 years ago |
Rongjian Lan | cbb8659228 |
update staking transaction structs
|
5 years ago |
chao | 19b34b49dd |
add database access
|
5 years ago |
flicker-harmony | 809d77ebf7 |
Fix travis
[cleanup] remove is_genesis flag Signed-off-by: Leo Chen <leo@harmony.one> [nodetype] add nodetype to replace is_explorer Signed-off-by: Leo Chen <leo@harmony.one> fix beacon sync channel blocking issue use lastMileMux to protect lastMileBlock queue to avoid potential blocking; use sleep instead of ticker Fix the beacon committee check [release] add release action to go_executable_build.sh Signed-off-by: Leo Chen <leo@harmony.one> [node.sh] add -d option -d download only Signed-off-by: Leo Chen <leo@harmony.one> [node.sh] add -T node_type option -T node_type support node type (validator/explorer) Signed-off-by: Leo Chen <leo@harmony.one> [node.sh] backward compatible with older harmony binary Signed-off-by: Leo Chen <leo@harmony.one> [node.sh] support -i shard_id option -i shard_id specify shard_id, this is applicable only to explorer node Signed-off-by: Leo Chen <leo@harmony.one> Revisited api Fix rpc integration address some minor issues in comments and code addressed comments on others' buckets Add Global Access to OS Temp Directory Variable and Move DHT Files Into Temp Directory Add flag to disable signers Fix explorer handler Fix explorer handler fix explorer for loop add shardID information in getTransactionByHash RPC CALL Add CXReceipt RPC call; Add indexing for CXReceipt by TxHash use only one index for CXEntryLookup; use shardID instead of fromShardID in RPC returned results |
5 years ago |
Chao Ma | 3980ae6147 |
use only one index for CXEntryLookup; use shardID instead of fromShardID in RPC returned results
|
5 years ago |
chao | f3a89211c8 |
Add CXReceipt RPC call; Add indexing for CXReceipt by TxHash
|
5 years ago |
Eugene Kim | 3ef3044fe8 |
Revert "Merge pull request #1257 from harmony-one/vdf_3"
This reverts commit |
5 years ago |
Eugene Kim | 30b63fc552 |
Revert "Merge pull request #1413 from rlan35/cross-shard-rj"
This reverts commit |
5 years ago |
chao | 1a5bb409e3 |
fix double spent issue
|
5 years ago |
chao | 38a13e1010 |
add key-value store to avoid incomingReceipts double spent
|
5 years ago |
Rongjian Lan | 5580d0df15 |
Add receipt local storage and pending list
|
5 years ago |
Rongjian Lan | 1edbcb0db7 |
Add crosslink support on beacon chain
|
5 years ago |
chao | 0780a1c75a |
add merkle proof generation/validation and cxreceipts message handler function
|
5 years ago |
Chao Ma | ab8fad1905 |
add cxReceipt proof
modify the local key for cxReceipt |
5 years ago |
chao | 02fb5cb7b2 |
add cxReceipt data type; add cxReceipt encode/decode; add logic wip
|
5 years ago |
chao | 5c512bef0e |
add crosslink data structure and leveldb read/write
|
5 years ago |
coolcottontail | fbad541ccf |
added VRF/VDF features
|
5 years ago |
Rongjian Lan | ff7ce4cff5 |
Persist last commit sig
|
5 years ago |
Eugene Kim | b75896f534 |
Make {Read,Write}ShardState take epoch number
Previously it was taking a block number/hash, which was untenable in the long term facing the variable-length epoch logic for regular shards. |
6 years ago |
Eugene Kim | abdfb5e048 |
Add epoch block number storage in rawdb
|
6 years ago |
chaosma |
ef7c2e147c
|
add resharding code (#404)
* add resharding for epoch switch: 1) add randseed and shardStateHash in block header; 2) Read and Write shardState from/to blockchain; 3) perform resharding after every N (epoch length) blocks |
6 years ago |
Rongjian Lan | c64f2dbd44 |
Integrate eth code into harmony with a simple main entry point
|
6 years ago |