Giter Site home page Giter Site logo

sero-cash / go-sero Goto Github PK

View Code? Open in Web Editor NEW
140.0 140.0 50.0 42.05 MB

The Total Solution for Blockchain with Privacy Protecting

Home Page: https://sero.cash

License: GNU Lesser General Public License v3.0

Dockerfile 0.01% Makefile 0.04% Go 93.68% Shell 0.05% Ruby 0.01% HTML 0.01% JavaScript 2.99% Assembly 0.17% C 2.70% M4 0.10% Java 0.12% Batchfile 0.01% Sage 0.12% Solidity 0.01%
blockchain gero go nizk privacy sero smart-contract zpk

go-sero's People

Contributors

bourneac avatar doublzer avatar galdary avatar gordon-sero avatar kaziczeriy avatar mirrorc avatar mpson avatar nonosenser avatar riverwind-super avatar schrodingercat avatar tomdurrent avatar travis-sero avatar wincenteam avatar wskyrener avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

go-sero's Issues

gero-v1.0.0-rc10 crash during sync blocks

When syncs to about 233000 blocks the gero crash.
OS:CentOS Linux release 7.6.1810
gero gero-v1.0.0-rc10
param:
./bin/gero --config ./geroConfig.toml --exchange --mineMode --datadir /data/sero --rpc --rpcport 1234 --rpcapi exchange,sero,net --rpcaddr 0.0.0.0 --rpccorsdomain '''''''' --rpcvhosts '''''''' --keystore /data/sero/keystore --confirmedBlock 32 --rpcwritetimeout 1800 --autoMerge

INFO [09-11|03:36:07.750] Imported new chain segment blocks=43 txs=7 mgas=0.175 elapsed=8.067s mgasps=0.022
number=1295586 hash=e0902a…0127b7 cache=59.66mB
INFO [09-11|03:36:10.353] StakeIndex blockNumber=1295560 sharesCount=0 poolsCount=0
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
SIGABRT: abort
PC=0x7fc9e4a752c7 m=33 sigcode=18446744073709551610

goroutine 0 [idle]:
runtime: unknown pc 0x7fc9e4a752c7
stack: frame={sp:0x7fc924ff9528, fp:0x0} stack=[0x7fc9247fb1e8,0x7fc924ffade8)
00007fc924ff9428: 00007fc9e417739d 00007fc924ff91b0
00007fc924ff9438: 0000001800000003 00007fc924ff9140
00007fc924ff9448: 0000000c00000001 00007fc900000000
00007fc924ff9458: 00007fc924ff91b0 00007fc900000003
00007fc924ff9468: 00007fc924ffad70 6461623a3a647473
00007fc924ff9478: 0000636f6c6c615f 00007fc924ffada0
00007fc924ff9488: 000000000046ff00 <runtime.asmcgocall+112> 0000000000000000
00007fc924ff9498: 0000000000000000 0000000000000000
00007fc924ff94a8: 0000000000ce2c90 4000000000000000
00007fc924ff94b8: 0000000000000000 0000000000000000
00007fc924ff94c8: 0000000000000000 0000000000000000
00007fc924ff94d8: 0000000000000000 0000000000000000
00007fc924ff94e8: 0000000000000000 0000000000000000
00007fc924ff94f8: 00007fc9e4e06868 00007fc9e4177382
00007fc924ff9508: 00007fc8f8000900 00007fc8f8001ab8
00007fc924ff9518: 0000000000100000 0000000000000000
00007fc924ff9528: <00007fc9e4a769b8 0000000000000020
00007fc924ff9538: 0000000000000000 0000000000000000
00007fc924ff9548: 0000000000000000 0000000000000000
00007fc924ff9558: 0000000000000000 0000000000000000
00007fc924ff9568: 0000000000000000 0000000000000000
00007fc924ff9578: 0000000000000000 0000000000000000
00007fc924ff9588: 0000000000000000 0000000000000000
00007fc924ff9598: 0000000000000000 0000000000000000
00007fc924ff95a8: 0000000000000000 00007fc9e4e061c0
00007fc924ff95b8: 00007fc9e4b2e179 0000000000000000
00007fc924ff95c8: 00007fc9e4ab91a3 00007fc9e4177382
00007fc924ff95d8: 00007fc9e4e061c0 0000000000000001
00007fc924ff95e8: 00007fc9e4e06243 00007fc9e4e02380
00007fc924ff95f8: 00007fc9e4aba9be 00007fc9e4e061c0
00007fc924ff9608: 000000000000000a 00007fc8f8000900
00007fc924ff9618: 00007fc8f8001ab8 0000000000100000
runtime: unknown pc 0x7fc9e4a752c7

Gas limit exceeded for current block

INFO [11-05|09:15:29.545] Gas limit exceeded for current block block=6538800
INFO [11-05|09:15:29.584] Gas limit exceeded for current block block=6538800
INFO [11-05|09:15:29.627] Gas limit exceeded for current block block=6538800
INFO [11-05|09:15:29.707] Gas limit exceeded for current block block=6538800
INFO [11-05|09:15:29.747] Gas limit exceeded for current block block=6538800
INFO [11-05|09:15:29.802] Gas limit exceeded for current block block=6538800
INFO [11-05|09:15:29.849] Gas limit exceeded for current block block=6538800
INFO [11-05|09:15:29.872] Gas limit exceeded for current block block=6538800

Gas limit exceeded for current block errors often occur in nodes, and then they cannot be synchronized for a long time, resulting in failure to synchronize with the latest high level. How to solve this problem?

BetaNet-R5-HOTFIX.1 after restart sync is always from block 130000

Hey, noticed strange behaviour of 0.5.0 sync mode.

If gero stopped, after restart it's not saving the current block heigh and always starts resync from block 130000. Please fix or advise how to start daemon from the highest fully synchronized block.

Here is the log:

