Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Spectral

Pages: 1 [2] 3 4 5
16
General Discussion / Re: October 5 Test Network
« on: October 11, 2015, 04:54:38 pm »
I made the assumption that everything is relative to the --data-dir folder where the config.ini is found.

Now that you mention it, I noticed a config.ini in this directory:
/graphene/witness_node_data_dir

Is this a template that is used automatically when a new data directory is created? Can it be used to keep a default config.ini that will be copied at first startup?

17
General Discussion / Re: October 5 Test Network
« on: October 11, 2015, 02:34:02 pm »
-s 188.165.233.53:1777

Thanks. That worked.

Is the other seed node down? Is there a list of seed nodes somewhere? How could i have known about this if clayop didn't post it here?

18
General Discussion / Re: October 5 Test Network
« on: October 11, 2015, 05:34:20 am »
Witness spectral crashed (version test6-41-g837e4f2). Log:
https://drive.google.com/file/d/0BzEEZBS7b6xPRWhHeU9pZDROd0E/view?usp=sharing


And I can't seem to reconnect to the network (version test6-42-g9c650bd). Log:
https://drive.google.com/file/d/0BzEEZBS7b6xPb2pQZXNzaFktU1E/view?usp=sharing

19
General Discussion / Re: October 5 Test Network
« on: October 10, 2015, 07:01:27 pm »
I assume the issue is where I define -s "<ip-of-full/witness-node:port>"  from the directions:
programs/cli_wallet/cli_wallet --rpc-http-endpoint="127.0.0.1:8092" -s "<ip-of-full/witness-node:port>"

but I can't find anything that makes it happy here.

I use this
Code: [Select]
./cli_wallet -w oct5_w0 --chain-id 60e21871125ea9995fe498b7f68a87a85c6583725ea5448f6fd969c59a37df83 -s ws://127.0.0.1:8090 -H 127.0.0.1:8092

20
General Discussion / Re: October 5 Test Network
« on: October 10, 2015, 03:14:29 pm »
Edit: The latest script is cool!   It has a page of nice stats.  Great work, xeroc!  :)

I apply the same workaround changes to the script and here it is:

http://pastebin.com/vhhXYqjJ

The modified script has the prompt removed.  I need to run it 'automated'. :P

That did the trick, the feed published now. Thank you!

And also +5% to xeroc!

21
General Discussion / Re: October 5 Test Network
« on: October 09, 2015, 10:52:02 pm »

@Spectral @Bhuz

If you guys are having trouble publishing feeds, could you update to latest master and try again?  I made the error message you're getting more informative.

done.

Code: [Select]
$ git describe --tags
test6-41-g837e4f2


I tried running the price feed script again, and the cli_wallet produced the following output:

