OSDN Git Service
xuexiansong [Thu, 22 Jul 2021 08:10:27 +0000 (16:10 +0800)]
add api (#2050)
* add api
* change api
* change api 1
* change api 2
Co-authored-by: Paladz <yzhu101@uottawa.ca>
hauson [Thu, 22 Jul 2021 02:46:19 +0000 (10:46 +0800)]
feat(cache checkpoint): cache checkpoint (#2049)
* feat(cache checkpoint): cache checkpoint
* feat(golint): golint
* feat(modify): modify
* feat(fix): modify checkpoint cache key , cant not be bytes
* feat(fix): fix save check points
Co-authored-by: 崔浩鑫 <cuihaoxin@cuihaoxindeMacBook-Pro.local>
wyjDoraemon [Tue, 20 Jul 2021 08:17:06 +0000 (16:17 +0800)]
edit fed xpub (#2048)
Paladz [Tue, 20 Jul 2021 02:10:44 +0000 (10:10 +0800)]
edit the gas rate (#2045)
* edit the gas rate
* fix ci
* edit the config
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
hauson [Mon, 19 Jul 2021 10:38:41 +0000 (18:38 +0800)]
feat(modify genesis-tx): modify genesis-tx (#2043)
* feat(modify genesis-tx): modify genesis-tx
* feat(only left btm, sup, mag): only left btm, sup, mag
* feat(modify): modify
* feat(modify test): moidfy test
* feat(modify test): modify test
Co-authored-by: 崔浩鑫 <cuihaoxin@cuihaoxindeMacBook-Pro.local>
Co-authored-by: Paladz <yzhu101@uottawa.ca>
Paladz [Mon, 19 Jul 2021 09:06:34 +0000 (17:06 +0800)]
edit the db (#2044)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Mon, 19 Jul 2021 07:46:56 +0000 (15:46 +0800)]
delete unused (#2042)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Fri, 16 Jul 2021 08:32:34 +0000 (16:32 +0800)]
fix veto, vote bug (#2041)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Fri, 16 Jul 2021 04:33:02 +0000 (12:33 +0800)]
edit check coinbase (#2040)
* edit check coinbase
* fix bug
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Fri, 16 Jul 2021 01:41:31 +0000 (09:41 +0800)]
dont do the useless delete (#2039)
* dont do the useless delete
* remove import
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Thu, 15 Jul 2021 09:04:58 +0000 (17:04 +0800)]
casper do all the decide (#2038)
* casper do all the decide
* edit bug
* edit for review
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Thu, 15 Jul 2021 08:49:19 +0000 (16:49 +0800)]
mov the code (#2036)
* mov the code
* skip the coinbase
* casper do all the decide
* Revert "casper do all the decide"
This reverts commit
ffc6453a870a9ed223da35fdf5ffa6d5c08e33e5.
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
boomyl [Thu, 15 Jul 2021 08:15:00 +0000 (16:15 +0800)]
remove unused config simd (#2037)
Paladz [Thu, 15 Jul 2021 06:39:04 +0000 (14:39 +0800)]
roll back bug (#2035)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Poseidon [Thu, 15 Jul 2021 06:18:14 +0000 (14:18 +0800)]
fix_auth_cached_msg (#2034)
Co-authored-by: Paladz <yzhu101@uottawa.ca>
hauson [Thu, 15 Jul 2021 06:16:27 +0000 (14:16 +0800)]
feat(add genesis tx btm issue amount): add genesis tx btm issue amount (#2033)
Paladz [Thu, 15 Jul 2021 03:03:06 +0000 (11:03 +0800)]
delete equity (#2031)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
wyjDoraemon [Thu, 15 Jul 2021 02:40:21 +0000 (10:40 +0800)]
zeroconf version (#2030)
Paladz [Mon, 12 Jul 2021 07:08:29 +0000 (15:08 +0800)]
last small edit (#2028)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Fri, 9 Jul 2021 10:11:18 +0000 (18:11 +0800)]
Edit sup link (#2027)
* edit validation
* edit logic
* edit for code review
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Poseidon [Fri, 9 Jul 2021 07:58:52 +0000 (15:58 +0800)]
opt_auth_loop (#2026)
* opt_auth_loop
* add log
Paladz [Fri, 9 Jul 2021 07:30:22 +0000 (15:30 +0800)]
reduce validator (#2025)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Fri, 9 Jul 2021 05:47:01 +0000 (13:47 +0800)]
fix miss continue (#2024)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Fri, 9 Jul 2021 03:15:12 +0000 (11:15 +0800)]
verify source and target height (#2023)
* verify source and target height
* edit for code review
* edit for code review
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Thu, 8 Jul 2021 07:32:36 +0000 (15:32 +0800)]
edit the garmmar (#2022)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Thu, 8 Jul 2021 06:43:20 +0000 (14:43 +0800)]
edit the event channel (#2021)
* edit the event channel
* fix bug
* edit for code review
* edit for code review
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Wed, 7 Jul 2021 09:56:06 +0000 (17:56 +0800)]
edit the code little bit (#2020)
* edit the code little bit
* fix for code review
* edit for code review
* edit for code review
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Wed, 7 Jul 2021 02:21:21 +0000 (10:21 +0800)]
mov some logic to tree folder (#2019)
* mov some logic to tree folder
* less code
* fix bug
* edit parameter name
* elegant
* edit for code review
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Poseidon [Tue, 6 Jul 2021 03:22:14 +0000 (11:22 +0800)]
fix_affected_checkpoints (#2018)
Poseidon [Tue, 6 Jul 2021 02:32:17 +0000 (10:32 +0800)]
verify_block_header_sign (#2017)
Paladz [Mon, 5 Jul 2021 14:15:06 +0000 (22:15 +0800)]
try remove mid status (#2016)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Mon, 5 Jul 2021 13:01:54 +0000 (21:01 +0800)]
fix reward bu (#2014)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Mon, 5 Jul 2021 07:14:17 +0000 (15:14 +0800)]
don't use change (#2013)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Mon, 5 Jul 2021 06:47:38 +0000 (14:47 +0800)]
Merge func (#2011)
* edit apply votes
* mov all the checkpoint change to same func
* delete some code
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Mon, 5 Jul 2021 01:34:06 +0000 (09:34 +0800)]
edit apply votes (#2010)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Fri, 2 Jul 2021 08:19:54 +0000 (16:19 +0800)]
edit merge checkpoint (#2009)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Poseidon [Fri, 2 Jul 2021 07:15:55 +0000 (15:15 +0800)]
add_validator_for_get_block (#2008)
Poseidon [Fri, 2 Jul 2021 02:04:34 +0000 (10:04 +0800)]
fix_block_exist (#2007)
Poseidon [Thu, 1 Jul 2021 07:59:31 +0000 (15:59 +0800)]
testnet seeds (#2004)
Paladz [Thu, 1 Jul 2021 06:40:12 +0000 (14:40 +0800)]
fix the memory leak (#2003)
* fix the memory leak
* fix ci
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
wyjDoraemon [Thu, 1 Jul 2021 06:34:35 +0000 (14:34 +0800)]
protobuf version 1.5.2->1.4.3 (#2002)
Co-authored-by: Paladz <yzhu101@uottawa.ca>
Poseidon [Thu, 1 Jul 2021 05:34:11 +0000 (13:34 +0800)]
add_account_vote_api (#2000)
* add_account_vote_api
* fix ci
Co-authored-by: Paladz <yzhu101@uottawa.ca>
Paladz [Thu, 1 Jul 2021 03:19:34 +0000 (11:19 +0800)]
edit tx fee (#2001)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Thu, 1 Jul 2021 02:14:17 +0000 (10:14 +0800)]
edit the pledgeRate (#1999)
* edit the pledgeRate
* move RewardThreshold
* edit for code review
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Wed, 30 Jun 2021 10:00:01 +0000 (18:00 +0800)]
create folder for casper (#1998)
* create folder for casper
* fix issue
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Poseidon [Wed, 30 Jun 2021 06:04:59 +0000 (14:04 +0800)]
add_node_xpub_for_net_info (#1997)
Poseidon [Wed, 30 Jun 2021 03:11:49 +0000 (11:11 +0800)]
Vote result api (#1996)
* vote result api
* rename func
wyjDoraemon [Tue, 29 Jun 2021 10:14:51 +0000 (18:14 +0800)]
alter gopkg.in/fatih/set.v0 version,0.2.1 to 0.1.0 (#1995)
Co-authored-by: Paladz <yzhu101@uottawa.ca>
Poseidon [Tue, 29 Jun 2021 08:58:27 +0000 (16:58 +0800)]
add_log_module_for_casper (#1994)
* add_log_module_for_casper
* remove code
Co-authored-by: Paladz <yzhu101@uottawa.ca>
DeKaiju [Mon, 28 Jun 2021 02:33:06 +0000 (10:33 +0800)]
fix(bcrp): don't allow overwrite attachEntries map when apply block (#1993)
wyjDoraemon [Fri, 25 Jun 2021 07:27:33 +0000 (15:27 +0800)]
api add irreversible height (#1992)
* api add irreversible height
* opt
Co-authored-by: Paladz <yzhu101@uottawa.ca>
Poseidon [Fri, 25 Jun 2021 07:14:08 +0000 (15:14 +0800)]
apply_vote_to_utxo_view (#1991)
* apply_vote_to_utxo_view
* check zero amount in vote output
Paladz [Thu, 24 Jun 2021 10:00:36 +0000 (18:00 +0800)]
Small edit (#1990)
* delete code
* fix bug
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
DeKaiju [Thu, 24 Jun 2021 09:07:55 +0000 (17:07 +0800)]
feat(bcrp): add bcrp test case (#1989)
* feat(bcrp): add bcrp test case
* feat(bcrp): code refactoring
Co-authored-by: Paladz <yzhu101@uottawa.ca>
Paladz [Thu, 24 Jun 2021 04:24:05 +0000 (12:24 +0800)]
edit dup sup link struct (#1988)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Poseidon [Thu, 24 Jun 2021 02:53:50 +0000 (10:53 +0800)]
Casper config (#1986)
* casper config
* casper config
* revert dashboard
Co-authored-by: Paladz <yzhu101@uottawa.ca>
xuexiansong [Thu, 24 Jun 2021 02:45:00 +0000 (10:45 +0800)]
change go mod (#1987)
* change go mod
* change go mod
* change go sum
Paladz [Wed, 23 Jun 2021 11:56:42 +0000 (19:56 +0800)]
fix register contract (#1985)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
岛书 [Wed, 23 Jun 2021 10:06:43 +0000 (18:06 +0800)]
update dashboard (#1984)
Paladz [Wed, 23 Jun 2021 08:08:15 +0000 (16:08 +0800)]
edit code for elegant (#1983)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Tue, 22 Jun 2021 01:21:10 +0000 (09:21 +0800)]
edit for elegant (#1982)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Mon, 21 Jun 2021 02:09:28 +0000 (10:09 +0800)]
remove pop_int64 (#1981)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Poseidon [Fri, 18 Jun 2021 09:52:45 +0000 (17:52 +0800)]
remove_process_block_lock (#1980)
Poseidon [Fri, 18 Jun 2021 09:45:44 +0000 (17:45 +0800)]
remove finalized block header (#1979)
wyjDoraemon [Fri, 18 Jun 2021 08:33:50 +0000 (16:33 +0800)]
remove block index struct (#1977)
* remove block index struct
* ci ci
wyjDoraemon [Fri, 18 Jun 2021 07:09:08 +0000 (15:09 +0800)]
remove chain block index (#1976)
Co-authored-by: Paladz <yzhu101@uottawa.ca>
Paladz [Fri, 18 Jun 2021 06:14:12 +0000 (14:14 +0800)]
remove uint64 (#1974)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
wyjDoraemon [Fri, 18 Jun 2021 05:58:13 +0000 (13:58 +0800)]
save chain status (#1975)
Paladz [Fri, 18 Jun 2021 01:22:06 +0000 (09:22 +0800)]
remove push int64 (#1972)
* remove push int64
* edit opCheckPredicate
* Revert "edit opCheckPredicate"
This reverts commit
d28e17d2e2e123477a2452b182af8d9f11bc2cf4.
* edit the vm
* fix ci
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
wyjDoraemon [Thu, 17 Jun 2021 14:04:46 +0000 (22:04 +0800)]
delete chain best node (#1973)
* delete chain best node
* fix
wyjDoraemon [Thu, 17 Jun 2021 11:13:21 +0000 (19:13 +0800)]
prepare to replace block index (#1969)
* prepare to replace block index
* fix
* fix
* fix ci
Co-authored-by: Paladz <yzhu101@uottawa.ca>
Paladz [Thu, 17 Jun 2021 11:07:27 +0000 (19:07 +0800)]
edit neg op (#1971)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Poseidon [Thu, 17 Jun 2021 09:49:58 +0000 (17:49 +0800)]
auth_verification_test (#1970)
* auth_verification_test
* add rollback test
Paladz [Wed, 16 Jun 2021 10:25:52 +0000 (18:25 +0800)]
edit the code little bit (#1967)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Wed, 16 Jun 2021 06:56:44 +0000 (14:56 +0800)]
edht tx txoutput (#1966)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Poseidon [Wed, 16 Jun 2021 06:36:36 +0000 (14:36 +0800)]
fix_duplicate_checkpoint (#1965)
* fix_duplicate_checkpoint
* simplify code
* fix ci
Paladz [Tue, 15 Jun 2021 11:50:42 +0000 (19:50 +0800)]
remove statue data struct (#1964)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Tue, 15 Jun 2021 07:38:17 +0000 (15:38 +0800)]
remove status fail (#1963)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
wyjDoraemon [Tue, 15 Jun 2021 06:34:33 +0000 (14:34 +0800)]
fix pos reward coinbase output[0] bug (#1962)
* fix pos reward coinbase output[0] bug
* opt code
* add return
* fix
Co-authored-by: Paladz <yzhu101@uottawa.ca>
Paladz [Fri, 11 Jun 2021 02:15:24 +0000 (10:15 +0800)]
edit types (#1961)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
wyjDoraemon [Thu, 10 Jun 2021 07:52:52 +0000 (15:52 +0800)]
delete useless code (#1960)
Co-authored-by: Paladz <yzhu101@uottawa.ca>
wyjDoraemon [Thu, 10 Jun 2021 06:41:28 +0000 (14:41 +0800)]
coinbase reward (#1948)
* coinbase reward
* fix test case
* fix transaction test
* delete unuseful code
* delete debug code
* fix ci
Co-authored-by: Paladz <yzhu101@uottawa.ca>
Poseidon [Thu, 10 Jun 2021 06:16:00 +0000 (14:16 +0800)]
best chain test (#1959)
Co-authored-by: Paladz <yzhu101@uottawa.ca>
Paladz [Thu, 10 Jun 2021 05:29:35 +0000 (13:29 +0800)]
edit issuance (#1958)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Paladz [Thu, 10 Jun 2021 01:46:25 +0000 (09:46 +0800)]
edit tx input (#1957)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Poseidon [Wed, 9 Jun 2021 09:17:31 +0000 (17:17 +0800)]
build vote tx (#1955)
* build vote tx
* rerun ci
* fix ci
* fix ci
* fix ci
* fix ci
Co-authored-by: Paladz <yzhu101@uottawa.ca>
Paladz [Wed, 9 Jun 2021 05:56:16 +0000 (13:56 +0800)]
open_gas_stand_tx_limit (#1953)
* open_gas_stand_tx_limit
* edit the error name
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
Poseidon [Wed, 9 Jun 2021 02:09:58 +0000 (10:09 +0800)]
refine_casper_code (#1954)
* refine_casper_code
* opt code
Poseidon [Tue, 8 Jun 2021 10:43:37 +0000 (18:43 +0800)]
fix rollback (#1952)
* fix rollback
* opt log print
* opt log print
Poseidon [Tue, 8 Jun 2021 07:15:42 +0000 (15:15 +0800)]
fix casper rollback (#1951)
* fix casper rollback
* opt code
Co-authored-by: Paladz <yzhu101@uottawa.ca>
xuexiansong [Tue, 8 Jun 2021 05:58:50 +0000 (13:58 +0800)]
Vm little end (#1949)
* change uint256 to little endian
* change test file
* cod format
* change big little end types
* change func name to reverse
* private func
Co-authored-by: Paladz <yzhu101@uottawa.ca>
Paladz [Tue, 8 Jun 2021 04:11:52 +0000 (12:11 +0800)]
edit the map code (#1950)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
wyjDoraemon [Fri, 4 Jun 2021 02:18:48 +0000 (10:18 +0800)]
coinbase reward (#1947)
* coinbase reward
* opt code according comment
Poseidon [Thu, 3 Jun 2021 04:09:40 +0000 (12:09 +0800)]
fix get block order (#1946)
* fix get block order
* fix get block order
* fix some bug for casper
* recover block of epoch
* fix auth verification
* no need to justifiying cache
* get target checkpoint from tree
* source checkpoint before the last finalized checkpoint
* add log print
* update func args
* update checkpoint state in memory
Poseidon [Wed, 2 Jun 2021 07:18:52 +0000 (15:18 +0800)]
fix_peer_connection (#1944)
Poseidon [Tue, 1 Jun 2021 08:04:18 +0000 (16:04 +0800)]
fix prev checkpoint cache (#1943)
Poseidon [Thu, 27 May 2021 13:45:49 +0000 (21:45 +0800)]
fix_calc_coinbase_fee_amount (#1941)
Poseidon [Wed, 26 May 2021 06:52:26 +0000 (14:52 +0800)]
refactor casper (#1940)
* refactor casper
* add comment
Poseidon [Tue, 25 May 2021 06:49:47 +0000 (14:49 +0800)]
2.0_beta_relese_node (#1939)
* 2.0_beta_relese_node
* update version num
* update version num
* add more pr
Poseidon [Mon, 24 May 2021 08:48:24 +0000 (16:48 +0800)]
Fix casper apply block (#1938)
* fix_casper_apply_block
* fix_casper_apply_block
* opt code