Comments (10)
I've moved the cookbook to the docs
submodule so it can be accessible from the wiki: https://github.com/cryptonomex/graphene/wiki
from bitshares-core.
From @clayop on July 3, 2015 16:32
When I followed the cookbook, I met an error with import_balance
unlocked >>> import_balance nathan [5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3] true
import_balance nathan [5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3] true
1868630ms th_a wallet.cpp:2247 import_balance ] balances: [{"id":"1.15.0","owner":"GPHFAbAx7yuxt725qSZvfwWqkdCwp9ZnUama","balance":{"amount":"1000000000000000","asset_id":"1.3.0"},"last_claim_date":"1970-01-01T00:00:00"}]
0 exception: unspecified
10 assert_exception: Assert Exception
eval_state._sigs.insert(std::make_pair( public_key_type( fc::ecc::public_key(sig, trx.digest(tapos_block_summary.block_id))), false)).second: Multiple signatures by same key detected
{}
th_a db_block.cpp:543 _apply_transaction
{"trx":{"ref_block_num":16,"ref_block_prefix":3355498975,"relative_expiration":3,"operations":[[36,{"fee":{"amount":0,"asset_id":"1.3.0"},"deposit_to_account":"1.2.15","balance_to_claim":"1.15.0","balance_owner_key":"GPH6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","total_claimed":{"amount":"1000000000000000","asset_id":"1.3.0"}}]],"signatures":["1f416e338624f57f94dbf058ff9d072a8ab738bc9bc690704a7cc1341453692ab739680e6b26b35507bdb3afe6dc823b1b9479605a5f1060aafeeb10efcc1f2062","1f416e338624f57f94dbf058ff9d072a8ab738bc9bc690704a7cc1341453692ab739680e6b26b35507bdb3afe6dc823b1b9479605a5f1060aafeeb10efcc1f2062"]}}
th_a db_block.cpp:597 _apply_transaction
{"trx":{"ref_block_num":16,"ref_block_prefix":3355498975,"relative_expiration":3,"operations":[[36,{"fee":{"amount":0,"asset_id":"1.3.0"},"deposit_to_account":"1.2.15","balance_to_claim":"1.15.0","balance_owner_key":"GPH6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","total_claimed":{"amount":"1000000000000000","asset_id":"1.3.0"}}]],"signatures":["1f416e338624f57f94dbf058ff9d072a8ab738bc9bc690704a7cc1341453692ab739680e6b26b35507bdb3afe6dc823b1b9479605a5f1060aafeeb10efcc1f2062","1f416e338624f57f94dbf058ff9d072a8ab738bc9bc690704a7cc1341453692ab739680e6b26b35507bdb3afe6dc823b1b9479605a5f1060aafeeb10efcc1f2062"]}}
th_a db_block.cpp:189 push_transaction
{"error":"10 assert_exception: Assert Exception\neval_state._sigs.insert(std::make_pair( public_key_type( fc::ecc::public_key(sig, trx.digest(tapos_block_summary.block_id))), false)).second: Multiple signatures by same key detected\n {}\n th_a db_block.cpp:543 _apply_transaction\n\n {\"trx\":{\"ref_block_num\":16,\"ref_block_prefix\":3355498975,\"relative_expiration\":3,\"operations\":[[36,{\"fee\":{\"amount\":0,\"asset_id\":\"1.3.0\"},\"deposit_to_account\":\"1.2.15\",\"balance_to_claim\":\"1.15.0\",\"balance_owner_key\":\"GPH6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV\",\"total_claimed\":{\"amount\":\"1000000000000000\",\"asset_id\":\"1.3.0\"}}]],\"signatures\":[\"1f416e338624f57f94dbf058ff9d072a8ab738bc9bc690704a7cc1341453692ab739680e6b26b35507bdb3afe6dc823b1b9479605a5f1060aafeeb10efcc1f2062\",\"1f416e338624f57f94dbf058ff9d072a8ab738bc9bc690704a7cc1341453692ab739680e6b26b35507bdb3afe6dc823b1b9479605a5f1060aafeeb10efcc1f2062\"]}}\n th_a db_block.cpp:597 _apply_transaction\n\n {\"trx\":{\"ref_block_num\":16,\"ref_block_prefix\":3355498975,\"relative_expiration\":3,\"operations\":[[36,{\"fee\":{\"amount\":0,\"asset_id\":\"1.3.0\"},\"deposit_to_account\":\"1.2.15\",\"balance_to_claim\":\"1.15.0\",\"balance_owner_key\":\"GPH6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV\",\"total_claimed\":{\"amount\":\"1000000000000000\",\"asset_id\":\"1.3.0\"}}]],\"signatures\":[\"1f416e338624f57f94dbf058ff9d072a8ab738bc9bc690704a7cc1341453692ab739680e6b26b35507bdb3afe6dc823b1b9479605a5f1060aafeeb10efcc1f2062\",\"1f416e338624f57f94dbf058ff9d072a8ab738bc9bc690704a7cc1341453692ab739680e6b26b35507bdb3afe6dc823b1b9479605a5f1060aafeeb10efcc1f2062\"]}}\n th_a db_block.cpp:189 push_transaction","data":{"id":14,"error":{"code":1,"message":"10 assert_exception: Assert Exception\neval_state._sigs.insert(std::make_pair( public_key_type( fc::ecc::public_key(sig, trx.digest(tapos_block_summary.block_id))), false)).second: Multiple signatures by same key detected\n {}\n th_a db_block.cpp:543 _apply_transaction\n\n {\"trx\":{\"ref_block_num\":16,\"ref_block_prefix\":3355498975,\"relative_expiration\":3,\"operations\":[[36,{\"fee\":{\"amount\":0,\"asset_id\":\"1.3.0\"},\"deposit_to_account\":\"1.2.15\",\"balance_to_claim\":\"1.15.0\",\"balance_owner_key\":\"GPH6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV\",\"total_claimed\":{\"amount\":\"1000000000000000\",\"asset_id\":\"1.3.0\"}}]],\"signatures\":[\"1f416e338624f57f94dbf058ff9d072a8ab738bc9bc690704a7cc1341453692ab739680e6b26b35507bdb3afe6dc823b1b9479605a5f1060aafeeb10efcc1f2062\",\"1f416e338624f57f94dbf058ff9d072a8ab738bc9bc690704a7cc1341453692ab739680e6b26b35507bdb3afe6dc823b1b9479605a5f1060aafeeb10efcc1f2062\"]}}\n th_a db_block.cpp:597 _apply_transaction\n\n {\"trx\":{\"ref_block_num\":16,\"ref_block_prefix\":3355498975,\"relative_expiration\":3,\"operations\":[[36,{\"fee\":{\"amount\":0,\"asset_id\":\"1.3.0\"},\"deposit_to_account\":\"1.2.15\",\"balance_to_claim\":\"1.15.0\",\"balance_owner_key\":\"GPH6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV\",\"total_claimed\":{\"amount\":\"1000000000000000\",\"asset_id\":\"1.3.0\"}}]],\"signatures\":[\"1f416e338624f57f94dbf058ff9d072a8ab738bc9bc690704a7cc1341453692ab739680e6b26b35507bdb3afe6dc823b1b9479605a5f1060aafeeb10efcc1f2062\",\"1f416e338624f57f94dbf058ff9d072a8ab738bc9bc690704a7cc1341453692ab739680e6b26b35507bdb3afe6dc823b1b9479605a5f1060aafeeb10efcc1f2062\"]}}\n th_a db_block.cpp:189 push_transaction","data":{"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"db_block.cpp","line":543,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2015-07-03T16:31:08"},"format":"eval_state._sigs.insert(std::make_pair( public_key_type( fc::ecc::public_key(sig, trx.digest(tapos_block_summary.block_id))), false)).second: Multiple signatures by same key detected","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":597,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2015-07-03T16:31:08"},"format":"","data":{"trx":{"ref_block_num":16,"ref_block_prefix":3355498975,"relative_expiration":3,"operations":[[36,{"fee":{"amount":0,"asset_id":"1.3.0"},"deposit_to_account":"1.2.15","balance_to_claim":"1.15.0","balance_owner_key":"GPH6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","total_claimed":{"amount":"1000000000000000","asset_id":"1.3.0"}}]],"signatures":["1f416e338624f57f94dbf058ff9d072a8ab738bc9bc690704a7cc1341453692ab739680e6b26b35507bdb3afe6dc823b1b9479605a5f1060aafeeb10efcc1f2062","1f416e338624f57f94dbf058ff9d072a8ab738bc9bc690704a7cc1341453692ab739680e6b26b35507bdb3afe6dc823b1b9479605a5f1060aafeeb10efcc1f2062"]}}},{"context":{"level":"warn","file":"db_block.cpp","line":189,"method":"push_transaction","hostname":"","thread_name":"th_a","timestamp":"2015-07-03T16:31:08"},"format":"","data":{"trx":{"ref_block_num":16,"ref_block_prefix":3355498975,"relative_expiration":3,"operations":[[36,{"fee":{"amount":0,"asset_id":"1.3.0"},"deposit_to_account":"1.2.15","balance_to_claim":"1.15.0","balance_owner_key":"GPH6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","total_claimed":{"amount":"1000000000000000","asset_id":"1.3.0"}}]],"signatures":["1f416e338624f57f94dbf058ff9d072a8ab738bc9bc690704a7cc1341453692ab739680e6b26b35507bdb3afe6dc823b1b9479605a5f1060aafeeb10efcc1f2062","1f416e338624f57f94dbf058ff9d072a8ab738bc9bc690704a7cc1341453692ab739680e6b26b35507bdb3afe6dc823b1b9479605a5f1060aafeeb10efcc1f2062"]}}}]}}}}
th_a state.cpp:38 handle_reply
{"name_or_id":"nathan"}
th_a wallet.cpp:2285 import_balance
from bitshares-core.
From @clayop on July 5, 2015 21:55
Duplicate signature problem is solved.
Here's another minor error.
unlocked >>> create_account_with_brain_key "this is the brain key for my account" my-account nathan nathan true
create_account_with_brain_key "this is the brain key for my account" my-account nathan nathan true
3079095ms th_a wallet.cpp:561 save_wallet_file ] saving wallet to file wallet.json
{
"ref_block_num": 28,
"ref_block_prefix": 2549727414,
"relative_expiration": 3,
"operations": [[
4,{
"fee": {
"amount": 0,
"asset_id": "1.3.0"
},
"registrar": "1.2.15",
"referrer": "1.2.15",
"referrer_percent": 0,
"name": "my-account",
"owner": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [[
"GPH6rJg81HQ7TkhteXi7BXfrnoCNxeTYbd3kvy1xgJc8fMk3bUWk9",
1
]
],
"address_auths": []
},
"active": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [[
"GPH6ASr7PNyE4skqUGQKkqPAmgAopoWaCDGHPRu5umqvC2M8WxruG",
1
]
],
"address_auths": []
},
"options": {
"memo_key": "GPH6HTYFZ71JqsGkb43oR6iQYK6X9xYjdVasrjbEtGTS6vsbM4ukA",
"voting_account": "1.2.0",
"num_witness": 0,
"num_committee": 0,
"votes": []
}
}
]
],
"signatures": [
"1f77042ef006cfb0f07e444c7baebb08bb1c02bafb64794d3f41f77e47d959766946cb392c1940eaed8feca25dee9a71d1b0b2a065ef4397cf3bbcd48f2a5e6595"
]
}
3079146ms th_a wallet.cpp:205 claim_registered_acc ] account my-account registered by someone else first!
3079146ms th_a wallet.cpp:205 claim_registered_acc ] account my-account registered by someone else first!
Although my-account is created, it gives error message. "3079146ms th_a wallet.cpp:205 claim_registered_acc ] account my-account registered by someone else first!"
from bitshares-core.
From @emfrias on July 6, 2015 13:5
That sounds like a bug, but it's one I thought I fixed a few days ago. Right now I can't reproduce it. From a clean wallet/blockchain, I'm executing:
set_password my_password
unlock my_password
import_key "nathan" 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3
import_balance nathan ["5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"] true
upgrade_account nathan true
create_account_with_brain_key "this is the brain key for my account" my-account nathan nathan true
If I execute the create_account_with_brain_key
command again, I do get the message you report, but it also prints a longer error before instead of dumping the transaction like you show.
Can you post a list of commands (or if that is the same as your list of commands, maybe we have a platform-specific bug?)
from bitshares-core.
From @clayop on July 6, 2015 16:27
Clean installed again (remove graphene folder and re-clone/rebuild), and didn't meet the error.
All thing are smooth.
from bitshares-core.
From @bytemaster on July 7, 2015 13:12
Thanks for all the help clayop, more BPTS heading your way.
from bitshares-core.
From @theoreticalbts on July 7, 2015 19:44
@emfrias -- I believe you were responsible for getting parameter names in CLI help (something which was badly needed). Please update the first question in the questions
section of README.md
to reflect this (I believe it will gracefully degrade if doxygen and perl deps aren't installed?)
from bitshares-core.
From @clayop on July 7, 2015 19:49
Thanks BM. My BTS ID is clayop.
from bitshares-core.
From @emfrias on July 8, 2015 13:31
@theoreticalbts -- updated README in e867556. You're correct, if CMake doesn't find doxygen/perl, it falls back to the old behavior of just displaying parameter types.
from bitshares-core.
Too old
from bitshares-core.
Related Issues (20)
- Update pre-built binaries with the latest security updates from time to time
- Phase out Ubuntu 18.04 LTS (Bionic Beaver) HOT 1
- Draft Release Notes: BitShares Mekong 6.1.0 HOT 1
- ES `mapper_parsing_exception` error with `testnet-6.1.0` HOT 1
- ES `413 Request too large` error with `testnet-6.1.0` HOT 1
- Buyback orders that fail to place should not show in account history
- `operation_history_object::virtual_op` numbering may be discontinuous (possibly with holes)
- Missing account history data in ElasticSearch if node is restarted while syncing
- Support ElasticSearch version 8 HOT 1
- ElasticSearch plugins: HTTPS support
- Witness_node crashes on exit
- About Docker sunsetting Free Team organizations HOT 8
- Credit deal auto-renewal feature
- "sonar.cfamily.cache.enabled" and "sonar.cfamily.cache.path" properties are deprecated HOT 1
- Docker image issues
- Draft Release Notes: BitShares Core 7.0.0 "Suez" HOT 1
- `gethelp` command in CLI wallet built with Ubuntu 20 lacks docs for command parameters HOT 1
- Develop the functionality to create a list of accounts eligible to claim assets HOT 1
- Update get_ticker API to include liquidity pools
- Witness_node randomly stops syncing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitshares-core.