Author Topic: Test Net for Advanced Users  (Read 263610 times)

0 Members and 1 Guest are viewing this topic.

Offline lafona

  • Sr. Member
  • ****
  • Posts: 231
    • View Profile
  • BitShares: lafona
delegate-1.lafona  what happened to your node?

It looks like I am on a fork.
Code: [Select]
2813283ms th_a       fork_database.cpp:57          push_block           ] Pushing block to fork database that failed to link: 00020081f8a1dd2c575919181724f39ca247d8a1, 131201
2813283ms th_a       fork_database.cpp:58          push_block           ] Head: 131108, 00020024713817f57183d045cdecaf3303acbf0d
2813283ms th_a       application.cpp:415           handle_block         ] Error when pushing block:
3080000 unlinkable_block_exception: unlinkable block
block does not link to known chain
    {}
    th_a  fork_database.cpp:79 _push_block

    {"new_block":{"previous":"00020080759ee5c5fc93983b99af426e9d3fcf36","timestamp":"2015-09-23T15:02:12","witness":"1.6.7","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"1f65d50fe53a1c376657599d29910bf650086d48a4642b43f5b654d083ef6052a30997ecdac3dab252a2e0e83f9294363a9faacccec6f2852e94643ce22143a689","transactions":[]}}
    th_a  db_block.cpp:195 _push_block


I won't have much time to go through the logs until tonight, but if it helps I will send you a link to the log files.
BTS Witnesses: delegate-1.lafona     Witness Thread: https://bitsharestalk.org/index.php/topic,21569.msg280911/topicseen.html#msg280911
MUSE Witness: lafona

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
For redundancy I think I will run multiple nodes with different signing keys.  I will then set up a single node to switch signing keys when my witness misses a block. 
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline lakerta06

All right, I stopped the double signing attack just now.  First of all, I did do that.  :)  But it feels that didn't happen.  I sent various transactions to account hoping to see some balance missing, etc, but in vain.  The network seems totally immune to double signing.

Is that safe to say that 'evil' double signing in BTS1 era now goes into witness's toolbox.  We can use two machines as redundancy to prevent accident server shutdown?
If each witness double signs, fork never gets resolved i guess?

Offline bytemaster

All right, I stopped the double signing attack just now.  First of all, I did do that.  :)  But it feels that didn't happen.  I sent various transactions to account hoping to see some balance missing, etc, but in vain.  The network seems totally immune to double signing.

Is that safe to say that 'evil' double signing in BTS1 era now goes into witness's toolbox.  We can use two machines as redundancy to prevent accident server shutdown?

Please don't do that.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline boombastic

  • Sr. Member
  • ****
  • Posts: 251
    • View Profile
    • AngelShares Explorer
All right, I stopped the double signing attack just now.  First of all, I did do that.  :)  But it feels that didn't happen.  I sent various transactions to account hoping to see some balance missing, etc, but in vain.  The network seems totally immune to double signing.

Is that safe to say that 'evil' double signing in BTS1 era now goes into witness's toolbox.  We can use two machines as redundancy to prevent accident server shutdown?
http://bitshares.dacplay.org/r/boombastic
Support My Witness: mr.agsexplorer
BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8

Offline bytemaster

I found no difference with my node during the double signing attack :)
100% participation during the attack :)
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
I found no difference with my node during the double signing attack :)
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline bytemaster

Double Signing attack test

Since I can't find more information about how double signing will harm the network and what defensive mechanism network will have against double signing, I am going to perform a 30 minutes double signing attack on test net.  Double signing could happen due to honest witness mis-configuring node, witness server compromised by evil third party or corrupted witness.

I have 3 witness accounts voted in that I can coordinate, I am going to try double signing from 1, 2, 3 witnesses using 2 separate servers (US, Asia).

Here is the plan:

The attack will last for 30 minutes, 3 phases, each will last for 10 minutes.

phase I (0-10min): 1 double signing witness (boombastic)
phase II (10-20min): 2 double signing witness (boombastic and mr.agsexplorer)
phase III (20-30min): 3 double signing witness (boombastic and mr.agsexplorer and mrs.agsexplorer)
end (30min): stop double signing