Code: [Select]
2595660ms th_a       wallet.cpp:1719               sign_transaction     ] Caught exception while broadcasting tx 53a3e9f8dc2e0205e20eafd845d7f6022575b0bc:  0 exception: unspecified
10 assert_exception: Assert Exception
o.feed.settlement_price.base.asset_id == o.feed.core_exchange_rate.base.asset_id:
    {}
    th_a  asset_evaluator.cpp:599 do_evaluate

    {"o":{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.73210","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":86,"asset_id":"1.3.285"},"quote":{"amount":23547,"asset_id":"
1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":24724,"asset_id":"1.3.0"},"quote":{"amount":86,"asset_id":"1.3.285"}}},"extensions":[
]}}
    th_a  asset_evaluator.cpp:623 do_evaluate

    {}
    th_a  evaluator.cpp:42 start_evaluate

    {}
    th_a  db_block.cpp:629 apply_operation

    {"trx":{"ref_block_num":48609,"ref_block_prefix":3433226527,"expiration":"2015-10-09T22:43:42","operations":[[19,{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.73210","asset_id":"1.3.285
","feed":{"settlement_price":{"base":{"amount":86,"asset_id":"1.3.285"},"quote":{"amount":23547,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_r
ate":{"base":{"amount":24724,"asset_id":"1.3.0"},"quote":{"amount":86,"asset_id":"1.3.285"}}},"extensions":[]}]],"extensions":[],"signatures":["205c37c634a4e49c5d6a8e6cb47b00a51e9bd97df56cae1c96d92a1c2c35
9e05881989c26aa7e5494620202f5c478fb12d7260b16ea932f3b0ff6bcf5450bba744"]}}
    th_a  db_block.cpp:612 _apply_transaction

    {"trx":{"ref_block_num":48609,"ref_block_prefix":3433226527,"expiration":"2015-10-09T22:43:42","operations":[[19,{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.73210","asset_id":"1.3.285
","feed":{"settlement_price":{"base":{"amount":86,"asset_id":"1.3.285"},"quote":{"amount":23547,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_r
ate":{"base":{"amount":24724,"asset_id":"1.3.0"},"quote":{"amount":86,"asset_id":"1.3.285"}}},"extensions":[]}]],"extensions":[],"signatures":["205c37c634a4e49c5d6a8e6cb47b00a51e9bd97df56cae1c96d92a1c2c35
9e05881989c26aa7e5494620202f5c478fb12d7260b16ea932f3b0ff6bcf5450bba744"]}}
    th_a  db_block.cpp:216 push_transaction
    {"error":"10 assert_exception: Assert Exception\no.feed.settlement_price.base.asset_id == o.feed.core_exchange_rate.base.asset_id: \n    {}\n    th_a  asset_evaluator.cpp:599 do_evaluate\n\n    {\"o\"
:{\"fee\":{\"amount\":100000,\"asset_id\":\"1.3.0\"},\"publisher\":\"1.2.73210\",\"asset_id\":\"1.3.285\",\"feed\":{\"settlement_price\":{\"base\":{\"amount\":86,\"asset_id\":\"1.3.285\"},\"quote\":{\"amo
unt\":23547,\"asset_id\":\"1.3.0\"}},\"maintenance_collateral_ratio\":1750,\"maximum_short_squeeze_ratio\":1500,\"core_exchange_rate\":{\"base\":{\"amount\":24724,\"asset_id\":\"1.3.0\"},\"quote\":{\"amou
nt\":86,\"asset_id\":\"1.3.285\"}}},\"extensions\":[]}}\n    th_a  asset_evaluator.cpp:623 do_evaluate\n\n    {}\n    th_a  evaluator.cpp:42 start_evaluate\n\n    {}\n    th_a  db_block.cpp:629 apply_oper
ation\n\n    {\"trx\":{\"ref_block_num\":48609,\"ref_block_prefix\":3433226527,\"expiration\":\"2015-10-09T22:43:42\",\"operations\":[[19,{\"fee\":{\"amount\":100000,\"asset_id\":\"1.3.0\"},\"publisher\":
\"1.2.73210\",\"asset_id\":\"1.3.285\",\"feed\":{\"settlement_price\":{\"base\":{\"amount\":86,\"asset_id\":\"1.3.285\"},\"quote\":{\"amount\":23547,\"asset_id\":\"1.3.0\"}},\"maintenance_collateral_ratio
\":1750,\"maximum_short_squeeze_ratio\":1500,\"core_exchange_rate\":{\"base\":{\"amount\":24724,\"asset_id\":\"1.3.0\"},\"quote\":{\"amount\":86,\"asset_id\":\"1.3.285\"}}},\"extensions\":[]}]],\"extensio
ns\":[],\"signatures\":[\"205c37c634a4e49c5d6a8e6cb47b00a51e9bd97df56cae1c96d92a1c2c359e05881989c26aa7e5494620202f5c478fb12d7260b16ea932f3b0ff6bcf5450bba744\"]}}\n    th_a  db_block.cpp:612 _apply_transac
tion\n\n    {\"trx\":{\"ref_block_num\":48609,\"ref_block_prefix\":3433226527,\"expiration\":\"2015-10-09T22:43:42\",\"operations\":[[19,{\"fee\":{\"amount\":100000,\"asset_id\":\"1.3.0\"},\"publisher\":\
"1.2.73210\",\"asset_id\":\"1.3.285\",\"feed\":{\"settlement_price\":{\"base\":{\"amount\":86,\"asset_id\":\"1.3.285\"},\"quote\":{\"amount\":23547,\"asset_id\":\"1.3.0\"}},\"maintenance_collateral_ratio\
":1750,\"maximum_short_squeeze_ratio\":1500,\"core_exchange_rate\":{\"base\":{\"amount\":24724,\"asset_id\":\"1.3.0\"},\"quote\":{\"amount\":86,\"asset_id\":\"1.3.285\"}}},\"extensions\":[]}]],\"extension
s\":[],\"signatures\":[\"205c37c634a4e49c5d6a8e6cb47b00a51e9bd97df56cae1c96d92a1c2c359e05881989c26aa7e5494620202f5c478fb12d7260b16ea932f3b0ff6bcf5450bba744\"]}}\n    th_a  db_block.cpp:216 push_transactio
n","data":{"id":30,"error":{"code":1,"message":"10 assert_exception: Assert Exception\no.feed.settlement_price.base.asset_id == o.feed.core_exchange_rate.base.asset_id: \n    {}\n    th_a  asset_evaluator
.cpp:599 do_evaluate\n\n    {\"o\":{\"fee\":{\"amount\":100000,\"asset_id\":\"1.3.0\"},\"publisher\":\"1.2.73210\",\"asset_id\":\"1.3.285\",\"feed\":{\"settlement_price\":{\"base\":{\"amount\":86,\"asset_
id\":\"1.3.285\"},\"quote\":{\"amount\":23547,\"asset_id\":\"1.3.0\"}},\"maintenance_collateral_ratio\":1750,\"maximum_short_squeeze_ratio\":1500,\"core_exchange_rate\":{\"base\":{\"amount\":24724,\"asset
_id\":\"1.3.0\"},\"quote\":{\"amount\":86,\"asset_id\":\"1.3.285\"}}},\"extensions\":[]}}\n    th_a  asset_evaluator.cpp:623 do_evaluate\n\n    {}\n    th_a  evaluator.cpp:42 start_evaluate\n\n    {}\n
 th_a  db_block.cpp:629 apply_operation\n\n    {\"trx\":{\"ref_block_num\":48609,\"ref_block_prefix\":3433226527,\"expiration\":\"2015-10-09T22:43:42\",\"operations\":[[19,{\"fee\":{\"amount\":100000,\"as
set_id\":\"1.3.0\"},\"publisher\":\"1.2.73210\",\"asset_id\":\"1.3.285\",\"feed\":{\"settlement_price\":{\"base\":{\"amount\":86,\"asset_id\":\"1.3.285\"},\"quote\":{\"amount\":23547,\"asset_id\":\"1.3.0\
"}},\"maintenance_collateral_ratio\":1750,\"maximum_short_squeeze_ratio\":1500,\"core_exchange_rate\":{\"base\":{\"amount\":24724,\"asset_id\":\"1.3.0\"},\"quote\":{\"amount\":86,\"asset_id\":\"1.3.285\"}
}},\"extensions\":[]}]],\"extensions\":[],\"signatures\":[\"205c37c634a4e49c5d6a8e6cb47b00a51e9bd97df56cae1c96d92a1c2c359e05881989c26aa7e5494620202f5c478fb12d7260b16ea932f3b0ff6bcf5450bba744\"]}}\n    th_
a  db_block.cpp:612 _apply_transaction\n\n    {\"trx\":{\"ref_block_num\":48609,\"ref_block_prefix\":3433226527,\"expiration\":\"2015-10-09T22:43:42\",\"operations\":[[19,{\"fee\":{\"amount\":100000,\"ass
et_id\":\"1.3.0\"},\"publisher\":\"1.2.73210\",\"asset_id\":\"1.3.285\",\"feed\":{\"settlement_price\":{\"base\":{\"amount\":86,\"asset_id\":\"1.3.285\"},\"quote\":{\"amount\":23547,\"asset_id\":\"1.3.0\"
}},\"maintenance_collateral_ratio\":1750,\"maximum_short_squeeze_ratio\":1500,\"core_exchange_rate\":{\"base\":{\"amount\":24724,\"asset_id\":\"1.3.0\"},\"quote\":{\"amount\":86,\"asset_id\":\"1.3.285\"}}
},\"extensions\":[]}]],\"extensions\":[],\"signatures\":[\"205c37c634a4e49c5d6a8e6cb47b00a51e9bd97df56cae1c96d92a1c2c359e05881989c26aa7e5494620202f5c478fb12d7260b16ea932f3b0ff6bcf5450bba744\"]}}\n    th_a
  db_block.cpp:216 push_transaction","data":{"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"asset_evaluator.cpp","line":599,"method":"do_eval
uate","hostname":"","thread_name":"th_a","timestamp":"2015-10-09T22:43:15"},"format":"o.feed.settlement_price.base.asset_id == o.feed.core_exchange_rate.base.asset_id: ","data":{}},{"context":{"level":"wa
rn","file":"asset_evaluator.cpp","line":623,"method":"do_evaluate","hostname":"","thread_name":"th_a","timestamp":"2015-10-09T22:43:15"},"format":"","data":{"o":{"fee":{"amount":100000,"asset_id":"1.3.0"}
,"publisher":"1.2.73210","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":86,"asset_id":"1.3.285"},"quote":{"amount":23547,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximu
m_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":24724,"asset_id":"1.3.0"},"quote":{"amount":86,"asset_id":"1.3.285"}}},"extensions":[]}}},{"context":{"level":"warn","file":"evaluator.cp
p","line":42,"method":"start_evaluate","hostname":"","thread_name":"th_a","timestamp":"2015-10-09T22:43:15"},"format":"","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":629,"method":"ap
ply_operation","hostname":"","thread_name":"th_a","timestamp":"2015-10-09T22:43:15"},"format":"","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":612,"method":"_apply_transaction","hostn
ame":"","thread_name":"th_a","timestamp":"2015-10-09T22:43:15"},"format":"","data":{"trx":{"ref_block_num":48609,"ref_block_prefix":3433226527,"expiration":"2015-10-09T22:43:42","operations":[[19,{"fee":{
"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.73210","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":86,"asset_id":"1.3.285"},"quote":{"amount":23547,"asset_id":"1.3.0"}},"mainten
ance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":24724,"asset_id":"1.3.0"},"quote":{"amount":86,"asset_id":"1.3.285"}}},"extensions":[]}]],"extensions"
:[],"signatures":["205c37c634a4e49c5d6a8e6cb47b00a51e9bd97df56cae1c96d92a1c2c359e05881989c26aa7e5494620202f5c478fb12d7260b16ea932f3b0ff6bcf5450bba744"]}}},{"context":{"level":"warn","file":"db_block.cpp",
"line":216,"method":"push_transaction","hostname":"","thread_name":"th_a","timestamp":"2015-10-09T22:43:15"},"format":"","data":{"trx":{"ref_block_num":48609,"ref_block_prefix":3433226527,"expiration":"20
15-10-09T22:43:42","operations":[[19,{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.73210","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":86,"asset_id":"1.3.285"},"quote":
{"amount":23547,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":24724,"asset_id":"1.3.0"},"quote":{"amount":86,"asset_id"
:"1.3.285"}}},"extensions":[]}]],"extensions":[],"signatures":["205c37c634a4e49c5d6a8e6cb47b00a51e9bd97df56cae1c96d92a1c2c359e05881989c26aa7e5494620202f5c478fb12d7260b16ea932f3b0ff6bcf5450bba744"]}}}]}}}}
    th_a  state.cpp:38 handle_reply

