OSDN Git Service

bytom/bytom.git
2 years agorecover code opt_trace_service
shenao78 [Wed, 27 Oct 2021 09:50:19 +0000 (17:50 +0800)]
recover code

2 years agofix conflict
shenao78 [Wed, 27 Oct 2021 09:49:06 +0000 (17:49 +0800)]
fix conflict

2 years agoopt trace service
shenao78 [Wed, 27 Oct 2021 09:45:29 +0000 (17:45 +0800)]
opt trace service

2 years agoadd trace log module (#2116)
Poseidon [Wed, 29 Sep 2021 05:34:36 +0000 (13:34 +0800)]
add trace log module (#2116)

2 years agoadd trace log module add_trace_log_module
shenao78 [Wed, 29 Sep 2021 04:42:23 +0000 (12:42 +0800)]
add trace log module

2 years agofix init trace service (#2115)
Poseidon [Wed, 29 Sep 2021 04:35:17 +0000 (12:35 +0800)]
fix init trace service (#2115)

* fix init trace service

* fix is contract

* fix trace updater

* fix trace scheduler

2 years agofix trace scheduler (#2113)
Poseidon [Thu, 23 Sep 2021 07:37:47 +0000 (15:37 +0800)]
fix trace scheduler (#2113)

* fix trace scheduler

* simplify save instance

2 years agouse__write_lock_for_take_over_instance (#2112)
Poseidon [Sat, 18 Sep 2021 06:39:36 +0000 (14:39 +0800)]
use__write_lock_for_take_over_instance (#2112)

2 years agofix_ended_instance (#2111)
Poseidon [Sat, 18 Sep 2021 06:01:03 +0000 (14:01 +0800)]
fix_ended_instance (#2111)

* fix_ended_instance

* fix take over instance

2 years agofix_tracer_in_test (#2110)
Poseidon [Fri, 17 Sep 2021 08:10:21 +0000 (16:10 +0800)]
fix_tracer_in_test (#2110)

* fix_tracer_in_test

* remove debug print

* remove fmt

* remove fmt import

2 years agotrace updater (#2109)
Poseidon [Thu, 16 Sep 2021 05:36:18 +0000 (13:36 +0800)]
trace updater (#2109)

* trace updater

* replace protocol.chain with chainService interface

2 years agochore(version): update version to 2.0.6 (#2108) v2.0.6
DeKaiju [Wed, 15 Sep 2021 02:21:13 +0000 (10:21 +0800)]
chore(version): update version to 2.0.6 (#2108)

2 years agofix vm (#2107)
xuexiansong [Tue, 14 Sep 2021 08:53:24 +0000 (16:53 +0800)]
fix vm (#2107)

* fix vm

* change import

2 years agointegrate contract tracer (#2106)
Poseidon [Tue, 14 Sep 2021 07:22:34 +0000 (15:22 +0800)]
integrate contract tracer (#2106)

* integrate contract tracer

* remove modify chain

* remove blank line

2 years agocontract_instance_infra (#2104)
Poseidon [Fri, 10 Sep 2021 05:48:54 +0000 (13:48 +0800)]
contract_instance_infra (#2104)

* contract_instance_infra

* independent contract instance db

* remove wallet db file

2 years agoadd trace scheduler (#2103)
Poseidon [Thu, 9 Sep 2021 08:22:52 +0000 (16:22 +0800)]
add trace scheduler (#2103)

* add trace scheduler

* release the semaphore

* fix init sync map

* release instances

* fix decre height when detach

* support unconfirmed utxos

* update go mod

2 years agochore(version): update version to 2.0.5 (#2102) v2.0.5
DeKaiju [Mon, 6 Sep 2021 08:41:20 +0000 (16:41 +0800)]
chore(version): update version to 2.0.5 (#2102)

2 years agoupdate dashboard (#2101)
岛书 [Mon, 6 Sep 2021 08:33:48 +0000 (16:33 +0800)]
update dashboard (#2101)

2 years agodynamic_vote_pending_num (#2098)
Poseidon [Mon, 6 Sep 2021 08:33:19 +0000 (16:33 +0800)]
dynamic_vote_pending_num (#2098)

2 years agoMerge pull request #2100 from Bytom/apply_block_for_tracer
Poseidon [Fri, 3 Sep 2021 06:51:52 +0000 (14:51 +0800)]
Merge pull request #2100 from Bytom/apply_block_for_tracer

apply block for tracer

2 years agoopt code apply_block_for_tracer
shenao78 [Wed, 1 Sep 2021 09:15:43 +0000 (17:15 +0800)]
opt code

2 years agoadd create instance
shenao78 [Wed, 1 Sep 2021 07:34:46 +0000 (15:34 +0800)]
add create instance

2 years agosimplify code
shenao78 [Wed, 1 Sep 2021 07:27:54 +0000 (15:27 +0800)]
simplify code

2 years agodetach block for tracer
shenao78 [Wed, 1 Sep 2021 07:25:55 +0000 (15:25 +0800)]
detach block for tracer

2 years agoapply block for tracer
shenao78 [Wed, 1 Sep 2021 07:19:04 +0000 (15:19 +0800)]
apply block for tracer

2 years agocontract_trace (#2099)
Poseidon [Wed, 1 Sep 2021 06:34:00 +0000 (14:34 +0800)]
contract_trace (#2099)

* contract_trace

* fix new instance table

* fix calc utxo key

* add get instance by tx hash

* remove unconfirmed utxos from instance

* opt instance

* remove tx hash from instance

* add remove instance for table

* fix remove by trace id

* fix trade service interface

* add new instance func

* contract trace

* import fmt

* remove utxo key

2 years agochore(version): change version to 2.0.4 (#2096) v2.0.4
DeKaiju [Mon, 23 Aug 2021 02:40:05 +0000 (10:40 +0800)]
chore(version): change version to 2.0.4 (#2096)

2 years agofix(protocol): fix bug of function ComputeOutputID (#2095)
DeKaiju [Sun, 22 Aug 2021 10:53:55 +0000 (18:53 +0800)]
fix(protocol): fix bug of function ComputeOutputID (#2095)

* fix(protocol): fix bug of function ComputeOutputID

* test(protocol): ComputeOutputID

2 years agoMerge pull request #2093 from Bytom/dev-version v2.0.3
Paladz [Fri, 20 Aug 2021 11:04:21 +0000 (19:04 +0800)]
Merge pull request #2093 from Bytom/dev-version

chore(version): change version to 2.0.3

2 years agochore(version): change version to 2.0.3
DeKaiju [Fri, 20 Aug 2021 11:02:34 +0000 (19:02 +0800)]
chore(version): change version to 2.0.3

2 years agoMerge pull request #2092 from Bytom/fix-time
Paladz [Fri, 20 Aug 2021 10:43:40 +0000 (18:43 +0800)]
Merge pull request #2092 from Bytom/fix-time

fix(time): fix bug of block time

2 years agofix(time): fix bug of block time fix-time
DeKaiju [Fri, 20 Aug 2021 10:40:59 +0000 (18:40 +0800)]
fix(time): fix bug of block time

2 years agoMerge pull request #2091 from Bytom/dev-version v2.0.2
Paladz [Fri, 20 Aug 2021 05:55:50 +0000 (13:55 +0800)]
Merge pull request #2091 from Bytom/dev-version

chore(version): change version to 2.0.2

2 years agochore(version): change version to 2.0.2
DeKaiju [Fri, 20 Aug 2021 05:54:31 +0000 (13:54 +0800)]
chore(version): change version to 2.0.2

2 years agoMerge pull request #2090 from Bytom/fix_is_majority
Paladz [Fri, 20 Aug 2021 05:51:38 +0000 (13:51 +0800)]
Merge pull request #2090 from Bytom/fix_is_majority

fix is majority

2 years agofix is majority
shenao78 [Fri, 20 Aug 2021 05:50:20 +0000 (13:50 +0800)]
fix is majority

2 years agoMerge pull request #2089 from Bytom/set_int_btm_supply v2.0.1
Paladz [Fri, 20 Aug 2021 01:19:17 +0000 (09:19 +0800)]
Merge pull request #2089 from Bytom/set_int_btm_supply

feat(init btm supp.y): init btm supply

2 years agofeat(init btm supp.y): init btm supply
崔浩鑫 [Fri, 20 Aug 2021 01:17:22 +0000 (09:17 +0800)]
feat(init btm supp.y): init btm supply

2 years agoMerge pull request #2088 from Bytom/edit_configs
Paladz [Thu, 19 Aug 2021 16:04:55 +0000 (00:04 +0800)]
Merge pull request #2088 from Bytom/edit_configs

edit prod config

2 years agoedit prod config edit_configs
paladz [Thu, 19 Aug 2021 15:33:02 +0000 (23:33 +0800)]
edit prod config

2 years agoMerge pull request #2087 from Bytom/dev-bcrp
Paladz [Thu, 19 Aug 2021 10:35:37 +0000 (18:35 +0800)]
Merge pull request #2087 from Bytom/dev-bcrp

feat(bcrp): close bcrp temporary

2 years agofeat(bcrp): close bcrp temporary
DeKaiju [Thu, 19 Aug 2021 10:31:48 +0000 (18:31 +0800)]
feat(bcrp): close bcrp temporary

2 years agoMerge pull request #2086 from Bytom/edit_fed bytom2-prerelease
Paladz [Thu, 19 Aug 2021 07:42:55 +0000 (15:42 +0800)]
Merge pull request #2086 from Bytom/edit_fed

finalize super node key

2 years agofinalize super node key
paladz [Thu, 19 Aug 2021 07:35:37 +0000 (15:35 +0800)]
finalize super node key

2 years agoMerge pull request #2085 from Bytom/btm2.0
Paladz [Thu, 19 Aug 2021 05:50:09 +0000 (13:50 +0800)]
Merge pull request #2085 from Bytom/btm2.0

Btm2.0

2 years agoveto input test (#1942) btm2.0
wyjDoraemon [Thu, 19 Aug 2021 05:45:44 +0000 (00:45 -0500)]
veto input test (#1942)

Co-authored-by: Paladz <yzhu101@uottawa.ca>
2 years agoupdate dashboad (#2084)
岛书 [Thu, 19 Aug 2021 02:35:52 +0000 (10:35 +0800)]
update dashboad (#2084)

Co-authored-by: Paladz <yzhu101@uottawa.ca>
2 years agofeat(modify): modify (#2083)
hauson [Wed, 18 Aug 2021 16:17:23 +0000 (00:17 +0800)]
feat(modify): modify (#2083)

Co-authored-by: 崔浩鑫 <cuihaoxin@cuihaoxindeMacBook-Pro.local>
Co-authored-by: Paladz <yzhu101@uottawa.ca>
2 years agofix(bcrp): fix bcrp when apply block and detach block (#2081)
DeKaiju [Wed, 18 Aug 2021 16:15:13 +0000 (00:15 +0800)]
fix(bcrp): fix bcrp when apply block and detach block (#2081)

* fix(bcrp): fix bcrp when apply block and detach block

* test(bcrp): add bcrp integration test

* refactor(bcrp): code refactoring

* refactor(bcrp): code refactoring

Co-authored-by: Paladz <yzhu101@uottawa.ca>
2 years agoAdd vote output in get block (#2082)
Poseidon [Wed, 18 Aug 2021 08:53:11 +0000 (16:53 +0800)]
Add vote output in get block (#2082)

* add_vote_output_in_get_block

* remove useless file

* delete bin file

2 years agoadd more seeds (#2080)
Poseidon [Mon, 16 Aug 2021 07:03:28 +0000 (15:03 +0800)]
add more seeds (#2080)

2 years agoedit the config (#2079)
Paladz [Mon, 16 Aug 2021 05:52:02 +0000 (13:52 +0800)]
edit the config (#2079)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agofix(consensus): correct IsP2WPKHScript and IsP2WSHScript (#2078)
DeKaiju [Mon, 16 Aug 2021 04:21:36 +0000 (12:21 +0800)]
fix(consensus): correct IsP2WPKHScript and IsP2WSHScript (#2078)

* fix(consensus): correct IsP2WPKHScript and IsP2WSHScript

* test(bcrp): add unit test

2 years agochore(cli): delete getDifficultyCmd and getHashRateCmd from bytomcli (#2077)
DeKaiju [Fri, 13 Aug 2021 07:27:21 +0000 (15:27 +0800)]
chore(cli): delete getDifficultyCmd and getHashRateCmd from bytomcli (#2077)

2 years agopref(vote): change MainNetParams VotePendingBlockNumber (#2075)
DeKaiju [Fri, 13 Aug 2021 05:47:49 +0000 (13:47 +0800)]
pref(vote): change MainNetParams VotePendingBlockNumber (#2075)

Co-authored-by: Paladz <yzhu101@uottawa.ca>
2 years agofeat(vote reward): build chain transaction send vote reward (#2076)
DeKaiju [Fri, 13 Aug 2021 03:31:00 +0000 (11:31 +0800)]
feat(vote reward): build chain transaction send vote reward (#2076)

2 years agonew_testnet_federation (#2074)
Poseidon [Wed, 11 Aug 2021 07:56:06 +0000 (15:56 +0800)]
new_testnet_federation (#2074)

2 years agofeat(modify genesis_tx.go): modify genesis_tx.go (#2073)
hauson [Wed, 11 Aug 2021 06:29:25 +0000 (14:29 +0800)]
feat(modify genesis_tx.go): modify genesis_tx.go (#2073)

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

* feat(modify): modify

Co-authored-by: 崔浩鑫 <cuihaoxin@cuihaoxindeMacBook-Pro.local>
2 years agoedit hrp (#2071)
wyjDoraemon [Wed, 11 Aug 2021 02:57:20 +0000 (21:57 -0500)]
edit hrp (#2071)

2 years agofix bug (#2070)
wyjDoraemon [Mon, 9 Aug 2021 11:36:59 +0000 (06:36 -0500)]
fix bug (#2070)

2 years agofix block time (#2069)
wyjDoraemon [Mon, 9 Aug 2021 09:26:37 +0000 (04:26 -0500)]
fix block time (#2069)

2 years agofix solonet init xpub nil bug (#2068)
wyjDoraemon [Mon, 9 Aug 2021 06:44:11 +0000 (01:44 -0500)]
fix solonet init xpub nil bug (#2068)

2 years agofix(bcrp): fix bug compare asset id with consensus btm asset id (#2067)
DeKaiju [Fri, 6 Aug 2021 02:19:05 +0000 (10:19 +0800)]
fix(bcrp): fix bug compare asset id with consensus btm asset id (#2067)

2 years agofix total supply (#2066)
wyjDoraemon [Thu, 5 Aug 2021 07:25:06 +0000 (02:25 -0500)]
fix total supply (#2066)

2 years agoEdit config (#2065)
Paladz [Thu, 5 Aug 2021 04:44:33 +0000 (12:44 +0800)]
Edit config (#2065)

* edit the config

* edit the config

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agoadd fed script (#2047)
wyjDoraemon [Thu, 5 Aug 2021 02:40:48 +0000 (21:40 -0500)]
add fed script (#2047)

* add fed script

* edit fed script

Co-authored-by: Paladz <yzhu101@uottawa.ca>
2 years agoinit btm supply (#2064)
wyjDoraemon [Thu, 5 Aug 2021 02:25:18 +0000 (21:25 -0500)]
init btm supply (#2064)

2 years agochange uint256 version (#2063)
wyjDoraemon [Wed, 4 Aug 2021 10:43:47 +0000 (18:43 +0800)]
change uint256 version (#2063)

2 years agoupdate dashboard (#2061)
岛书 [Tue, 3 Aug 2021 02:53:17 +0000 (10:53 +0800)]
update dashboard (#2061)

2 years agoedit attackable bug (#2060)
Paladz [Fri, 30 Jul 2021 07:57:00 +0000 (15:57 +0800)]
edit attackable bug (#2060)

* edit attackable bug

* fix coinbase

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agofeat(toolbar): add vote reward tool (#2058)
DeKaiju [Fri, 30 Jul 2021 03:31:49 +0000 (11:31 +0800)]
feat(toolbar): add vote reward tool (#2058)

* feat(toolbar): add vote reward tool

* refactor(toolbar): code refactoring

* refactor(toolbar): code refactoring

* refactor(toolbar): code refactoring

* refactor(toolbar): code refactoring

Co-authored-by: Paladz <yzhu101@uottawa.ca>
2 years agoedit config (#2059)
Paladz [Thu, 29 Jul 2021 12:25:10 +0000 (20:25 +0800)]
edit config (#2059)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agosmall edit (#2057)
Paladz [Wed, 28 Jul 2021 10:31:22 +0000 (18:31 +0800)]
small edit (#2057)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agoedit the address prefix (#2056)
Paladz [Wed, 28 Jul 2021 07:55:51 +0000 (15:55 +0800)]
edit the address prefix (#2056)

* edit the address prefix

* skip test

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agodelete the useless code (#2054)
Paladz [Tue, 27 Jul 2021 08:04:54 +0000 (16:04 +0800)]
delete the useless code (#2054)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agonet info add justify height (#2055)
wyjDoraemon [Tue, 27 Jul 2021 07:57:47 +0000 (15:57 +0800)]
net info add justify height (#2055)

* net info add justify height

* rename

* opt

* opt imports

* opt

* opt

* opt

2 years agodelete the weird code (#2052)
Paladz [Mon, 26 Jul 2021 09:17:34 +0000 (17:17 +0800)]
delete the weird code (#2052)

* delete the weird code

* edit for code review

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agodelete the useless data (#2051)
Paladz [Thu, 22 Jul 2021 08:15:53 +0000 (16:15 +0800)]
delete the useless data (#2051)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agoadd api (#2050)
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>
2 years agofeat(cache checkpoint): cache checkpoint (#2049)
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>
2 years agoedit fed xpub (#2048)
wyjDoraemon [Tue, 20 Jul 2021 08:17:06 +0000 (16:17 +0800)]
edit fed xpub (#2048)

2 years agoedit the gas rate (#2045)
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>
2 years agofeat(modify genesis-tx): modify genesis-tx (#2043)
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>
2 years agoedit the db (#2044)
Paladz [Mon, 19 Jul 2021 09:06:34 +0000 (17:06 +0800)]
edit the db (#2044)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agodelete unused (#2042)
Paladz [Mon, 19 Jul 2021 07:46:56 +0000 (15:46 +0800)]
delete unused (#2042)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 years agofix veto, vote bug (#2041)
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>
2 years agoedit check coinbase (#2040)
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>
2 years agodont do the useless delete (#2039)
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>
2 years agocasper do all the decide (#2038)
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>
2 years agomov the code (#2036)
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>
2 years agoremove unused config simd (#2037)
boomyl [Thu, 15 Jul 2021 08:15:00 +0000 (16:15 +0800)]
remove unused config simd (#2037)

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>