Double signing will cause fork, I want to see after all this mess, if network can recover, and I will do some transactions during the attack and see how it's gonna affect normal user operations.  If you are here, you can perform normal operation and report back after the attack is finished.

bytemaster, if you see this, please do not vote out these double signing witness just yet.  In real world, if some witness starts double signing, voters might not react that quickly, network should survive on its own for at least 30 minutes.

The attack will start at today  2015-09-23 18:00 (UTC), which is 20 mintues from now

In the spirt of the scientific method I will submit the hypothesis on what should happen:

Phase 1:
   The next witness will receive one of your blocks first and then save (but not switch to the other block)
   The next witness will pick one of the blocks to build off of
   All of the other nodes will switch as soon as the next witness produces a block and everything will be in sync.

Phase 2:
   WIll be identical to Phase 1 except in the case that both witnesses are scheduled back to back.  If they are scheduled back to back then it may take two blocks to resolve any forks.

« Last Edit: September 23, 2015, 06:01:27 pm by bytemaster »
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline bytemaster

delegate-1.lafona  what happened to your node?
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline boombastic

  • Sr. Member
  • ****
  • Posts: 251
    • View Profile
    • AngelShares Explorer
Double Signing attack test

Since I can't find more information about how double signing will harm the network and what defensive mechanism network will have against double signing, I am going to perform a 30 minutes double signing attack on test net.  Double signing could happen due to honest witness mis-configuring node, witness server compromised by evil third party or corrupted witness.

I have 3 witness accounts voted in that I can coordinate, I am going to try double signing from 1, 2, 3 witnesses using 2 separate servers (US, Asia).

Here is the plan:

The attack will last for 30 minutes, 3 phases, each will last for 10 minutes.

phase I (0-10min): 1 double signing witness (boombastic)
phase II (10-20min): 2 double signing witness (boombastic and mr.agsexplorer)
phase III (20-30min): 3 double signing witness (boombastic and mr.agsexplorer and mrs.agsexplorer)
end (30min): stop double signing

Double signing will cause fork, I want to see after all this mess, if network can recover, and I will do some transactions during the attack and see how it's gonna affect normal user operations.  If you are here, you can perform normal operation and report back after the attack is finished.

bytemaster, if you see this, please do not vote out these double signing witness just yet.  In real world, if some witness starts double signing, voters might not react that quickly, network should survive on its own for at least 30 minutes.

The attack will start at today  2015-09-23 18:00 (UTC), which is 20 mintues from now
« Last Edit: September 23, 2015, 05:48:19 pm by boombastic »
http://bitshares.dacplay.org/r/boombastic
Support My Witness: mr.agsexplorer
BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8

Offline fav

  • Hero Member
  • *****
  • Posts: 4278
  • No Pain, No Gain
    • View Profile
    • Follow Me!
  • BitShares: fav
I cannot register a new account in the GUI, it's always hanging at this screen after entering username+password:

I deleted all cookie and local storage before..

What to do? Is something crashed?

http://imgur.com/HtDO4bA

Also the webserver seems kind of slow, looks overloaded to me..

lagging for me too at the moment

Offline mindphlux

  • Sr. Member
  • ****
  • Posts: 232
    • View Profile
I cannot register a new account in the GUI, it's always hanging at this screen after entering username+password:

I deleted all cookie and local storage before..

What to do? Is something crashed?

http://imgur.com/HtDO4bA

Also the webserver seems kind of slow, looks overloaded to me..
Please consider voting for my witness mindphlux.witness and my committee user mindphlux. I will not vote for changes that affect witness pay.

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
USD/CORE market is active now. https://graphene.bitshares.org/#/exchange/trade/USD_CORE

It's strange that lowest price is on the top but highest price at bottom.
BitShares committee member: abit
BitShares witness: in.abit

Offline ElMato

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
I have my witness node running.
Need some votes.

elmato

Offline Riverhead

PEBKAC?

Problem Exists Between Keyboard and Chair - the usual source of my bugs.

The CLI wallet format is not compatible with the GUI import format.  There is not currently an easy way to migrate from one wallet to the other.

Understood, thank you.