I'm also still having some strange problem with the transaction memos not decrypting. Output from the get_account_history command:

Code: [Select]
2989476ms th_a       wallet.cpp:2323               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k not in this wallet.
    {"k":"GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k"}
    th_a  wallet.cpp:2316 operator()
2989495ms th_a       wallet.cpp:2323               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw not in this wallet.
    {"k":"GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw"}
    th_a  wallet.cpp:2316 operator()
2990094ms th_a       wallet.cpp:2323               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k not in this wallet.
    {"k":"GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k"}
    th_a  wallet.cpp:2316 operator()
2990122ms th_a       wallet.cpp:2323               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw not in this wallet.
    {"k":"GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw"}
    th_a  wallet.cpp:2316 operator()
wallet is unlocked.

22
General Discussion / Re: October 5 Test Network
« on: October 09, 2015, 08:45:01 pm »
Witness spectral stopped producing blocks and started producing error messages at the witness output. Here is a log from the screen buffer of the witness output:

https://drive.google.com/file/d/0BzEEZBS7b6xPUnJvQXFZUHZQZW8/view?usp=sharing

Did this also happen to the others?

I deleted oct5 and object_database, restarted witness, and it's back to producing blocks and price feed.

Looks like we missed the real error.

Yes... I will enable file logging on screen, so next time it happens, the log should include everything.