INFO [01-28|16:38:40.845] STATE1_PROCESS :                         t=138726 c=138725 p=0%   len=1 d=75.224183ms
INFO [01-28|16:38:40.870] STATE1_PROCESS :                         t=138726 c=138726 p=100% len=1 d=24.866006ms
start libczero ...

                            
zero init ...
***CZERO*** nettype : 2
***CZERO*** b_path : ./czero/lib
***CZERO*** account_dir : data/keystore
load keypair from: ./czero/data/output
load keypair from: ./czero/data/input
load keypair from: ./czero/data/license
load keypair from: ./czero/data/license_v1
load keypair from: ./czero/data/pkg
INFO [01-28|16:38:54.292] Maximum peer count                       SERO=25
INFO [01-28|16:38:54.293] Starting peer-to-peer node               instance=Gero/v0.5.0-beta.r5-516afacf/linux-amd64/go1.11.1
INFO [01-28|16:38:54.293] Allocated cache and file handles         database=/root/sero/beta5/geropkg/data/gero/chaindata cache=768 handles=512
INFO [01-28|16:38:54.779] Initialised chain configuration          config="{ChainID: 2019 AutumnTwilight: 0 Engine: ethash}"
INFO [01-28|16:38:54.780] Disk storage enabled for ethash caches   dir=/root/sero/beta5/geropkg/data/gero/ethash count=3
INFO [01-28|16:38:54.780] Disk storage enabled for ethash DAGs     dir=/root/.ethash                             count=2
INFO [01-28|16:38:54.780] Initialising Sero protocol               versions="[63 62]" network=2019
WARN [01-28|16:38:54.780] Head state missing, repairing chain      number=138732 hash=293d30…85513e
INFO [01-28|16:38:55.315] Rewound blockchain to past state         number=130000 hash=3772ed…07f930
INFO [01-28|16:38:55.315] Loaded most recent local header          number=138732 hash=293d30…85513e td=205138358728449
INFO [01-28|16:38:55.315] Loaded most recent local full block      number=130000 hash=3772ed…07f930 td=142056260214529
INFO [01-28|16:38:55.315] Loaded most recent local fast block      number=138732 hash=293d30…85513e td=205138358728449
INFO [01-28|16:38:55.334] Starting P2P networking 
INFO [01-28|16:38:55.735] STATE1_PROCESS :                         t=129994 c=124727 p=0% len=3 d=19.144693ms
INFO [01-28|16:38:56.617] STATE1_PROCESS :                         t=129994 c=125253 p=9% len=3 d=1.589812ms
INFO [01-28|16:38:57.490] STATE1_PROCESS :                         t=129994 c=125779 p=19% len=3 d=1.597744ms
INFO [01-28|16:38:57.625] UDP listener up                          net=snode://6755eeba77140f6a4114f422ed0f87d70073f2d272a2e2805584a2513d308ec18ba014cdfc7c10a7e0d59e4dcabd96b463e0e2c6cc29e187842b268ad91b5ad7@[::]:60602
INFO [01-28|16:38:57.628] IPC endpoint opened                      url=/root/sero/beta5/geropkg/data/gero.ipc
INFO [01-28|16:38:57.628] Transaction pool priced threshold updated priced=1
INFO [01-28|16:38:57.628] Serobase automatically configured        address=XXXXXXX
INFO [01-28|16:38:58.391] STATE1_PROCESS :                         t=129994 c=126305 p=29% len=3 d=1.604525ms
INFO [01-28|16:38:59.344] STATE1_PROCESS :                         t=129994 c=126831 p=39% len=3 d=1.564285ms
INFO [01-28|16:39:00.172] STATE1_PROCESS :                         t=129994 c=127357 p=49% len=3 d=1.237442ms
INFO [01-28|16:39:00.917] STATE1_PROCESS :                         t=129994 c=127883 p=59% len=3 d=1.235125ms
INFO [01-28|16:39:01.705] STATE1_PROCESS :                         t=129994 c=128409 p=69% len=3 d=1.266172ms
INFO [01-28|16:39:02.684] STATE1_PROCESS :                         t=129994 c=128935 p=79% len=3 d=2.135567ms
INFO [01-28|16:39:04.093] STATE1_PROCESS :                         t=129994 c=129461 p=89% len=3 d=15.529297ms
INFO [01-28|16:39:06.240] STATE1_PROCESS :                         t=129994 c=129987 p=99% len=3 d=33.752453ms
INFO [01-28|16:39:06.535] STATE1_PROCESS :                         t=129994 c=129994 p=100% len=3 d=49.924791ms
INFO [01-28|16:39:07.654] Block synchronisation started 
INFO [01-28|16:39:08.896] Persisted trie from memory database      nodes=0 size=0.00B time=88.148µs gcnodes=0 gcsize=0.00B gctime=0s livenodes=959 livesize=349.70kB
INFO [01-28|16:39:10.327] Imported new chain segment               blocks=192 txs=0 mgas=0.000 elapsed=1.477s mgasps=0.000 number=130192 hash=0f053f…48d5c1 cache=15.81mB
INFO [01-28|16:39:14.611] STATE1_PROCESS :                         t=130697 c=129995 p=0%   len=1 d=16.127351ms
INFO [01-28|16:39:14.719] STATE1_PROCESS :                         t=130697 c=130065 p=9%   len=1 d=1.166774ms
INFO [01-28|16:39:14.811] STATE1_PROCESS :                         t=130697 c=130135 p=19%  len=1 d=1.296472ms
INFO [01-28|16:39:14.908] STATE1_PROCESS :                         t=130697 c=130205 p=29%  len=1 d=1.247697ms
INFO [01-28|16:39:15.005] STATE1_PROCESS :                         t=130697 c=130275 p=39%  len=1 d=1.22043ms
INFO [01-28|16:39:15.103] STATE1_PROCESS :                         t=130697 c=130345 p=49%  len=1 d=1.501378ms
INFO [01-28|16:39:15.195] STATE1_PROCESS :                         t=130697 c=130415 p=59%  len=1 d=1.222603ms
INFO [01-28|16:39:15.297] STATE1_PROCESS :                         t=130697 c=130485 p=69%  len=1 d=1.219882ms
INFO [01-28|16:39:15.395] STATE1_PROCESS :                         t=130697 c=130555 p=79%  len=1 d=1.280952ms
INFO [01-28|16:39:15.501] STATE1_PROCESS :                         t=130697 c=130625 p=89%  len=1 d=2.618087ms

install failed

root@e_ali:~/czero/go-sero# make
build/env.sh go run build/ci.go install ./cmd/gero
/root/czero/go-sero/../go-czero-import
/
build/env.sh: 19: build/env.sh: Syntax error: "(" unexpected
Makefile:18: recipe for target 'gero' failed
make: *** [gero] Error 2

node sync problem

My nodes are slow to synchronize. After syncing to the latest block, after a while, it is behind the latest block.
my service is 4c16G. Do I need to upgrade my service?

INFO [08-01|10:29:18.706] Imported new chain segment               blocks=1 txs=18  mgas=13.863  elapsed=26.078s   mgasps=0.532  number=3779491 hash=f46ed2…00cd27                                                      cache=268.33mB
INFO [08-01|10:29:31.647] Imported new chain segment               blocks=1 txs=8   mgas=7.949   elapsed=12.940s   mgasps=0.614  number=3779492 hash=a3537e…90ce5d                                                      cache=268.33mB
INFO [08-01|10:30:01.687] Imported new chain segment               blocks=1 txs=28  mgas=9.325   elapsed=30.040s   mgasps=0.310  number=3779493 hash=c19397…070257                                                      cache=268.33mB
INFO [08-01|10:30:30.420] Imported new chain segment               blocks=1 txs=13  mgas=8.651   elapsed=28.732s   mgasps=0.301  number=3779494 hash=445bad…f02ec6                                                      cache=268.33mB
INFO [08-01|10:30:59.189] Imported new chain segment               blocks=1 txs=18  mgas=10.260  elapsed=28.768s   mgasps=0.357  number=3779495 hash=2d3daf…c016c9                                                      cache=268.33mB
INFO [08-01|10:31:57.424] Imported new chain segment               blocks=2 txs=35  mgas=20.570  elapsed=58.235s   mgasps=0.353  number=3779497 hash=6c01e8…d733c9                                                      cache=268.33mB
INFO [08-01|10:32:09.651] Imported new chain segment               blocks=1 txs=11  mgas=1.307   elapsed=12.227s   mgasps=0.107  number=3779498 hash=354629…6801ba                                                      cache=268.33mB
INFO [08-01|10:33:22.908] Imported new chain segment               blocks=4 txs=42  mgas=24.536  elapsed=1m13.257s mgasps=0.335  number=3779502 hash=74e563…fabb4d                                                      cache=268.33mB
INFO [08-01|10:33:46.929] Imported new chain segment               blocks=1 txs=14  mgas=3.959   elapsed=24.021s   mgasps=0.165  number=3779503 hash=8aa9b8…19188d                                                      cache=268.33mB
INFO [08-01|10:34:03.385] Imported new chain segment               blocks=1 txs=9   mgas=2.819   elapsed=16.455s   mgasps=0.171  number=3779504 hash=438a45…370bad                                                      cache=268.33mB

轻钱包不能在windows上运行

你好,我想要在windows系统上编译go-czero-import,请问需要安装哪些类库呢,我运行go的时候提示我x86_64-w64-mingw32/bin/ld.exe: cannot find -lczero

Failed to query and publish anonymous token balance?

  1. The development mode deploys test tokens on http://remix.web.sero.cash/.
    After the deployment is successful, the contract address and transaction hash are returned, but the contract address is used to check the balance, but the token is not displayed?
  2. Is there an example of how to execute a common contract when publishing a common contract?
    Thanks!

