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 - abit

Pages: 1 ... 263 264 265 266 267 268 269 [270] 271 272 273 274 275 276 277 ... 309
4036
General Discussion / Re: Test Net for Advanced Users
« on: August 20, 2015, 07:14:07 am »
I added a default.log by editing config.ini so that screen output could be logged into file. I'm curious why it doesn't be enabled by default.
Code: [Select]
# declare an appender named "default" that writes messages to default.log
[log.file_appender.default]
filename=logs/default/default.log
# filename can be absolute or relative to this config file

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

4037
General Discussion / Re: Test Net for Advanced Users
« on: August 20, 2015, 06:48:04 am »
Happy forking  :D
After forked, if restart without --resync-blockchain, then my node won't sync.
If restart with --resync-blockchain, it won't produce block after in sync.

So it's best remove the data directory before start.

I'm online again now.

4038
General Discussion / Re: Test Net for Advanced Users
« on: August 19, 2015, 09:52:52 pm »
Thats funny because I had 100 going earlier.  I could tell because I set the genesis to 101, but set my server witness node to 100, and so 1.6.100 was missing blocks every single rotation.

There is a command in help():
Code: [Select]
graphene::chain::signed_transaction      set_desired_witness_and_committee_member_count(string, uint16_t, uint16_t, bool)
Don't know what it will do though.

4039
General Discussion / Re: Test Net for Advanced Users
« on: August 19, 2015, 09:33:16 pm »
Here we are...



Awesome, how did you build?

Using the graphene-ui build instructions :) in github.
As I am using ubuntu in a vps I changed server.js to use 0.0.0.0, also to use prod.
My witnesses uses for rpc 0.0.0.0 instead localhost / 127.0.0.1
Do you have a URL so others could access the GUI/webwallet?

4040
General Discussion / Re: Test Net for Advanced Users
« on: August 19, 2015, 09:27:37 pm »
My node is online now. Witness id 1.6.5247.
But number of active witnesses is still 10?
Code: [Select]
{
  "head_block_num": 11773,
  "head_block_id": "00002dfdab35043defebc42a6ae9d5a96767fd97",
  "head_block_age": "1 second old",
  "next_maintenance_time": "82 seconds in the future",
  "chain_id": "5508f5f743717fe2c78445364f62a72badd7532974d26f089af2062228b532eb",
  "active_witnesses": [
    "1.6.0",
    "1.6.1",
    "1.6.2",
    "1.6.3",
    "1.6.4",
    "1.6.5",
    "1.6.6",
    "1.6.1525",
    "1.6.4435",
    "1.6.5246",
    "1.6.5247"
  ],
  "active_committee_members": [
    "1.5.0",
    "1.5.1",
    "1.5.2",
    "1.5.3",
    "1.5.4",
    "1.5.5",
    "1.5.6",
    "1.5.7",
    "1.5.8",
    "1.5.9"
  ],
  "entropy": "73f47170212775453a20de79b10d927e9d3b761d"
}
for some reason the info and get_global_properties screen dont show all witnesses.  There may have been something I should have changed in the genesis.  There are 101 delegate slots though.
By looking at the screen of witness_node, it's true that only the 11 witnesses are producing blocks.

//Edit: it's 11, not 10

4041
General Discussion / Re: Test Net for Advanced Users
« on: August 19, 2015, 09:10:43 pm »
My node is online now. Witness id 1.6.5247.
But number of active witnesses is still 11?
Code: [Select]
{
  "head_block_num": 11773,
  "head_block_id": "00002dfdab35043defebc42a6ae9d5a96767fd97",
  "head_block_age": "1 second old",
  "next_maintenance_time": "82 seconds in the future",
  "chain_id": "5508f5f743717fe2c78445364f62a72badd7532974d26f089af2062228b532eb",
  "active_witnesses": [
    "1.6.0",
    "1.6.1",
    "1.6.2",
    "1.6.3",
    "1.6.4",
    "1.6.5",
    "1.6.6",
    "1.6.1525",
    "1.6.4435",
    "1.6.5246",
    "1.6.5247"
  ],
  "active_committee_members": [
    "1.5.0",
    "1.5.1",
    "1.5.2",
    "1.5.3",
    "1.5.4",
    "1.5.5",
    "1.5.6",
    "1.5.7",
    "1.5.8",
    "1.5.9"
  ],
  "entropy": "73f47170212775453a20de79b10d927e9d3b761d"
}

//Edit: it's 11, not 10

4042
General Discussion / Re: Test Net for Advanced Users
« on: August 19, 2015, 08:34:10 pm »
Well...

Until we get something official, I have a new version up and running with 100 init witnessess.  I manually edited the genesis, and everything seems to be working, but I really had no idea what I was doing.  https://www.dropbox.com/s/xzlnoyn4tdpdede/aug-19-puppies-test-genesis.json?dl=0

The specific tag I built was 15c99bd65b0c90854d430126582fee49ec645fe6, so if you are having a hard time getting on the same chain-id I would suggest a
Code: [Select]
git checkout 15c99bd65b0c90854d430126582fee49ec645fe6
git submodule update --init --recursive
cmake -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Debug .
make

