Giter Site home page Giter Site logo

qstars's People

Contributors

bigmaning avatar ewagmig avatar ms8922 avatar sha3ns avatar snowdicex avatar tedyyan avatar wall-e avatar xuyz avatar

Stargazers

 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

qstars's Issues

超过投资期限 的报错好像程序崩溃了

2018/12/13 14:44:57 buyad.BuyAdBackground ts:&{ITx:0xc000926720 Signature:[{Pubkey:PubKeyEd25519{08282EBBCFF9694637B834037A16968C056B888E159C61E2391F1321DA74CE42} Signature:[107 221 239 243 96 241 65 19 85 130 235 174 146 110 25 10 5 235 244 153 158 214 222 82 107 38 253 34 150 95 108 253 243 205 124 218 108 212 43 4 41 16 195 88 216 143 115 102 65 57 27 191 68 46 140 93 240 200 218 180 199 160 202 3] Nonce:85}] ChainID:qstars-test MaxGas:0}, err:
[SendTx] txStd:&{ITx:0xc000926720 Signature:[{Pubkey:PubKeyEd25519{08282EBBCFF9694637B834037A16968C056B888E159C61E2391F1321DA74CE42} Signature:[107 221 239 243 96 241 65 19 85 130 235 174 146 110 25 10 5 235 244 153 158 214 222 82 107 38 253 34 150 95 108 253 243 205 124 218 108 212 43 4 41 16 195 88 216 143 115 102 65 57 27 191 68 46 140 93 240 200 218 180 199 160 202 3] Nonce:85}] ChainID:qstars-test MaxGas:0}
[SendTx] txStd.ITx:&{Std:0xc0009321c0 ArticleHash:[97 98 99 100]}
2018/12/13 14:44:57 [SendTx] tmpStd:&{ITx:0xc000927520 Signature:[{Pubkey:PubKeyEd25519{08282EBBCFF9694637B834037A16968C056B888E159C61E2391F1321DA74CE42} Signature:[107 221 239 243 96 241 65 19 85 130 235 174 146 110 25 10 5 235 244 153 158 214 222 82 107 38 253 34 150 95 108 253 243 205 124 218 108 212 43 4 41 16 195 88 216 143 115 102 65 57 27 191 68 46 140 93 240 200 218 180 199 160 202 3] Nonce:85}] ChainID:qstars-test MaxGas:0},err:
2018/12/13 14:44:57 buyad.BuyAdBackground SendTx commitresult:&{CheckTx:{Code:65537 Data:[] Log:{"codespace":1,"code":1,"abci_code":65537,"message":"TxStd's ITx ValidateData error: 超过投资期限"} Info: GasWanted:0 GasUsed:0 Tags:[] XXX_NoUnkeyedLiteral:{} XXX_unrecognized:[] XXX_sizecache:0} DeliverTx:{Code:0 Data:[] Log: Info: GasWanted:0 GasUsed:0 Tags:[] XXX_NoUnkeyedLiteral:{} XXX_unrecognized:[] XXX_sizecache:0} Hash:958F5CE8F04EDF8F2E827AAF7C877D86704E0342 Height:0}, err:checkTx failed: (65537) {"codespace":1,"code":1,"abci_code":65537,"message":"TxStd's ITx ValidateData error: 超过投资期限"}
github.com/QOSGroup/qstars/client/context.CLIContext.BroadcastTx
/home/vagrant/QOSGroup/qstars/client/context/query.go:125
github.com/QOSGroup/qstars/client/context.CLIContext.ensureBroadcastTx
/home/vagrant/QOSGroup/qstars/client/context/query.go:199
github.com/QOSGroup/qstars/client/context.CLIContext.EnsureBroadcastTx
/home/vagrant/QOSGroup/qstars/client/context/query.go:165
github.com/QOSGroup/qstars/client/utils.SendTx
/home/vagrant/QOSGroup/qstars/client/utils/utils.go:32
github.com/QOSGroup/qstars/x/jianqian/buyad.BuyAdBackground
/home/vagrant/QOSGroup/qstars/x/jianqian/buyad/process.go:77
github.com/QOSGroup/qstars/x/jianqian/buyad.buyadCmd.func1
/home/vagrant/QOSGroup/qstars/x/jianqian/buyad/cmd.go:97
github.com/spf13/cobra.(*Command).execute
/home/vagrant/gocode/pkg/mod/github.com/spf13/[email protected]/command.go:762
github.com/spf13/cobra.(*Command).ExecuteC
/home/vagrant/gocode/pkg/mod/github.com/spf13/[email protected]/command.go:852
github.com/spf13/cobra.(*Command).Execute
/home/vagrant/gocode/pkg/mod/github.com/spf13/[email protected]/command.go:800
github.com/tendermint/tendermint/libs/cli.Executor.Execute
/home/vagrant/gocode/pkg/mod/github.com/tendermint/[email protected]/libs/cli/setup.go:89
main.main
/home/vagrant/QOSGroup/qstars/cmd/qstarscli/main.go:122
runtime.main
/opt/go/src/runtime/proc.go:201
runtime.goexit
/opt/go/src/runtime/asm_amd64.s:1333
2018/12/13 14:44:57 {
"code": "-1",
"reason": "checkTx failed: (65537) {"codespace":1,"code":1,"abci_code":65537,"message":"TxStd's ITx ValidateData error: 超过投资期限"}"
}
[vagrant@vagrant-192-168-1-193 qstarscli]$

add more outputs in the ResultCreateAccount

Right now there are 4 fields in the struct ResultCreateAccount:{PubKey,PrivKey,Addr,Seed}, to further improve the function on the mnemonic phrase to recovering the account in case of password missing.
So the new struct of ResultCreateAccount are designed to {PubKey,PrivKey,Addr,Mnemonic,Type}
@

使用规范的log

项目中不要直接使用fmt,使用log,可以跟cassini、qbase、qos、qmoon协商使用统一的log方案

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.