I checked the CLI now, and it seems something is not right. Feeds do not publish anymore, since 2 hours ago. Here's the cli_wallet output:

Code: [Select]
3007026ms th_a       wallet.cpp:1717               sign_transaction     ] Caught exception while broadcasting transaction with id b75bf74af11ab7210e24e79b665fddb77a70b37b
4117ms th_a       wallet.cpp:1717               sign_transaction     ] Caught exception while broadcasting transaction with id d83a159834150bfb4f6ba6ae767b6e6b2187fbdf
606929ms th_a       wallet.cpp:1717               sign_transaction     ] Caught exception while broadcasting transaction with id 3375e940443eb7b123a4d905a23e86cb475b7761
1204093ms th_a       wallet.cpp:1717               sign_transaction     ] Caught exception while broadcasting transaction with id 9eea37c7051673a6e0e6e8bda816ac682ddf7312
1806802ms th_a       wallet.cpp:1717               sign_transaction     ] Caught exception while broadcasting transaction with id ae4e7532a0024a244a2b431e834aa4487304fa40
2405192ms th_a       wallet.cpp:1717               sign_transaction     ] Caught exception while broadcasting transaction with id d70a6e10be5f7f45a000efe1c945fab97cfc6cf4
3007726ms th_a       wallet.cpp:1717               sign_transaction     ] Caught exception while broadcasting transaction with id 1c61a0c93fe43ce1080e7e617d8173ec034e1786
6366ms th_a       wallet.cpp:1717               sign_transaction     ] Caught exception while broadcasting transaction with id 314093bb2434cd1ac9322bdfb01ed15549860cb3
605558ms th_a       wallet.cpp:1717               sign_transaction     ] Caught exception while broadcasting transaction with id 67d051fbe2795f7ad61f8f4bb15fcdae2c894511
1205379ms th_a       wallet.cpp:1717               sign_transaction     ] Caught exception while broadcasting transaction with id eb4c2e45fe8e129586a422c41caa0f476a17b806
1804573ms th_a       wallet.cpp:1717               sign_transaction     ] Caught exception while broadcasting transaction with id a362dd39f7768bcc07d56f7a964bb1e2bba361fb
unlocked >>> get_witness spectral
get_witness spectral
{
  "id": "1.6.38",
  "witness_account": "1.2.73210",
  "last_aslot": 123874,
  "signing_key": "GPH8ZWNd9K82gPqKVDbkK8etaYTBMQ3ME3MTQ6HqF586ZbMLrZ5DH",
  "pay_vb": "1.13.64",
  "vote_id": "1:49",
  "total_votes": "7774534618288",
  "url": "bitspace.no",
  "total_missed": 958,
  "last_confirmed_block_num": 111813
}
unlocked >>>

