OSDN Git Service

bytom/bytom.git
2 years agoroll back bug (#2035)
Paladz [Thu, 15 Jul 2021 06:39:04 +0000 (14:39 +0800)]
roll back bug (#2035)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agofix_auth_cached_msg (#2034)
Poseidon [Thu, 15 Jul 2021 06:18:14 +0000 (14:18 +0800)]
fix_auth_cached_msg (#2034)

Co-authored-by: Paladz <yzhu101@uottawa.ca>
2 years agofeat(add genesis tx btm issue amount): add genesis tx btm issue amount (#2033)
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)

2 years agodelete equity (#2031)
Paladz [Thu, 15 Jul 2021 03:03:06 +0000 (11:03 +0800)]
delete equity (#2031)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agozeroconf version (#2030)
wyjDoraemon [Thu, 15 Jul 2021 02:40:21 +0000 (10:40 +0800)]
zeroconf version (#2030)

2 years agolast small edit (#2028)
Paladz [Mon, 12 Jul 2021 07:08:29 +0000 (15:08 +0800)]
last small edit (#2028)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agoEdit sup link (#2027)
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>
2 years agoopt_auth_loop (#2026)
Poseidon [Fri, 9 Jul 2021 07:58:52 +0000 (15:58 +0800)]
opt_auth_loop (#2026)

* opt_auth_loop

* add log

2 years agoreduce validator (#2025)
Paladz [Fri, 9 Jul 2021 07:30:22 +0000 (15:30 +0800)]
reduce validator (#2025)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agofix miss continue (#2024)
Paladz [Fri, 9 Jul 2021 05:47:01 +0000 (13:47 +0800)]
fix miss continue (#2024)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agoverify source and target height (#2023)
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>
2 years agoedit the garmmar (#2022)
Paladz [Thu, 8 Jul 2021 07:32:36 +0000 (15:32 +0800)]
edit the garmmar (#2022)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agoedit the event channel (#2021)
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>
2 years agoedit the code little bit (#2020)
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>
2 years agomov some logic to tree folder (#2019)
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>
2 years agofix_affected_checkpoints (#2018)
Poseidon [Tue, 6 Jul 2021 03:22:14 +0000 (11:22 +0800)]
fix_affected_checkpoints (#2018)

2 years agoverify_block_header_sign (#2017)
Poseidon [Tue, 6 Jul 2021 02:32:17 +0000 (10:32 +0800)]
verify_block_header_sign (#2017)

2 years agotry remove mid status (#2016)
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>
2 years agofix reward bu (#2014)
Paladz [Mon, 5 Jul 2021 13:01:54 +0000 (21:01 +0800)]
fix reward bu (#2014)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agodon't use change (#2013)
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>
2 years agoMerge func (#2011)
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>
2 years agoedit apply votes (#2010)
Paladz [Mon, 5 Jul 2021 01:34:06 +0000 (09:34 +0800)]
edit apply votes (#2010)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agoedit merge checkpoint (#2009)
Paladz [Fri, 2 Jul 2021 08:19:54 +0000 (16:19 +0800)]
edit merge checkpoint (#2009)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agoadd_validator_for_get_block (#2008)
Poseidon [Fri, 2 Jul 2021 07:15:55 +0000 (15:15 +0800)]
add_validator_for_get_block (#2008)

2 years agofix_block_exist (#2007)
Poseidon [Fri, 2 Jul 2021 02:04:34 +0000 (10:04 +0800)]
fix_block_exist (#2007)

2 years agotestnet seeds (#2004)
Poseidon [Thu, 1 Jul 2021 07:59:31 +0000 (15:59 +0800)]
testnet seeds (#2004)

2 years agofix the memory leak (#2003)
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>
2 years agoprotobuf version 1.5.2->1.4.3 (#2002)
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>
2 years agoadd_account_vote_api (#2000)
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>
2 years agoedit tx fee (#2001)
Paladz [Thu, 1 Jul 2021 03:19:34 +0000 (11:19 +0800)]
edit tx fee (#2001)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agoedit the pledgeRate (#1999)
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>
2 years agocreate folder for casper (#1998)
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>
2 years agoadd_node_xpub_for_net_info (#1997)
Poseidon [Wed, 30 Jun 2021 06:04:59 +0000 (14:04 +0800)]
add_node_xpub_for_net_info (#1997)

2 years agoVote result api (#1996)
Poseidon [Wed, 30 Jun 2021 03:11:49 +0000 (11:11 +0800)]
Vote result api (#1996)

* vote result api

* rename func

2 years agoalter gopkg.in/fatih/set.v0 version,0.2.1 to 0.1.0 (#1995)
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>
2 years agoadd_log_module_for_casper (#1994)
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>
2 years agofix(bcrp): don't allow overwrite attachEntries map when apply block (#1993)
DeKaiju [Mon, 28 Jun 2021 02:33:06 +0000 (10:33 +0800)]
fix(bcrp): don't allow overwrite attachEntries map when apply block (#1993)

2 years agoapi add irreversible height (#1992)
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>
2 years agoapply_vote_to_utxo_view (#1991)
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

2 years agoSmall edit (#1990)
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>
2 years agofeat(bcrp): add bcrp test case (#1989)
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>
2 years agoedit dup sup link struct (#1988)
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>
2 years agoCasper config (#1986)
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>
2 years agochange go mod (#1987)
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

2 years agofix register contract (#1985)
Paladz [Wed, 23 Jun 2021 11:56:42 +0000 (19:56 +0800)]
fix register contract (#1985)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agoupdate dashboard (#1984)
岛书 [Wed, 23 Jun 2021 10:06:43 +0000 (18:06 +0800)]
update dashboard (#1984)

2 years agoedit code for elegant (#1983)
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>
2 years agoedit for elegant (#1982)
Paladz [Tue, 22 Jun 2021 01:21:10 +0000 (09:21 +0800)]
edit for elegant (#1982)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agoremove pop_int64 (#1981)
Paladz [Mon, 21 Jun 2021 02:09:28 +0000 (10:09 +0800)]
remove pop_int64 (#1981)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agoremove_process_block_lock (#1980)
Poseidon [Fri, 18 Jun 2021 09:52:45 +0000 (17:52 +0800)]
remove_process_block_lock (#1980)

2 years agoremove finalized block header (#1979)
Poseidon [Fri, 18 Jun 2021 09:45:44 +0000 (17:45 +0800)]
remove finalized block header (#1979)

2 years agoremove block index struct (#1977)
wyjDoraemon [Fri, 18 Jun 2021 08:33:50 +0000 (16:33 +0800)]
remove block index struct (#1977)

* remove block index struct

* ci ci

2 years agoremove chain block index (#1976)
wyjDoraemon [Fri, 18 Jun 2021 07:09:08 +0000 (15:09 +0800)]
remove chain block index (#1976)

Co-authored-by: Paladz <yzhu101@uottawa.ca>
2 years agoremove uint64 (#1974)
Paladz [Fri, 18 Jun 2021 06:14:12 +0000 (14:14 +0800)]
remove uint64 (#1974)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agosave chain status (#1975)
wyjDoraemon [Fri, 18 Jun 2021 05:58:13 +0000 (13:58 +0800)]
save chain status (#1975)

2 years agoremove push int64 (#1972)
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>
2 years agodelete chain best node (#1973)
wyjDoraemon [Thu, 17 Jun 2021 14:04:46 +0000 (22:04 +0800)]
delete chain best node (#1973)

* delete chain best node

* fix

2 years agoprepare to replace block index (#1969)
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>
2 years agoedit neg op (#1971)
Paladz [Thu, 17 Jun 2021 11:07:27 +0000 (19:07 +0800)]
edit neg op (#1971)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agoauth_verification_test (#1970)
Poseidon [Thu, 17 Jun 2021 09:49:58 +0000 (17:49 +0800)]
auth_verification_test (#1970)

* auth_verification_test

* add rollback test

2 years agoedit the code little bit (#1967)
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>
2 years agoedht tx txoutput (#1966)
Paladz [Wed, 16 Jun 2021 06:56:44 +0000 (14:56 +0800)]
edht tx txoutput (#1966)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agofix_duplicate_checkpoint (#1965)
Poseidon [Wed, 16 Jun 2021 06:36:36 +0000 (14:36 +0800)]
fix_duplicate_checkpoint (#1965)

* fix_duplicate_checkpoint

* simplify code

* fix ci

2 years agoremove statue data struct (#1964)
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>
2 years agoremove status fail (#1963)
Paladz [Tue, 15 Jun 2021 07:38:17 +0000 (15:38 +0800)]
remove status fail (#1963)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agofix pos reward coinbase output[0] bug (#1962)
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>
2 years agoedit types (#1961)
Paladz [Fri, 11 Jun 2021 02:15:24 +0000 (10:15 +0800)]
edit types (#1961)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agodelete useless code (#1960)
wyjDoraemon [Thu, 10 Jun 2021 07:52:52 +0000 (15:52 +0800)]
delete useless code (#1960)

Co-authored-by: Paladz <yzhu101@uottawa.ca>
2 years agocoinbase reward (#1948)
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>
2 years agobest chain test (#1959)
Poseidon [Thu, 10 Jun 2021 06:16:00 +0000 (14:16 +0800)]
best chain test (#1959)

Co-authored-by: Paladz <yzhu101@uottawa.ca>
2 years agoedit issuance (#1958)
Paladz [Thu, 10 Jun 2021 05:29:35 +0000 (13:29 +0800)]
edit issuance (#1958)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agoedit tx input (#1957)
Paladz [Thu, 10 Jun 2021 01:46:25 +0000 (09:46 +0800)]
edit tx input (#1957)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agobuild vote tx (#1955)
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>
2 years agoopen_gas_stand_tx_limit (#1953)
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>
2 years agorefine_casper_code (#1954)
Poseidon [Wed, 9 Jun 2021 02:09:58 +0000 (10:09 +0800)]
refine_casper_code (#1954)

* refine_casper_code

* opt code

2 years agofix rollback (#1952)
Poseidon [Tue, 8 Jun 2021 10:43:37 +0000 (18:43 +0800)]
fix rollback (#1952)

* fix rollback

* opt log print

* opt log print

2 years agofix casper rollback (#1951)
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>
2 years agoVm little end (#1949)
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>
2 years agoedit the map code (#1950)
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>
2 years agocoinbase reward (#1947)
wyjDoraemon [Fri, 4 Jun 2021 02:18:48 +0000 (10:18 +0800)]
coinbase reward (#1947)

* coinbase reward

* opt code according comment

2 years agofix get block order (#1946)
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

2 years agofix_peer_connection (#1944)
Poseidon [Wed, 2 Jun 2021 07:18:52 +0000 (15:18 +0800)]
fix_peer_connection (#1944)

2 years agofix prev checkpoint cache (#1943)
Poseidon [Tue, 1 Jun 2021 08:04:18 +0000 (16:04 +0800)]
fix prev checkpoint cache (#1943)

2 years agofix_calc_coinbase_fee_amount (#1941)
Poseidon [Thu, 27 May 2021 13:45:49 +0000 (21:45 +0800)]
fix_calc_coinbase_fee_amount (#1941)

2 years agorefactor casper (#1940)
Poseidon [Wed, 26 May 2021 06:52:26 +0000 (14:52 +0800)]
refactor casper (#1940)

* refactor casper

* add comment

2 years ago2.0_beta_relese_node (#1939)
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

2 years agoFix casper apply block (#1938)
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

2 years agobatch_save_state_and_checkpoints (#1937)
Poseidon [Mon, 24 May 2021 08:01:30 +0000 (16:01 +0800)]
batch_save_state_and_checkpoints (#1937)

* batch_save_state_and_checkpoints

* fix ci

Co-authored-by: Paladz <yzhu101@uottawa.ca>
2 years agoadd_federation (#1936)
Poseidon [Mon, 24 May 2021 07:58:07 +0000 (15:58 +0800)]
add_federation (#1936)

2 years agoperfect_block_proposer (#1935)
Poseidon [Wed, 19 May 2021 10:29:09 +0000 (18:29 +0800)]
perfect_block_proposer (#1935)

* perfect_block_proposer

* remove rubbish file

* solonet normal block

* fix ci

* remove test code

* add coinbase amount

* bug fix

* add fee to coinbase amount

* remove duplicate code

Co-authored-by: Paladz <yzhu101@uottawa.ca>
2 years agovm state data (#1930)
boomyl [Mon, 17 May 2021 07:51:02 +0000 (15:51 +0800)]
vm state data (#1930)

* vm state data

* fix comments:2d bytes compare

* fix altstack copying data

* fix comments

* fix comments

3 years agoadd_new_casper_for_chain (#1931)
Poseidon [Mon, 10 May 2021 08:14:08 +0000 (16:14 +0800)]
add_new_casper_for_chain (#1931)

* add_new_casper_for_chain

* add checkpoint db implemention

* mov casper to protocol package

* remove logs

* remove logs

* remove fmt import

Co-authored-by: Paladz <yzhu101@uottawa.ca>
3 years agoMoidfy api get block (#1932)
hauson [Mon, 10 May 2021 05:42:59 +0000 (13:42 +0800)]
Moidfy api get block (#1932)

* feat(add veto input): add veto input

* feat(moidfy output): modify output

* feat(modify): modify

3 years agofix vote hash with state (#1929) 2.0.0-alpha
boomyl [Fri, 30 Apr 2021 07:39:25 +0000 (15:39 +0800)]
fix vote hash with state (#1929)

3 years agoOpt db (#1926)
hauson [Thu, 29 Apr 2021 03:33:25 +0000 (11:33 +0800)]
Opt db (#1926)

* feat(add save_block_header fn): add SaveBlockHeader fn

* feat(opt save_block): opt SaveBlock fn

* feat(modify cache_test): modify cache test

* feat(rename block cache): rename blockCache as cache

* feat(add get block): add get block

* feat(modify): modify

* feat(modify block_header): modify writer_to and read_from

* feat(modify bloch_header): modify block_header

* feat(fix block_header_test): add BlockWitness

* feat(fix block_test): fix block_test

* feat(fix block integration test): fix block integration test

* feat(fix block_header_test.go): fix

* feat(fix block_test.go): fix block_test.go

* feat(opt code format): opt code format of store.go

* feat(modify cache): modify cache

* feat(modify cache): modify cache

* feat(modify store.go): modify store.go

* feat(modify): modify

* feat(modify block_integration_uitl.go): modify block_integration_util.go

* feat(delete max_cached_blocks): delete maCachedBlocks

* feat(delete mu): delete mu

* feat(delete blockprefix and txstatusprefix): delete const BlockPrefix and TxsStatusPrefix

* feat(add notes): add consts notes

3 years agointegrate_casper_chain (#1925)
Poseidon [Wed, 28 Apr 2021 07:42:04 +0000 (15:42 +0800)]
integrate_casper_chain (#1925)

* integrate_casper_chain

* fix name

* retry when rollback fail

3 years agosplit casper file (#1923)
Poseidon [Mon, 26 Apr 2021 13:16:18 +0000 (21:16 +0800)]
split casper file (#1923)

* split casper file

* fix test

Co-authored-by: Paladz <yzhu101@uottawa.ca>
3 years agofeat(bcrp): add isInvalidBCRPTx function (#1924)
DeKaiju [Mon, 26 Apr 2021 13:06:36 +0000 (21:06 +0800)]
feat(bcrp): add isInvalidBCRPTx function (#1924)

3 years ago2d data for butxo state (#1921)
boomyl [Sun, 25 Apr 2021 08:51:06 +0000 (16:51 +0800)]
2d data for butxo state (#1921)

3 years agoverification_out_of_order (#1920)
Poseidon [Sun, 25 Apr 2021 08:31:07 +0000 (16:31 +0800)]
verification_out_of_order (#1920)

* verification_out_of_order

* fix

* filter duplicate

Co-authored-by: Paladz <yzhu101@uottawa.ca>