I was also having a hard time getting the genesis.json to load.  Using the entire path in the command seems to work so for example
Code: [Select]
./witness_node -d test_net --genesis-json /home/user/src/8.19/graphene/programs/witness_node/aug-19-puppies-test-genesis.json
my server is still 45.55.6.216:1776

As always I am running on Ubuntu 14.04.  I also have exactly 0 formal computer science training, so if I am doing something wrong please let me know.  I am a learn by doing type of guy, and that includes making lots of mistakes.

and the chain id is 5508f5f743717fe2c78445364f62a72badd7532974d26f089af2062228b532eb but its kinda a pain to get the genesis.json to load and give you that chain-id
Great thanks.  +5% Building..

4043
General Discussion / Re: Test Net for Advanced Users
« on: August 19, 2015, 01:14:35 pm »
Is this command useful? @Riverhead
Code: [Select]
rm -rf object_database*


A good suggestion but it did not take me off 9c. It did however widen my scope outside of the data directory for my reset script so thanks for that :).

Is your wallet launched with this command?
Code: [Select]
./cli_wallet -w wallet-testnet-puppies.json --chain-id 081401ede64c8fe30b23c91d7ab8750103acb1a39548a866fb562f2edf4627d6

4044
General Discussion / Re: Test Net for Advanced Users
« on: August 19, 2015, 12:53:53 pm »
Is this command useful? @Riverhead
Code: [Select]
rm -rf object_database*

4045
General Discussion / Re: Test Net for Advanced Users
« on: August 19, 2015, 12:14:01 pm »
I'm there and producing.
Try deleting your witness data directory (i called mine something like testnet_puppies), and restart, that might help.

You are correct, there are not many people at the moment,  consider this as the trial and error setting yourself up before the big testnet.

Got it resynced an am producing blocks again. One of my remaining questions is:
Does a NAT-Situation hinder smooth operation? I can set P2P-Bind in config, is there such thing as a public address? (It's clear that running a node "at home" is not for production use but this was my first try - will prepare a VPS for next version) As I see nodes being connected on my p2p-incoming port I assume it somehow works anyway but I would like to get a better understanding...

Is there a wallet-command for listing Nodes in detail? I did netstat to get an overall status...
Another way to specify incoming port is adding parameter --rpc-endpoint 0.0.0.0:your_port.
Doesn't like bitshares_client, the witness node doesn't enable UPNP by default. I'm currently running at home as well, I have to manually configure NAT port forwarding in my router and it works, I can see incoming connection in p2p.log.

4046
General Discussion / Re: Test Net for Advanced Users
« on: August 19, 2015, 07:28:53 am »
network is still up, but we are running at 70%. 
Code: [Select]
unlocked >>> info
info
{
  "head_block_num": 161438,
  "head_block_id": "0002769e3c40d48424a73da31340397dcb3ca150",
  "head_block_age": "2 seconds old",
  "next_maintenance_time": "4 minutes in the future",
  "chain_id": "081401ede64c8fe30b23c91d7ab8750103acb1a39548a866fb562f2edf4627d6",
  "active_witnesses": [
    "1.6.0",
    "1.6.1",
    "1.6.2",
    "1.6.3",
    "1.6.4",
    "1.6.1435",
    "1.6.1439",
    "1.6.1446",
    "1.6.5155",
    "1.6.5156"
  ],
  "active_committee_members": [
    "1.5.10",
    "1.5.0",
    "1.5.1",
    "1.5.2",
    "1.5.3",
    "1.5.4",
    "1.5.5",
    "1.5.6",
    "1.5.7",
    "1.5.8"
  ],
  "entropy": "64d465fa11e74ebc2148dbe6911f6c6f0d3b79ad"
}
I restarted and caught up. How to see that 70%?

4047
General Discussion / Re: Test Net for Advanced Users
« on: August 19, 2015, 07:02:15 am »
I have this message (now solved but I think I should report)

Code: [Select]
2071000ms th_a       witness.cpp:242               block_production_loo ] Witness 1.6.1446 p
roduction slot has arrived; generating a block now...
2071002ms th_a       db_block.cpp:167              _push_block          ] Failed to push new
 block:
3070000 undo_database_exception: undo database exception
The database does not have enough undo history to support a blockchain with so many missed b
locks. Please add a checkpoint if you would like to continue applying blocks beyond this poi
nt.
    {"recently_missed":1431,"max_undo":1000}
    th_a  db_update.cpp:68 update_global_dynamic_data
    {"next_block.block_num()":150301}
    th_a  db_block.cpp:448 _apply_block