get_witness seems right, so does the witness_output.

23
General Discussion / Re: October 5 Test Network
« on: October 09, 2015, 03:33:23 pm »
Witness spectral stopped producing blocks and started producing error messages at the witness output. Here is a log from the screen buffer of the witness output:

https://drive.google.com/file/d/0BzEEZBS7b6xPUnJvQXFZUHZQZW8/view?usp=sharing

Did this also happen to the others?

I deleted oct5 and object_database, restarted witness, and it's back to producing blocks and price feed.

24
General Discussion / Re: October 5 Test Network
« on: October 08, 2015, 11:16:33 pm »
witness spectral is up-to-date

25
General Discussion / Re: October 5 Test Network
« on: October 08, 2015, 05:11:49 pm »
Recent witness output. What does the irreversible message indicate?
Code: [Select]
609200ms th_a       application.cpp:394           handle_block         ] Got block: #82384 time: 2015-10-08T17:10:09 latency: 197 ms from: init3  irreversible: 82359 (-25)
612313ms th_a       application.cpp:394           handle_block         ] Got block: #82385 time: 2015-10-08T17:10:12 latency: 310 ms from: bue  irreversible: 82360 (-25)
618195ms th_a       application.cpp:394           handle_block         ] Got block: #82386 time: 2015-10-08T17:10:18 latency: 193 ms from: init10  irreversible: 82361 (-25)
621168ms th_a       application.cpp:394           handle_block         ] Got block: #82387 time: 2015-10-08T17:10:21 latency: 166 ms from: bitshares-argentina  irreversible: 82362 (-25)
639346ms th_a       application.cpp:394           handle_block         ] Got block: #82392 time: 2015-10-08T17:10:39 latency: 344 ms from: xeldal  irreversible: 82367 (-25)00141cd4896630ecde14ee302b91402b54b14b8","000141d1a0843adbfe97ac2bb9dd09972af2e06e","000141d3e35ca391661bb1a33c30d8c86aaf2bc9"]
627190ms th_a       application.cpp:394           handle_block         ] Got block: #82388 time: 2015-10-08T17:10:27 latency: 187 ms from: init2  irreversible: 82363 (-25)
630351ms th_a       application.cpp:394           handle_block         ] Got block: #82389 time: 2015-10-08T17:10:30 latency: 348 ms from: roadscape  irreversible: 82364 (-25)
633198ms th_a       application.cpp:394           handle_block         ] Got block: #82390 time: 2015-10-08T17:10:33 latency: 195 ms from: init9  irreversible: 82365 (-25)
642055ms th_a       application.cpp:394           handle_block         ] Got block: #82393 time: 2015-10-08T17:10:42 latency: 52 ms from: bhuz  irreversible: 82368 (-25)