Error during node sync (gero version 0.7.0 beta r7

Here is the errors i've detected during sync process:

ERROR[04-16|18:10:04.773] validateTx error : hash=0x99c9449d9d10f9c4dcbcefcefdd0446fd1e4f474a2bc92f88fc21980f5187608 recover="missing trie node 29545969bfecf5ada4ec131621f094c710 740454db5b29fcf955aad03217af36 (path 0603)" goroutine 210779 [running]: runtime/debug.Stack(0x1260b22, 0x13, 0x1) /usr/local/go/src/runtime/debug/stack.go:24 +0xae runtime/debug.PrintStack() /usr/local/go/src/runtime/debug/stack.go:16 +0x29 github.com/sero-cash/go-sero/core.(*TxPool).validateTx.func1(0xc084b3cf00, 0xc00ff62ae8) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:445 +0x1ad panic(0x112ec60, 0xc05d9ce900) /usr/local/go/src/runtime/panic.go:513 +0x1c7 github.com/sero-cash/go-sero/zero/utils.(*HSet).Has(0xc052bca5c8, 0x1b0fe80, 0xc0332bbc80, 0xc048e9efe0, 0xc00ff61fc8) /ext-go/1/src/github.com/sero-cash/go-sero/zero/utils/hset.go:61 +0x200 github.com/sero-cash/go-sero/zero/txs/zstate/txstate/data_v1.(*Data).HasIn(0xc052bca5a0, 0x1b0fe80, 0xc0332bbc80, 0xc048e9efe0, 0xc048e9efc0) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/zstate/txstate/data_v1/data_state.go:33 +0x56 github.com/sero-cash/go-sero/zero/txs/zstate/txstate.(*State).HasIn(0xc00bd73008, 0xc048e9efe0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/zstate/txstate/state.go:137 +0x9b github.com/sero-cash/go-sero/zero/txs/verify.Verify_state1(0xc021bd74a0, 0xc00bd72ff0, 0x11408e0, 0xc0556f02f8) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/verify/txs_verify.go:184 +0x8a9 github.com/sero-cash/go-sero/zero/txs/verify.Verify(0xc021bd74a0, 0xc00bd72ff0, 0xc084b3cf00, 0xc00ff62ae8) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/verify/txs_verify.go:44 +0x3c github.com/sero-cash/go-sero/core.(*TxPool).validateTx(0xc000003380, 0xc084b3cf00, 0x6f44d0fdceefbc00, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:460 +0x108 github.com/sero-cash/go-sero/core.(*TxPool).add(0xc000003380, 0xc084b3cf00, 0x0, 0xc02ae4e790, 0x1, 0x1) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:497 +0xd4 github.com/sero-cash/go-sero/core.(*TxPool).addTxsLocked(0xc000003380, 0xc03e369200, 0x1, 0x4, 0x0, 0xc00ff63148, 0x2, 0x2) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:599 +0xc4 github.com/sero-cash/go-sero/core.(*TxPool).addTxs(0xc000003380, 0xc03e369200, 0x1, 0x4, 0x0, 0x0, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:589 +0xb6 github.com/sero-cash/go-sero/core.(*TxPool).AddRemotes(0xc000003380, 0xc03e369200, 0x1, 0x4, 0x87618f58019c28f, 0xee2f87acef5, 0x2166b80) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:567 +0x172 github.com/sero-cash/go-sero/sero.(*ProtocolManager).handleMsg(0xc000544300, 0xc07c9cd980, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/sero/handler.go:623 +0x48a github.com/sero-cash/go-sero/sero.(*ProtocolManager).handle(0xc000544300, 0xc07c9cd980, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/sero/handler.go:285 +0x6f2 github.com/sero-cash/go-sero/sero.NewProtocolManager.func1(0xc066f90f60, 0x1b09100, 0xc035196cb0, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/sero/handler.go:137 +0x1bf github.com/sero-cash/go-sero/p2p.(*Peer).startProtocols.func1(0xc035196cb0, 0xc066f90f60, 0x1b09100, 0xc035196cb0) /ext-go/1/src/github.com/sero-cash/go-sero/p2p/peer.go:353 +0x6d created by github.com/sero-cash/go-sero/p2p.(*Peer).startProtocols /ext-go/1/src/github.com/sero-cash/go-sero/p2p/peer.go:352 +0x202 ERROR[04-16|18:10:04.794] validateTx error : hash=0x99c9449d9d10f9c4dcbcefcefdd0446fd1e4f474a2bc92f88fc21980f5187608 recover="missing trie node 29545969bfecf5ada4ec131621f094c710 740454db5b29fcf955aad03217af36 (path 0603)" goroutine 211077 [running]: runtime/debug.Stack(0x1260b22, 0x13, 0x1) /usr/local/go/src/runtime/debug/stack.go:24 +0xae runtime/debug.PrintStack() /usr/local/go/src/runtime/debug/stack.go:16 +0x29 github.com/sero-cash/go-sero/core.(*TxPool).validateTx.func1(0xc058d68dc0, 0xc0485baae8) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:445 +0x1ad panic(0x112ec60, 0xc05d9cea00) /usr/local/go/src/runtime/panic.go:513 +0x1c7 github.com/sero-cash/go-sero/zero/utils.(*HSet).Has(0xc052bca5c8, 0x1b0fe80, 0xc0332bbc80, 0xc05be42920, 0xc0485b9fc8) /ext-go/1/src/github.com/sero-cash/go-sero/zero/utils/hset.go:61 +0x200 github.com/sero-cash/go-sero/zero/txs/zstate/txstate/data_v1.(*Data).HasIn(0xc052bca5a0, 0x1b0fe80, 0xc0332bbc80, 0xc05be42920, 0xc05be42900) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/zstate/txstate/data_v1/data_state.go:33 +0x56 github.com/sero-cash/go-sero/zero/txs/zstate/txstate.(*State).HasIn(0xc00bd73008, 0xc05be42920, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/zstate/txstate/state.go:137 +0x9b github.com/sero-cash/go-sero/zero/txs/verify.Verify_state1(0xc01e4470e0, 0xc00bd72ff0, 0x11408e0, 0xc05b696320) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/verify/txs_verify.go:184 +0x8a9 github.com/sero-cash/go-sero/zero/txs/verify.Verify(0xc01e4470e0, 0xc00bd72ff0, 0xc058d68dc0, 0xc0485baae8) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/verify/txs_verify.go:44 +0x3c github.com/sero-cash/go-sero/core.(*TxPool).validateTx(0xc000003380, 0xc058d68dc0, 0x6f44d0fdceefbc00, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:460 +0x108 github.com/sero-cash/go-sero/core.(*TxPool).add(0xc000003380, 0xc058d68dc0, 0x0, 0xc02ae4e890, 0x1, 0x1) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:497 +0xd4 github.com/sero-cash/go-sero/core.(*TxPool).addTxsLocked(0xc000003380, 0xc026e55940, 0x1, 0x4, 0x0, 0xc0485bb148, 0x2, 0x2) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:599 +0xc4 github.com/sero-cash/go-sero/core.(*TxPool).addTxs(0xc000003380, 0xc026e55940, 0x1, 0x4, 0x0, 0x0, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:589 +0xb6 github.com/sero-cash/go-sero/core.(*TxPool).AddRemotes(0xc000003380, 0xc026e55940, 0x1, 0x4, 0x87618f58019c28f, 0xee2f9507195, 0x2166b80) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:567 +0x172 github.com/sero-cash/go-sero/sero.(*ProtocolManager).handleMsg(0xc000544300, 0xc06916c0c0, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/sero/handler.go:623 +0x48a github.com/sero-cash/go-sero/sero.(*ProtocolManager).handle(0xc000544300, 0xc06916c0c0, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/sero/handler.go:285 +0x6f2 github.com/sero-cash/go-sero/sero.NewProtocolManager.func1(0xc03386a2a0, 0x1b09100, 0xc008553490, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/sero/handler.go:137 +0x1bf github.com/sero-cash/go-sero/p2p.(*Peer).startProtocols.func1(0xc008553490, 0xc03386a2a0, 0x1b09100, 0xc008553490) /ext-go/1/src/github.com/sero-cash/go-sero/p2p/peer.go:353 +0x6d created by github.com/sero-cash/go-sero/p2p.(*Peer).startProtocols /ext-go/1/src/github.com/sero-cash/go-sero/p2p/peer.go:352 +0x202 ERROR[04-16|18:10:05.105] validateTx error : hash=0x6d7d7fcecd8918922be9f5feaff6b88cf3260e01f7e30832706eb48c43009d7d recover="missing trie node d1f1ff3381fcf7253b0f49f303116b01e7 e7fc936dc9b3a8deb346268a6def2a (path 0c07)" goroutine 20632 [running]: runtime/debug.Stack(0x1260b22, 0x13, 0x1) /usr/local/go/src/runtime/debug/stack.go:24 +0xae runtime/debug.PrintStack() /usr/local/go/src/runtime/debug/stack.go:16 +0x29 github.com/sero-cash/go-sero/core.(*TxPool).validateTx.func1(0xc06e194c30, 0xc008e10ae8) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:445 +0x1ad panic(0x112ec60, 0xc05d9ceb00) /usr/local/go/src/runtime/panic.go:513 +0x1c7 github.com/sero-cash/go-sero/zero/utils.(*HSet).Has(0xc052bca5c8, 0x1b0fe80, 0xc0332bbc80, 0xc05fdccea0, 0xc02af67fc8) /ext-go/1/src/github.com/sero-cash/go-sero/zero/utils/hset.go:61 +0x200 github.com/sero-cash/go-sero/zero/txs/zstate/txstate/data_v1.(*Data).HasIn(0xc052bca5a0, 0x1b0fe80, 0xc0332bbc80, 0xc05fdccea0, 0xc05fdcce80) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/zstate/txstate/data_v1/data_state.go:33 +0x56 github.com/sero-cash/go-sero/zero/txs/zstate/txstate.(*State).HasIn(0xc00bd73008, 0xc05fdccea0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/zstate/txstate/state.go:137 +0x9b github.com/sero-cash/go-sero/zero/txs/verify.Verify_state1(0xc0131ea5a0, 0xc00bd72ff0, 0x11408e0, 0xc022871e68) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/verify/txs_verify.go:85 +0x1638 github.com/sero-cash/go-sero/zero/txs/verify.Verify(0xc0131ea5a0, 0xc00bd72ff0, 0xc06e194c30, 0xc02af68ae8) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/verify/txs_verify.go:44 +0x3c github.com/sero-cash/go-sero/core.(*TxPool).validateTx(0xc000003380, 0xc06e194c30, 0x8cb8f6affef5e900, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:460 +0x108 github.com/sero-cash/go-sero/core.(*TxPool).add(0xc000003380, 0xc06e194c30, 0x0, 0xc02ae4e9a0, 0x1, 0x1) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:497 +0xd4 github.com/sero-cash/go-sero/core.(*TxPool).addTxsLocked(0xc000003380, 0xc04aa4f4a0, 0x1, 0x4, 0x0, 0xc02af69148, 0x2, 0x2) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:599 +0xc4 github.com/sero-cash/go-sero/core.(*TxPool).addTxs(0xc000003380, 0xc04aa4f4a0, 0x1, 0x4, 0x0, 0x0, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:589 +0xb6 github.com/sero-cash/go-sero/core.(*TxPool).AddRemotes(0xc000003380, 0xc04aa4f4a0, 0x1, 0x4, 0x7d9d00438cb46e70, 0xee30cafd57d, 0x2166b80) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:567 +0x172 github.com/sero-cash/go-sero/sero.(*ProtocolManager).handleMsg(0xc000544300, 0xc0680c0480, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/sero/handler.go:623 +0x48a github.com/sero-cash/go-sero/sero.(*ProtocolManager).handle(0xc000544300, 0xc0680c0480, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/sero/handler.go:285 +0x6f2 github.com/sero-cash/go-sero/sero.NewProtocolManager.func1(0xc00837c540, 0x1b09100, 0xc01071c000, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/sero/handler.go:137 +0x1bf github.com/sero-cash/go-sero/p2p.(*Peer).startProtocols.func1(0xc01071c000, 0xc00837c540, 0x1b09100, 0xc01071c000) /ext-go/1/src/github.com/sero-cash/go-sero/p2p/peer.go:353 +0x6d created by github.com/sero-cash/go-sero/p2p.(*Peer).startProtocols /ext-go/1/src/github.com/sero-cash/go-sero/p2p/peer.go:352 +0x202 ERROR[04-16|18:10:05.518] validateTx error : hash=0x99c9449d9d10f9c4dcbcefcefdd0446fd1e4f474a2bc92f88fc21980f5187608 recover="missing trie node 29545969bfecf5ada4ec131621f094c710 740454db5b29fcf955aad03217af36 (path 0603)" goroutine 20632 [running]: runtime/debug.Stack(0x1260b22, 0x13, 0x1) /usr/local/go/src/runtime/debug/stack.go:24 +0xae runtime/debug.PrintStack() /usr/local/go/src/runtime/debug/stack.go:16 +0x29 github.com/sero-cash/go-sero/core.(*TxPool).validateTx.func1(0xc084b3cfa0, 0xc008e10ae8) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:445 +0x1ad panic(0x112ec60, 0xc0da82ff40) /usr/local/go/src/runtime/panic.go:513 +0x1c7 github.com/sero-cash/go-sero/zero/utils.(*HSet).Has(0xc052bca5c8, 0x1b0fe80, 0xc0332bbc80, 0xc033bcbb20, 0xc008e0ffc8) /ext-go/1/src/github.com/sero-cash/go-sero/zero/utils/hset.go:61 +0x200 github.com/sero-cash/go-sero/zero/txs/zstate/txstate/data_v1.(*Data).HasIn(0xc052bca5a0, 0x1b0fe80, 0xc0332bbc80, 0xc033bcbb20, 0xc033bcbb00) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/zstate/txstate/data_v1/data_state.go:33 +0x56 github.com/sero-cash/go-sero/zero/txs/zstate/txstate.(*State).HasIn(0xc00bd73008, 0xc033bcbb20, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/zstate/txstate/state.go:137 +0x9b github.com/sero-cash/go-sero/zero/txs/verify.Verify_state1(0xc021bd7680, 0xc00bd72ff0, 0x11408e0, 0xc0556f0330) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/verify/txs_verify.go:184 +0x8a9 github.com/sero-cash/go-sero/zero/txs/verify.Verify(0xc021bd7680, 0xc00bd72ff0, 0xc084b3cfa0, 0xc008e10ae8) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/verify/txs_verify.go:44 +0x3c github.com/sero-cash/go-sero/core.(*TxPool).validateTx(0xc000003380, 0xc084b3cfa0, 0x6f44d0fdceefbc00, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:460 +0x108 github.com/sero-cash/go-sero/core.(*TxPool).add(0xc000003380, 0xc084b3cfa0, 0x0, 0xc064286260, 0x1, 0x1) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:497 +0xd4 github.com/sero-cash/go-sero/core.(*TxPool).addTxsLocked(0xc000003380, 0xc03e369700, 0x1, 0x4, 0x0, 0xc008e11148, 0x2, 0x2) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:599 +0xc4 github.com/sero-cash/go-sero/core.(*TxPool).addTxs(0xc000003380, 0xc03e369700, 0x1, 0x4, 0x0, 0x0, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:589 +0xb6 github.com/sero-cash/go-sero/core.(*TxPool).AddRemotes(0xc000003380, 0xc03e369700, 0x1, 0x4, 0x87618f58019c28f, 0xee3254e12ed, 0x2166b80) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:567 +0x172 github.com/sero-cash/go-sero/sero.(*ProtocolManager).handleMsg(0xc000544300, 0xc0680c0480, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/sero/handler.go:623 +0x48a github.com/sero-cash/go-sero/sero.(*ProtocolManager).handle(0xc000544300, 0xc0680c0480, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/sero/handler.go:285 +0x6f2 github.com/sero-cash/go-sero/sero.NewProtocolManager.func1(0xc00837c540, 0x1b09100, 0xc01071c000, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/sero/handler.go:137 +0x1bf github.com/sero-cash/go-sero/p2p.(*Peer).startProtocols.func1(0xc01071c000, 0xc00837c540, 0x1b09100, 0xc01071c000) /ext-go/1/src/github.com/sero-cash/go-sero/p2p/peer.go:353 +0x6d created by github.com/sero-cash/go-sero/p2p.(*Peer).startProtocols /ext-go/1/src/github.com/sero-cash/go-sero/p2p/peer.go:352 +0x202 ERROR[04-16|18:10:07.343] validateTx error : hash=0x99c9449d9d10f9c4dcbcefcefdd0446fd1e4f474a2bc92f88fc21980f5187608 recover="missing trie node 29545969bfecf5ada4ec131621f094c710 740454db5b29fcf955aad03217af36 (path 0603)" goroutine 130551 [running]: runtime/debug.Stack(0x1260b22, 0x13, 0x1) /usr/local/go/src/runtime/debug/stack.go:24 +0xae runtime/debug.PrintStack() /usr/local/go/src/runtime/debug/stack.go:16 +0x29 github.com/sero-cash/go-sero/core.(*TxPool).validateTx.func1(0xc05b19aaa0, 0xc002608ae8) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:445 +0x1ad panic(0x112ec60, 0xc00489a6c0) /usr/local/go/src/runtime/panic.go:513 +0x1c7 github.com/sero-cash/go-sero/zero/utils.(*HSet).Has(0xc052bca5c8, 0x1b0fe80, 0xc0332bbc80, 0xc04354fe80, 0xc002607fc8) /ext-go/1/src/github.com/sero-cash/go-sero/zero/utils/hset.go:61 +0x200 github.com/sero-cash/go-sero/zero/txs/zstate/txstate/data_v1.(*Data).HasIn(0xc052bca5a0, 0x1b0fe80, 0xc0332bbc80, 0xc04354fe80, 0xc04354fe60) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/zstate/txstate/data_v1/data_state.go:33 +0x56 github.com/sero-cash/go-sero/zero/txs/zstate/txstate.(*State).HasIn(0xc00bd73008, 0xc04354fe80, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/zstate/txstate/state.go:137 +0x9b github.com/sero-cash/go-sero/zero/txs/verify.Verify_state1(0xc004aa8f00, 0xc00bd72ff0, 0x11408e0, 0xc057f4c940) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/verify/txs_verify.go:184 +0x8a9 github.com/sero-cash/go-sero/zero/txs/verify.Verify(0xc004aa8f00, 0xc00bd72ff0, 0xc05b19aaa0, 0xc002608ae8) /ext-go/1/src/github.com/sero-cash/go-sero/zero/txs/verify/txs_verify.go:44 +0x3c github.com/sero-cash/go-sero/core.(*TxPool).validateTx(0xc000003380, 0xc05b19aaa0, 0x6f44d0fdceefbc00, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:460 +0x108 github.com/sero-cash/go-sero/core.(*TxPool).add(0xc000003380, 0xc05b19aaa0, 0x0, 0xc03358cd50, 0x1, 0x1) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:497 +0xd4 github.com/sero-cash/go-sero/core.(*TxPool).addTxsLocked(0xc000003380, 0xc04f4f23c0, 0x1, 0x4, 0x0, 0xc002609148, 0x2, 0x2) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:599 +0xc4 github.com/sero-cash/go-sero/core.(*TxPool).addTxs(0xc000003380, 0xc04f4f23c0, 0x1, 0x4, 0x0, 0x0, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:589 +0xb6 github.com/sero-cash/go-sero/core.(*TxPool).AddRemotes(0xc000003380, 0xc04f4f23c0, 0x1, 0x4, 0x87618f58019c28f, 0xee39216f4fd, 0x2166b80) /ext-go/1/src/github.com/sero-cash/go-sero/core/tx_pool.go:567 +0x172 github.com/sero-cash/go-sero/sero.(*ProtocolManager).handleMsg(0xc000544300, 0xc00009e000, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/sero/handler.go:623 +0x48a github.com/sero-cash/go-sero/sero.(*ProtocolManager).handle(0xc000544300, 0xc00009e000, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/sero/handler.go:285 +0x6f2 github.com/sero-cash/go-sero/sero.NewProtocolManager.func1(0xc05ba0e540, 0x1b09100, 0xc0624904d0, 0x0, 0x0) /ext-go/1/src/github.com/sero-cash/go-sero/sero/handler.go:137 +0x1bf github.com/sero-cash/go-sero/p2p.(*Peer).startProtocols.func1(0xc0624904d0, 0xc05ba0e540, 0x1b09100, 0xc0624904d0) /ext-go/1/src/github.com/sero-cash/go-sero/p2p/peer.go:353 +0x6d created by github.com/sero-cash/go-sero/p2p.(*Peer).startProtocols /ext-go/1/src/github.com/sero-cash/go-sero/p2p/peer.go:352 +0x202

czero 2.0 version

the client runing error:
Pk2PKrAndLICr error: czero not support after SIP5
CheckLICr error: czero not support after SIP5

Execute sero failed

Version 0.7.1
Just downloaded the sero and execute, what I got is as below
What am I doing wrong? please advise

github.com/sero-cash/go-czero-import/cpt.ZeroInit.func1(0xc000034ca0, 0x18, 0x2)
/ext-go/1/src/github.com/sero-cash/go-czero-import/cpt/cpt.go:58 +0x4c fp=0xc000057fc8 sp=0xc000057fa0 pc=0x577ecc
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1333 +0x1 fp=0xc000057fd0 sp=0xc000057fc8 pc=0x470571
created by github.com/sero-cash/go-czero-import/cpt.ZeroInit
/ext-go/1/src/github.com/sero-cash/go-czero-import/cpt/cpt.go:57 +0x52

goroutine 1 [chan receive]:
github.com/sero-cash/go-czero-import/cpt.ZeroInit(0xc000034ca0, 0x18, 0x2, 0x0, 0x41f900)
/ext-go/1/src/github.com/sero-cash/go-czero-import/cpt/cpt.go:64 +0x6b
main.init.0.func1(0xc0000fc000, 0x15c9c50, 0xc0000ba4e0)
/ext-go/1/src/github.com/sero-cash/go-sero/cmd/gero/main.go:214 +0x60e
github.com/sero-cash/go-sero/vendor/gopkg.in/urfave/cli%2ev1.(*App).Run(0xc0000ba4e0, 0xc000098190, 0x1, 0x1, 0x0, 0x0)
/ext-go/1/src/github.com/sero-cash/go-sero/vendor/gopkg.in/urfave/cli.v1/app.go:241 +0x6ce
main.main()
/ext-go/1/src/github.com/sero-cash/go-sero/cmd/gero/main.go:338 +0xad

goroutine 20 [chan receive]:
github.com/sero-cash/go-sero/vendor/github.com/rjeczalik/notify.(*nonrecursiveTree).dispatch(0xc0000aa300, 0xc0000aa240)
/ext-go/1/src/github.com/sero-cash/go-sero/vendor/github.com/rjeczalik/notify/tree_nonrecursive.go:36 +0xb6
created by github.com/sero-cash/go-sero/vendor/github.com/rjeczalik/notify.newNonrecursiveTree
/ext-go/1/src/github.com/sero-cash/go-sero/vendor/github.com/rjeczalik/notify/tree_nonrecursive.go:29 +0xdc

goroutine 21 [chan receive]:
github.com/sero-cash/go-sero/vendor/github.com/rjeczalik/notify.(*nonrecursiveTree).internal(0xc0000aa300, 0xc0000aa2a0)
/ext-go/1/src/github.com/sero-cash/go-sero/vendor/github.com/rjeczalik/notify/tree_nonrecursive.go:81 +0x7b
created by github.com/sero-cash/go-sero/vendor/github.com/rjeczalik/notify.newNonrecursiveTree
/ext-go/1/src/github.com/sero-cash/go-sero/vendor/github.com/rjeczalik/notify/tree_nonrecursive.go:30 +0x108

goroutine 22 [syscall]:
os/signal.signal_recv(0x0)
/usr/local/go/src/runtime/sigqueue.go:139 +0x9c
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
/usr/local/go/src/os/signal/signal_unix.go:29 +0x41

rax 0x0
rbx 0x25fb8c8
rcx 0x7fb35b522428
rdx 0x6
rdi 0x40e8
rsi 0x40e8
rbp 0x7fb35b8b2700
rsp 0x7ffde6506208
r8 0x7fb35b8b3770
r9 0x7fb35bef47c0
r10 0x8
r11 0x206
r12 0x25f9530
r13 0x25fb890
r14 0x7ffde6506470
r15 0x7ffde65066b0
rip 0x7fb35b522428
rflags 0x206
cs 0x33
fs 0x0
gs 0x0

install failed

ecustomer@sero-chain:~/czero/go-sero$ sudo make gero
build/env.sh go run build/ci.go install ./cmd/gero
/home/ecustomer/czero/go-sero/../go-czero-import
/
cp: cannot stat 'lib_DARWIN_AMD64/*': No such file or directory
Makefile:18: recipe for target 'gero' failed
make: *** [gero] Error 1
ecustomer@sero-chain:~/czero/go-sero$

What is the configuration file for sero?

What is the configuration file for sero?
like bitcoin.conf for BTC.

I want to connect my localhost node,but I do not know the port. (Windows)

Who can tell me howshould I do?

Error: lstate.balance is no longer supported

I follow this text "from-the-sourcecode-base-on-centos7.md".

And when i excute "build/bin/gero --datadir "./sero-data" console" , the error is throwed.

personal.newAccount("123")
"5KXJF5rDjuuzLuFQELrKAuSypRWHCgcJf7YrCmkoj8ALiLiyY13Pn6zjUBY54EqyDF8pvEL4bhE67RvQePgd7Nd3"

sero.getBalance(sero.accounts[0])
Error: lstate.balance is no longer supported
at web3.js:3690:28
at web3.js:7206:23
at web3.js:5966:44
at :1:1

Erro Install

Hi !
I'm trying to install gero and also mining pool.

But in both cases I get the error below.

Can anyone tell me the way to fix this?

My system, CentOs 7
golang 1.9

Thanks

build/env.sh go run -mod=readonly build/ci.go install /root/gopath/src/github.com/sero-cash/go-sero/../go-czero-import /root/gopath /# github.com/sero-cash/go-czero-import/c_superzk /usr/bin/ld: cannot find -lsuperzk collect2: error: ld returned 1 exit status

Mining not start in gero

I followed all the steps to install the gero.
But when I try to run the mining with mine-pool I get the error below that I don't have a license.

Where can I get the license for direct mining in gero?

ERROR[07-15|01:24:44.281] Cannot start mining , miner license does not exists, or coinBase is error = Pk2PKrAndLICr error: czero not support after SIP5 CheckLICr error: czero not support after SIP5

gero keeps generating DAG

gero keeps generating DAG and used 100% CPU of all cores and fiels starting to fill up my home/.ethash directory when I start it using the default startup.sh,
then I changed the parameter in startup.sh to the following:
cmd="bin/gero --config ${CONFIG_PATH} --datadir ${DATADIR_OPTION} --port ${PORT_OPTION} ${NET_OPTION} ${RPC_OPTION} ${KEYSTORE_OPTION} --ethash.dagdir ${DEFAULT_ETH_HASH_DAG_DIR} --cache 1024 --ethash.cachesinmem 1 --ethash.cachesondisk 10 --ethash.dagsinmem 1 --ethash.dagsondisk 4 --gcmode full --syncmode fast --fakepow --nousb"
Though the space now fills up slower, the program still tries to generage DAG after it started for a while and keeps using 100% CPU.
Could you pease help have a look?
Part of the logs below

INFO [07-13|21:06:28.376] Generating DAG in progress               epoch=33 percentage=99 elapsed=8m40.129s
INFO [07-13|21:06:28.481] Generated ethash verification cache      epoch=33 elapsed=8m40.233s
INFO [07-13|21:06:29.201] Generating DAG in progress               epoch=34 percentage=1  elapsed=6.504s
INFO [07-13|21:06:29.491] Generating DAG in progress               epoch=33 percentage=93 elapsed=7m42.946s
INFO [07-13|21:06:30.325] Generating DAG in progress               epoch=34 percentage=2  elapsed=7.628s
INFO [07-13|21:06:30.573] Generating DAG in progress               epoch=33 percentage=98 elapsed=8m22.553s
INFO [07-13|21:06:30.640] Generating DAG in progress               epoch=33 percentage=94 elapsed=7m44.095s
INFO [07-13|21:06:31.405] Generating DAG in progress               epoch=34 percentage=3  elapsed=8.708s
INFO [07-13|21:06:31.820] Generating DAG in progress               epoch=33 percentage=95 elapsed=7m45.275s
INFO [07-13|21:06:32.354] Generating DAG in progress               epoch=34 percentage=4  elapsed=9.657s
INFO [07-13|21:06:32.502] Generating DAG in progress               epoch=33 percentage=99 elapsed=8m44.604s
INFO [07-13|21:06:32.561] Generated ethash verification cache      epoch=33 elapsed=8m44.663s
INFO [07-13|21:06:33.022] Generating DAG in progress               epoch=33 percentage=96 elapsed=7m46.477s
INFO [07-13|21:06:33.048] Generating DAG in progress               epoch=34 percentage=5  elapsed=10.351s
INFO [07-13|21:06:33.658] Imported new chain segment               blocks=29  txs=3  mgas=0.075 elapsed=21.379s   mgasps=0.004 number=988882 hash=819e89…3a22dd cache=74.15mB
INFO [07-13|21:06:33.668] Generating DAG in progress               epoch=33 percentage=99 elapsed=8m23.906s
INFO [07-13|21:06:33.792] Generated ethash verification cache      epoch=33 elapsed=8m24.030s
INFO [07-13|21:06:34.006] Generating DAG in progress               epoch=34 percentage=6  elapsed=11.309s
INFO [07-13|21:06:34.458] Generating DAG in progress               epoch=33 percentage=97 elapsed=7m47.913s
INFO [07-13|21:06:34.559] Generating DAG in progress               epoch=34 percentage=7  elapsed=11.862s
INFO [07-13|21:06:34.573] Generating DAG in progress               epoch=33 percentage=99 elapsed=8m29.754s
INFO [07-13|21:06:34.617] Generated ethash verification cache      epoch=33 elapsed=8m29.798s
INFO [07-13|21:06:34.741] Generating DAG in progress               epoch=33 percentage=99 elapsed=8m26.439s
INFO [07-13|21:06:34.757] Generated ethash verification cache      epoch=33 elapsed=8m26.456s
INFO [07-13|21:06:35.050] Generating DAG in progress               epoch=34 percentage=8  elapsed=12.353s
INFO [07-13|21:06:35.397] Generating DAG in progress               epoch=33 percentage=99 elapsed=8m32.158s
INFO [07-13|21:06:35.411] Generated ethash verification cache      epoch=33 elapsed=8m32.172s
INFO [07-13|21:06:35.472] Generating DAG in progress               epoch=34 percentage=9  elapsed=12.775s
INFO [07-13|21:06:35.533] Generating DAG in progress               epoch=33 percentage=99 elapsed=8m29.205s
INFO [07-13|21:06:35.544] Generated ethash verification cache      epoch=33 elapsed=8m29.215s
INFO [07-13|21:06:35.763] Generating DAG in progress               epoch=33 percentage=98 elapsed=7m49.217s
INFO [07-13|21:06:35.806] Generating DAG in progress               epoch=34 percentage=10 elapsed=13.108s
INFO [07-13|21:06:36.106] Generating DAG in progress               epoch=34 percentage=11 elapsed=13.409s
INFO [07-13|21:06:36.440] Generating DAG in progress               epoch=34 percentage=12 elapsed=13.743s
INFO [07-13|21:06:36.767] Generating DAG in progress               epoch=34 percentage=13 elapsed=14.070s
INFO [07-13|21:06:37.051] Generating DAG in progress               epoch=34 percentage=14 elapsed=14.354s
INFO [07-13|21:06:37.334] Generating DAG in progress               epoch=34 percentage=15 elapsed=14.637s
INFO [07-13|21:06:37.397] Generating DAG in progress               epoch=33 percentage=99 elapsed=8m29.209s
INFO [07-13|21:06:37.427] Generated ethash verification cache      epoch=33 elapsed=8m29.240s
INFO [07-13|21:06:37.430] Generating DAG in progress               epoch=33 percentage=99 elapsed=8m29.409s
INFO [07-13|21:06:37.493] Generated ethash verification cache      epoch=33 elapsed=8m29.472s
INFO [07-13|21:06:37.632] Generating DAG in progress               epoch=34 percentage=16 elapsed=14.935s
INFO [07-13|21:06:37.861] Generating DAG in progress               epoch=34 percentage=17 elapsed=15.164s
INFO [07-13|21:06:38.089] Generating DAG in progress               epoch=34 percentage=18 elapsed=15.392s
INFO [07-13|21:06:38.322] Generating DAG in progress               epoch=34 percentage=19 elapsed=15.625s
INFO [07-13|21:06:38.565] Generating DAG in progress               epoch=34 percentage=20 elapsed=15.868s
INFO [07-13|21:06:38.807] Generating DAG in progress               epoch=34 percentage=21 elapsed=16.110s
INFO [07-13|21:06:39.039] Generating DAG in progress               epoch=34 percentage=22 elapsed=16.342s
INFO [07-13|21:06:39.276] Generating DAG in progress               epoch=34 percentage=23 elapsed=16.579s
INFO [07-13|21:06:39.507] Generating DAG in progress               epoch=34 percentage=24 elapsed=16.810s
INFO [07-13|21:06:39.745] Generating DAG in progress               epoch=34 percentage=25 elapsed=17.048s
INFO [07-13|21:06:39.978] Generating DAG in progress               epoch=34 percentage=26 elapsed=17.281s
INFO [07-13|21:06:40.213] Generating DAG in progress               epoch=34 percentage=27 elapsed=17.516s
INFO [07-13|21:06:40.410] Generating DAG in progress               epoch=33 percentage=99 elapsed=7m53.865s
INFO [07-13|21:06:40.422] Generated ethash verification cache      epoch=33 elapsed=7m53.877s
INFO [07-13|21:06:40.445] Generating DAG in progress               epoch=34 percentage=28 elapsed=17.748s

start gero failed

[root@ecs-s6-large-2-linux-20190824161429 geropkg]# gero console
start libczero 1 ...

                     sssSSssss
               sSSSSSSSSSSSSSSSSSSSs
           sSSSSSSSSSSSSSSSSSSSSSSSSSSs
         sSSSSSSss               ssSSSSSSs
      ssSSSSSSs        s sss        sSSSSSSs
     sSSSSSs     sSSSSSSSSSSSSSSs      sSSSSS
    sSSSS     +SSSSSSS+        sSSSsss   SSSSSs
  sSSSSs   sSSSSSSSs   sssSss      SSSS    sSSSS
  SSSS     SSSSSs     sSSSSSSSSs   sSSSSs   sSSSSs
sSSSS    sSSSSSs     SSSSSSSSSSSs   SSSSSs    SSSSs
SSSSs    SSSSSS     SSSSSSSSSSSSSs  SSSSSSSs   SSSS

SSSSs SSSSSSs sSSSSSSSSSSSSSSs SSSSSSSSs sSSSs
sSSSs SSSSSSs SSSSSSSSSSSSSssSSSSSSSSSs +SSSs
SSSS SSSSSSs sSSSSSSSSS+SSSSSSSSSSSSSS sSSSS
sSSSs SSSSSS sSSSSSSSSSSsSSSSSSSSSSSs ssSSS
sSSSs s SSSSSSs SSSSSSSSSSssSSSSSSSSS SSSs
SSSS sS SSSSSSs SSSSSSSSSs sSSSSSS SSSs
SSSss sSs sSSSSSSs ssSSSSSSSS sSSSS SSSs
SSS+s SSS sSSSSSSS sSSSSSSS ssSSS SSSS
SSSSs sSSSs sSSSSSSSss sSSSSSSs SSS SSSs
SSSS sSSSSS SSSSSSSSSs sSSSSSSs SS SSS+
SSSSs SSSSSSS sSSSSSSSSS SSSSSs ss SSSs
SSS+ sSSSSSSSSSs sSSSSSSSSSs SSSSSS ss +SSS
SSSS SSSSSSSSSSSss sSSSSSSSs sSSSSS sSSSS
sSSSs sSSSSSSSs sSSSs sSSSSSSs SSSSSs sSSSs
SSSSs sSSSSSSs SSSSSSs sSSSSSSs SSSSSs sSSS+
SSSS SSSSS+ SSSSSSSssSSSSSs sSSSS sSSSS
sSSSS SSSSS ssSSSSSSsSSSSss sSSSSs SSSS
SSSSss SSSs SSSSSSSSSs SSSSS sSSSSs
SSSSs sSSs +SSSSS sSSSSs ssSSSs
sSSSSS sSSSS sSSSSs SSSSSs
SSSSS+ss sSSSSSSSSSSSS sSSSSSs
SSSSSSss ssSSSSSSs
sSSSSSSSsss ssSSSSSSSS
sSSSSSSSSSSSSSSSSSSSSSSSSSs
ssSSSSSSSSSSSSSSSSSs
rrssssrr

zero init ...
CZERO nettype : 2
CZERO b_path : /lib64
CZERO account_dir : /root/.sero/keystore
load keypair from: /data/output
terminate called after throwing an instance of 'std::runtime_error'
what(): load path failed: /data/output/vk.bin
SIGABRT: abort
PC=0x7f389f7d4207 m=0 sigcode=18446744073709551610

goroutine 0 [idle]:
runtime: unknown pc 0x7f389f7d4207
stack: frame={sp:0x7ffd27872d08, fp:0x0} stack=[0x7ffd27074d48,0x7ffd27873d70)
00007ffd27872c08: 00007f389eed8611 00007ffd278728a0
00007ffd27872c18: 0000002200000003 00007ffd27872810
00007ffd27872c28: 0000001100000001 00007ffd00000000
00007ffd27872c38: 00007ffd278728a0 00007ffd00000003
00007ffd27872c48: 00007ffd27873cb0 6e75723a3a647473
00007ffd27872c58: 7272655f656d6974 00007ffd2700726f
00007ffd27872c68: 000000000046d420 <runtime.asmcgocall+112> 0000000000000000
00007ffd27872c78: 0000000000000000 0000000000000000
00007ffd27872c88: 00007f38a00d2de0 4000000000000000
00007ffd27872c98: 0000000000000000 0000000000000000
00007ffd27872ca8: 0000000000000000 0000000000000000
00007ffd27872cb8: 0000000000000000 0000000000000000
00007ffd27872cc8: 0000000000000000 0000000000000000
00007ffd27872cd8: 00007f389fb65868 000000000372c838
00007ffd27872ce8: 000000000372c9d0 00007ffd27872ec0
00007ffd27872cf8: 000000000372b2a0 00007ffd278730f0
00007ffd27872d08: <00007f389f7d58f8 0000000000000020
00007ffd27872d18: 0000000000000000 0000000000000000
00007ffd27872d28: 0000000000000000 0000000000000000
00007ffd27872d38: 0000000000000000 0000000000000000
00007ffd27872d48: 0000000000000000 0000000000000000
00007ffd27872d58: 0000000000000000 0000000000000000
00007ffd27872d68: 0000000000000000 0000000000000000
00007ffd27872d78: 0000000000000000 0000000000000000
00007ffd27872d88: 0000000000000000 00007f389fb651c0
00007ffd27872d98: 00007f389f88cff9 0000000000000000
00007ffd27872da8: 00007f389f8180b3 000000000372c838
00007ffd27872db8: 00007f389fb651c0 0000000000000001
00007ffd27872dc8: 00007f389fb65243 00007f389fb613a0
00007ffd27872dd8: 00007f389f8198ce 00007f389fb651c0
00007ffd27872de8: 000000000000000a 000000000372c9d0
00007ffd27872df8: 00007ffd27872ec0 000000000372b2a0
runtime: unknown pc 0x7f389f7d4207
stack: frame={sp:0x7ffd27872d08, fp:0x0} stack=[0x7ffd27074d48,0x7ffd27873d70)
00007ffd27872c08: 00007f389eed8611 00007ffd278728a0
00007ffd27872c18: 0000002200000003 00007ffd27872810
00007ffd27872c28: 0000001100000001 00007ffd00000000
00007ffd27872c38: 00007ffd278728a0 00007ffd00000003
00007ffd27872c48: 00007ffd27873cb0 6e75723a3a647473
00007ffd27872c58: 7272655f656d6974 00007ffd2700726f
00007ffd27872c68: 000000000046d420 <runtime.asmcgocall+112> 0000000000000000
00007ffd27872c78: 0000000000000000 0000000000000000
00007ffd27872c88: 00007f38a00d2de0 4000000000000000
00007ffd27872c98: 0000000000000000 0000000000000000
00007ffd27872ca8: 0000000000000000 0000000000000000
00007ffd27872cb8: 0000000000000000 0000000000000000
00007ffd27872cc8: 0000000000000000 0000000000000000
00007ffd27872cd8: 00007f389fb65868 000000000372c838
00007ffd27872ce8: 000000000372c9d0 00007ffd27872ec0
00007ffd27872cf8: 000000000372b2a0 00007ffd278730f0
00007ffd27872d08: <00007f389f7d58f8 0000000000000020
00007ffd27872d18: 0000000000000000 0000000000000000
00007ffd27872d28: 0000000000000000 0000000000000000
00007ffd27872d38: 0000000000000000 0000000000000000
00007ffd27872d48: 0000000000000000 0000000000000000
00007ffd27872d58: 0000000000000000 0000000000000000
00007ffd27872d68: 0000000000000000 0000000000000000
00007ffd27872d78: 0000000000000000 0000000000000000
00007ffd27872d88: 0000000000000000 00007f389fb651c0
00007ffd27872d98: 00007f389f88cff9 0000000000000000
00007ffd27872da8: 00007f389f8180b3 000000000372c838
00007ffd27872db8: 00007f389fb651c0 0000000000000001
00007ffd27872dc8: 00007f389fb65243 00007f389fb613a0
00007ffd27872dd8: 00007f389f8198ce 00007f389fb651c0
00007ffd27872de8: 000000000000000a 000000000372c9d0
00007ffd27872df8: 00007ffd27872ec0 000000000372b2a0

goroutine 28 [syscall]:
runtime.cgocall(0xcbad80, 0xc420050fa0, 0x14)
/root/go/src/runtime/cgocall.go:128 +0x64 fp=0xc420050f70 sp=0xc420050f38 pc=0x415484
github.com/sero-cash/go-czero-import/cpt._Cfunc_zero_init(0x2f53450, 0x2)
_cgo_gotypes.go:265 +0x45 fp=0xc420050fa0 sp=0xc420050f70 pc=0x6c4b95
github.com/sero-cash/go-czero-import/cpt.ZeroInit.func1(0xc420038320, 0x14, 0xc420084302)
/root/gopath/src/github.com/sero-cash/go-czero-import/cpt/cpt.go:58 +0x4c fp=0xc420050fc8 sp=0xc420050fa0 pc=0x6c84ac
runtime.goexit()
/root/go/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc420050fd0 sp=0xc420050fc8 pc=0x46e751
created by github.com/sero-cash/go-czero-import/cpt.ZeroInit
/root/gopath/src/github.com/sero-cash/go-czero-import/cpt/cpt.go:57 +0x52

goroutine 1 [chan receive]:
github.com/sero-cash/go-czero-import/cpt.ZeroInit(0xc420038320, 0x14, 0x2, 0x0, 0xc4203cba00)
/root/gopath/src/github.com/sero-cash/go-czero-import/cpt/cpt.go:64 +0x6b
main.init.0.func1(0xc4200f8000, 0x1681180, 0xc4200c04e0)
/root/gopath/src/github.com/sero-cash/go-sero/cmd/gero/main.go:223 +0x60b
github.com/sero-cash/go-sero/vendor/gopkg.in/urfave/cli%2ev1.(*App).Run(0xc4200c04e0, 0xc4200b2000, 0x2, 0x2, 0x0, 0x0)
/root/gopath/src/github.com/sero-cash/go-sero/vendor/gopkg.in/urfave/cli.v1/app.go:241 +0x6f0
main.main()
/root/gopath/src/github.com/sero-cash/go-sero/cmd/gero/main.go:347 +0xad

goroutine 20 [chan receive]:
github.com/sero-cash/go-sero/vendor/github.com/rjeczalik/notify.(*nonrecursiveTree).dispatch(0xc4200ce180, 0xc4200ce0c0)
/root/gopath/src/github.com/sero-cash/go-sero/vendor/github.com/rjeczalik/notify/tree_nonrecursive.go:36 +0xb6
created by github.com/sero-cash/go-sero/vendor/github.com/rjeczalik/notify.newNonrecursiveTree
/root/gopath/src/github.com/sero-cash/go-sero/vendor/github.com/rjeczalik/notify/tree_nonrecursive.go:29 +0xf2

goroutine 21 [chan receive]:
github.com/sero-cash/go-sero/vendor/github.com/rjeczalik/notify.(*nonrecursiveTree).internal(0xc4200ce180, 0xc4200ce120)
/root/gopath/src/github.com/sero-cash/go-sero/vendor/github.com/rjeczalik/notify/tree_nonrecursive.go:81 +0x7b
created by github.com/sero-cash/go-sero/vendor/github.com/rjeczalik/notify.newNonrecursiveTree
/root/gopath/src/github.com/sero-cash/go-sero/vendor/github.com/rjeczalik/notify/tree_nonrecursive.go:30 +0x11e

goroutine 22 [syscall]:
os/signal.signal_recv(0x0)
/root/go/src/runtime/sigqueue.go:139 +0xa6
os/signal.loop()
/root/go/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.0
/root/go/src/os/signal/signal_unix.go:28 +0x41

goroutine 7 [select, locked to thread]:
runtime.gopark(0x1681e18, 0x0, 0xf5106f, 0x6, 0x18, 0x1)
/root/go/src/runtime/proc.go:291 +0x11a
runtime.selectgo(0xc420076f50, 0xc42008e2a0)
/root/go/src/runtime/select.go:392 +0xe50
runtime.ensureSigM.func1()
/root/go/src/runtime/signal_unix.go:549 +0x1f4
runtime.goexit()
/root/go/src/runtime/asm_amd64.s:2361 +0x1

rax 0x0
rbx 0x7f389fb65868
rcx 0xffffffffffffffff
rdx 0x6
rdi 0x4abb
rsi 0x4abb
rbp 0x372c838
rsp 0x7ffd27872d08
r8 0xa
r9 0x7f38a0588800
r10 0x8
r11 0x206
r12 0x372c9d0
r13 0x7ffd27872ec0
r14 0x372b2a0
r15 0x7ffd278730f0
rip 0x7f389f7d4207
rflags 0x206
cs 0x33
fs 0x0
gs 0x0

what(): load path failed: /data/output/vk.bin
How to create this file ?

Regular BetaNet Bootstrap file with blockchain is missing

Please consider creating cronjob on some of bootstrapping nodes, archive and publish fresh bootstrap file on some hosting, update the new node running instructions and consider adding the bootstrap download-extraction for new node/wallet setup. Thanks!

install failed

build/env.sh go run build/ci.go install ./cmd/gero
/home/pool/go-sero/../go-czero-import
build/env.sh: 15: build/env.sh: _GOPATH=/: not found
Makefile:18: recipe for target 'gero' failed
make: *** [gero] Error 127

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.