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 }
23 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 |
Rongjian Lan | aa325515b3 |
fix txn lookup by eth hash for hmy txn
|
4 years ago |
Rongjian Lan | dbcebfaca5 |
always add eth hash lookup key
|
4 years ago |
Rongjian Lan |
9ab1038111
|
Use and return the Ethereum tx hash for Ethereum txs (#3512)
* Return the Ethereum tx hash for Ethereum txs * fix txn lookup check * Fix test * use the right txn hash * fix nil pointer on txn lookup Co-authored-by: Sebastian Johnsson <sebastian.johnsson@gmail.com> |
4 years ago |
Rongjian Lan |
4fdb194f27
|
Add eth txn hash lookup entry (#3510)
|
4 years ago |
Jacky Wang |
2430a85162
|
[core] node stuck fix (#3378)
* [rawdb] add error handling to all rawdb write. Add fdlimit module. Fix the node stuck * [core] switch back the batch write condition in InsertReceiptChain * [core] add comments on isUnrecoverableErr |
4 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 |
Jong Hyuck Won |
b9843abde5
|
RPC for staking txns and txns history queries (#2554)
* staking txn. look up by hash fix on api backend rawdb storage * node explorer staking txn 'history' RPC layer support * fix unit test * add error log when explorer node db instance cannot be fetched * revert unwanted merge changes during rebase * use already encoded tx message fields for get staking txn rpc * update explorer node storage service for staking txns * use hex string for staking transaction data field * revert transaction pool apiv1 changes |
5 years ago |
Ganesha Upadhyaya |
8a657a30ba
|
fixes #2278 (#2283)
fixing imports |
5 years ago |
Rongjian Lan | 1a5757b249 |
Add full block reward integration; fix staking index bug; add staking txn signer check (#1889)
* Fix block rewards; Add staking signer check; Allow 0 MaxTotalDelegation * Fix lint * Add full block reward integration; fix staking index bug; add staking txn signer check |
5 years ago |
Ganesha Upadhyaya | 2d72333f15 |
adding core to handle staking transaction receipts
|
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 | 2a7168a46b |
Fix nil panic if block is not found in database
This could occur as a result of database corruption or database update race, where transaction → (blockHash, blockNum, txIndex) lookup succeeds but the body for blockHash is not (yet) in the database. |
5 years ago |
Eugene Kim | ef87783790 |
Avoid deep-copying txs for ReadTransaction
|
5 years ago |
Eugene Kim | ad0434aee4 |
Convert existing Body field users to use accessors
|
5 years ago |
Nye Liu | 1499169d40 |
[#1505] Log byte arrays as Hex Strings (#1506)
|
5 years ago |
charleszqwang | aa2e800575 |
Change Byte Output in Zerolog to Hex
|
5 years ago |
Kai Lee | 593c881632 |
Log common.Hash with hex instead of TerminalString/Bytes()
|
5 years ago |
Kai Lee | 46e41dda3d |
Replace all logs in core module to use zerolog
|
5 years ago |
Kai Lee | 7aaa06faa3 |
Replaced loggers in `core/` with custom shared logger
|
6 years ago |
Leo Chen | 2a602db9b0 |
fix the build after rename the repo to harmony-one
[TEST] $ ./go_executable_build.sh Harmony (C) 2018. benchmark, version v1174-23ace87 (ec2-user@ 2018-11-15T12:07:48+0000) Harmony (C) 2018. txgen, version v1174-23ace87 (ec2-user@ 2018-11-15T12:07:48+0000) Signed-off-by: Leo Chen <leo@harmony.one> |
6 years ago |
Rongjian Lan | c64f2dbd44 |
Integrate eth code into harmony with a simple main entry point
|
6 years ago |