Edit: Sorry for repost

26
General Discussion / Re: October 5 Test Network
« on: October 08, 2015, 02:44:14 pm »
i don't think git is the problem. Should I download source code from last snapshot or to get graphene from git. Maybe there is the error, because all you say I have done before. I have set up graphene before too


In case it may be helpful, here is the whole procedure I have used:

Code: [Select]
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install gcc-4.9 g++-4.9 cmake make libbz2-dev libdb++-dev libdb-dev libssl-dev openssl libreadline-dev autoconf libtool git unzip ntp
BOOST_ROOT=$HOME/opt/boost_1_57_0
sudo apt-get update
sudo apt-get install autotools-dev build-essential g++ libbz2-dev libicu-dev python-dev
wget -c 'http://sourceforge.net/projects/boost/files/boost/1.57.0/boost_1_57_0.tar.bz2/download' -O boost_1_57_0.tar.bz2
[ $( sha256sum boost_1_57_0.tar.bz2 | cut -d ' ' -f 1 ) == "910c8c022a33ccec7f088bd65d4f14b466588dda94ba2124e78b8c57db264967" ] || ( echo 'Corrupt download' ; exit 1 )
tar xjf boost_1_57_0.tar.bz2
cd boost_1_57_0/
./bootstrap.sh "--prefix=$BOOST_ROOT"
./b2 install
cd ..
git clone https://github.com/cryptonomex/graphene.git
cd graphene
git submodule update --init --recursive
BOOST_ROOT=$HOME/opt/boost_1_57_0
cmake -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Release .
make

27
General Discussion / Re: October 5 Test Network
« on: October 08, 2015, 02:37:40 pm »
what commands did you use to update graphene today?