2071003ms th_a       witness.cpp:265               block_production_loo ] Got exception whil
e generating block:
3070000 undo_database_exception: undo database exception
The database does not have enough undo history to support a blockchain with so many missed b
locks. Please add a checkpoint if you would like to continue applying blocks beyond this poi
nt.
    {"recently_missed":1431,"max_undo":1000}
    th_a  db_update.cpp:68 update_global_dynamic_data
    {"next_block.block_num()":150301}
    th_a  db_block.cpp:448 _apply_block
    {"new_block":{"previous":"00024b1c3d09ca1f5830e3e5afa94ad35ef5bd8e","timestamp":"2015-08
-19T03:34:31","witness":"1.6.1446","next_secret_hash":"2618a50760983d98ab43df78cd9a007d2e7ea
ed7","previous_secret":"e93b540ed63a628df6ef29be551fd9354dac7bed","transaction_merkle_root":
"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"20767d9f7cf2
cf5c83d2540b22943e052a5b0d0bb22af5485462a72d330efe82703a5fe6cef4276f0b5b3f76ea419d87901cefef
89c5878ec99add42aa24ab7071","transactions":[]}}
    th_a  db_block.cpp:173 _push_block
    {"witness_id":"1.6.1446"}
    th_a  db_block.cpp:312 _generate_block


The following is what I have done
- Start witness_node and sync blockchain
- Vote for 1.6.1446, close cli_wallet
- Unclean shutdown (Ctrl+C, Ctrl+C)
- Delete object_id(?) and witness_node dir
- Start witness_node
- After syncing, this problem begins to happen
Looks like you're on a fork. Try resync. Don't add parameter '--enable-stale-production'.

//Edit: Ah, just saw you've solved.

4048
General Discussion / Re: Test Net for Advanced Users
« on: August 19, 2015, 06:58:49 am »
Just woke up to this, witness crashed
Code: [Select]
     {"new_block":{"previous":"000220b6aba8787154761a665409382bbdfd0e8e","timestamp":"2015-08-18T23:31:05","witness":"1.6.1","next_secret_hash":"51d77f1f4ae0f634c379b4c2ebe86281e4e6bbba","previous_secret":"302b516fb1585c52d55e4160217cc87bcdea1839","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"1f5f10bb3728f3b4e39bc173d01481859299544c25e66d5784e8197909aa42739f262f20c474c2c377e9ed60a32dfeafedcb4137b7079395cb544d6ab4b71bf8db","transactions":[]}}
    th_a  db_block.cpp:173 _push_block
1866237ms th_a       application.cpp:342           handle_block         ] Got block #139448 from network
1866238ms th_a       application.cpp:364           handle_block         ] Error when pushing block:
10 assert_exception: Assert Exception
itr != _index.get<block_id>().end():
    {}
    th_a  fork_database.cpp:51 push_block

    {"new_block":{"previous":"000220b7468dcfdf65df858c2752c938f0bfb1e1","timestamp":"2015-08-18T23:31:06","witness":"1.6.5","next_secret_hash":"51d77f1f4ae0f634c379b4c2ebe86281e4e6bbba","previous_secret":"302b516fb1585c52d55e4160217cc87bcdea1839","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"1f571ecd28616e8de828c48647a217bfb52bd28a4c4fc4ab9b5c6ba7277d5d12fc30313342729b0abfc1e3ced296f51539e31c240fb57a39cdbbb0be19956bfee7","transactions":[]}}
    th_a  db_block.cpp:173 _push_block
1867002ms th_a       witness.cpp:239               block_production_loo ] slot: 1667 scheduled_witness: 1.6.5155 scheduled_time: 2015-08-18T23:31:07 now: 2015-08-18T23:31:07
1867007ms th_a       application.cpp:342           handle_block         ] Got block #139448 from network
1867007ms th_a       application.cpp:364           handle_block         ] Error when pushing block:
10 assert_exception: Assert Exception
itr != _index.get<block_id>().end():
    {}
    th_a  fork_database.cpp:51 push_block

    {"new_block":{"previous":"000220b7468dcfdf65df858c2752c938f0bfb1e1","timestamp":"2015-08-18T23:31:06","witness":"1.6.5","next_secret_hash":"51d77f1f4ae0f634c379b4c2ebe86281e4e6bbba","previous_secret":"302b516fb1585c52d55e4160217cc87bcdea1839","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"1f571ecd28616e8de828c48647a217bfb52bd28a4c4fc4ab9b5c6ba7277d5d12fc30313342729b0abfc1e3ced296f51539e31c240fb57a39cdbbb0be19956bfee7","transactions":[]}}
    th_a  db_block.cpp:173 _push_block
witness_node: /home/azureuser/graphene/libraries/fc/src/thread/thread_d.hpp:370: bool fc::thread_d::start_next_fiber(bool): Assertion `std::current_exception() == std::exception_ptr()' failed.
Aborted (core dumped)
Me too. Stuck at 160044.

4049
General Discussion / Re: Test Net for Advanced Users
« on: August 18, 2015, 11:15:03 pm »

Registered but not sure if it got voted in with the funds I had :) .

1.6.5155
I think this number is me.. Which chain are you in?

Pages: 1 ... 263 264 265 266 267 268 269 [270] 271 272 273 274 275 276 277 ... 309