I did
Code: [Select]
git checkout master
git pull
git submodule update --init --recursive
BOOST_ROOT=$HOME/opt/boost_1_57_0
cmake -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Release .
make

then

- backuped up config.ini
- deleted oct5 and object_database
- started witness
- quit witness
- copied config.ini into oct5
- started witness

you might be on a previous commit as ElMato posted just above. Look on which commit you are with git show and follow ElMato steps after updating (remove object_database,  start with a new datadir and resync)

I'm on the same commit as ElMato, and I don't seem to have any problems right now. So the above procedure should work well.

28
General Discussion / Re: October 5 Test Network
« on: October 08, 2015, 02:18:50 am »
what commands did you use to update graphene today?

I did
Code: [Select]
git checkout master
git pull
git submodule update --init --recursive
BOOST_ROOT=$HOME/opt/boost_1_57_0
cmake -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Release .
make

then

- backuped up config.ini
- deleted oct5 and object_database
- started witness
- quit witness
- copied config.ini into oct5
- started witness

29
General Discussion / Re: October 5 Test Network
« on: October 08, 2015, 12:24:48 am »
can you post your config.ini entrys here (except your keys of-course  :))

sure:

Code: [Select]
# Endpoint for P2P node to listen on
# p2p-endpoint =

# P2P nodes to connect to on startup (may specify multiple times)
# seed-node =

# Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints.
# checkpoint =

# Endpoint for websocket RPC to listen on
# rpc-endpoint =

# Endpoint for TLS websocket RPC to listen on
# rpc-tls-endpoint =

# The TLS certificate file for this server
# server-pem =

# Password for this certificate
# server-pem-password =

# File to read Genesis State from
# genesis-json =

# Block signing key to use for init witnesses, overrides genesis file
# dbg-init-key =

# JSON file specifying API permissions
# api-access =

# Enable block production, even if the chain is stale.
enable-stale-production = false

# Percent of witnesses (0-99) that must be participating in order to produce blocks
required-participation = false

# ID of witness controlled by this node (e.g. "1.6.5", quotes are required, may specify multiple times)
witness-id = "1.6.38"

# Tuple of [PublicKey, WIF private key] (may specify multiple times)
private-key = [""]

# Account ID to track history for (may specify multiple times)
# track-account =

# Track market history by grouping orders into buckets of equal size measured in seconds specified as a JSON array of numbers
bucket-size = [15,60,300,3600,86400]

# How far back in time to track history for each bucket size, measured in the number of buckets (default: 1000)
history-per-size = 1000

# declare an appender named "stderr" that writes messages to the console
[log.console_appender.stderr]
stream=std_error

# declare an appender named "p2p" that writes messages to p2p.log
[log.file_appender.p2p]
filename=logs/p2p/p2p.log
# filename can be absolute or relative to this config file

# route any messages logged to the default logger to the "stderr" logger we
# declared above, if they are info level are higher
[logger.default]
level=info
appenders=stderr

# route messages sent to the "p2p" logger to the p2p appender declared above
[logger.p2p]
level=debug
appenders=p2p

To start the witness_node I use the following command:

Code: [Select]
./witness_node --rpc-endpoint "127.0.0.1:8090"  --genesis-json oct5-genesis.json -d oct5 -s "104.236.51.238:2005"

30
General Discussion / Re: October 5 Test Network
« on: October 07, 2015, 11:47:02 pm »
witness spectral updated to latest master


Just to make sure that I'm "cmaking" correctly. I use the following line. Is that what everyone else does?
Code: [Select]
cmake -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Release .

For now, use your account history at https://graphene.bitshares.org/#/account/spectral/overview
Thank you for your answers. They were very informative. And I have to say, the graphene web-interface looks really good!

The cli-wallet shows only what my client believes is correct, and cannot be trusted when I'm off on a fork or something. And I still get those memo decrypt errors that I documented a few pages back.


@liondani:
How long have you waited. If I remember correctly, that output is normal at startup...? Also, have you remembered to put your config file back in the oct5 folder after resyncing the blockchain, and then restarting your witness?

Pages: 1 [2] 3 4 5