Author Topic: Dry Run 6: Great Scott!  (Read 91650 times)

0 Members and 1 Guest are viewing this topic.

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
If there are delegate account on the wallet, it won't scan the blockchain, so create two wallet for the delegate account and the other.

I created a second wallet to try it out...

Please sent me some fund guys  ;)
XTS8iHgDW65qqddDaCNSeBBFEPX9Z1KB47mt8mk1oAuLyzm3j6u71

Offline yangsbo

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Dan, I have an idea to balance the speed and security.
make the period dynamic.
suppose current block should generic by delegate-1 at 00:00:00 , next should by delegate-2.
If delegate-2 receive the block before 00:00:30, then generic next block at 00:00:30.
else if receive before 00:01:00, then generic next block at 00:01:00
we can set a max waitting time like 2 minutes, if delegate-2 still not receive block after 2 minutes, then it can ignore delegate-1.
I think a delegate can generate multi blocks in one turn.
more transactions received, should generate more blocks.
Just give a limit, like 4 blocks or 2 minutes. the period can improve to 15 seconds.
Give a msg to  network when quit, so next delegate can running.
If there are no transactions, don't generate block.
If a delegate find that its network speed is very slow, It can send a give up message to btsx network.so next delegate can running.

good idea, bytemaster, Can you consider it?

Offline JeffreyLee

  • Jr. Member
  • **
  • Posts: 40
    • View Profile
Dan, I have an idea to balance the speed and security.
make the period dynamic.
suppose current block should generic by delegate-1 at 00:00:00 , next should by delegate-2.
If delegate-2 receive the block before 00:00:30, then generic next block at 00:00:30.
else if receive before 00:01:00, then generic next block at 00:01:00
we can set a max waitting time like 2 minutes, if delegate-2 still not receive block after 2 minutes, then it can ignore delegate-1.
I think a delegate can generate multi blocks in one turn.
more transactions received, should generate more blocks.
Just give a limit, like 4 blocks or 2 minutes. the period can improve to 15 seconds.
Give a msg to  network when quit, so next delegate can running.
If there are no transactions, don't generate block.
If a delegate find that its network speed is very slow, It can send a give up message to btsx network.so next delegate can running.
BitShares-PTS:Pop8mPCmtzSLc1NXaJLSnE2gpvDvCZJgMd
Please give me a vote:wallet_approve_delegate sunshine.clerk 1

Offline gordonhucn

  • Full Member
  • ***
  • Posts: 66
    • View Profile
thanks dorian for the funds
will anyone send me some funds for testing please?

XTS7qoK7bKjjfRKB1w7a6tq2XyAsbBNvDt8QJ24wEXadZEPW519J2

thanks

Offline gordonhucn

  • Full Member
  • ***
  • Posts: 66
    • View Profile
will anyone send me some funds for testing please?

XTS7qoK7bKjjfRKB1w7a6tq2XyAsbBNvDt8QJ24wEXadZEPW519J2

thanks

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
Dan, I have an idea to balance the speed and security.
make the period dynamic.
suppose current block should generic by delegate-1 at 00:00:00 , next should by delegate-2.
If delegate-2 receive the block before 00:00:30, then generic next block at 00:00:30.
else if receive before 00:01:00, then generic next block at 00:01:00
we can set a max waitting time like 2 minutes, if delegate-2 still not receive block after 2 minutes, then it can ignore delegate-1.
I think a delegate can generate multi blocks in one turn.
more transactions received, should generate more blocks.
Just give a limit, like 4 blocks or 2 minutes. the period can improve to 15 seconds.
Give a msg to  network when quit, so next delegate can running.
If there are no transactions, don't generate block.


Offline cgafeng

If there are delegate account on the wallet, it won't scan the blockchain, so create two wallet for the delegate account and the other.
BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani

I still didn't received funds... Any suggestions?

Code: [Select]
liondani (unlocked) >>> wallet_account_balance liondani
liondani:
    0.00000 XTS
I saw transaction commit already.
try wallet_rescan_blockchain?
Code: [Select]
    620.3    2014-06-26T23:50:00 dorian              liondani                                                      100.00000 XTS         0.10000 XTS        f3741653


Code: [Select]
liondani (unlocked) >>> wallet_account_balance liondani
liondani:
    0.00000 XTS
liondani (unlocked) >>> wallet_rescan_blockchain
Rescanning blockchain...
|----------------------------------------------------------------------------------------------------|
|====================================================================================================|
Scan complete.
OK
liondani (unlocked) >>> wallet_account_balance liondani
liondani:
    0.00000 XTS
liondani (unlocked) >>> network_get_connection_count
12
liondani (unlocked) >>> network_get_peer_info
[{
    "addr": "******************",
    "addrlocal": "******************",
    "services": "00000001",
    "lastsend": 1403830503,
    "lastrecv": 1403830503,
    "bytessent": 8320,
    "bytesrecv": 13408,
    "conntime": "20140627T002830.698741",
    "pingtime": "",
    "pingwait": "",
    "version": "",
    "subver": "bts::net::node",
    "inbound": false,
    "firewall_status": "not_firewalled",
    "startingheight": "",
    "banscore": "",
    "syncnode": "",
    "bitshares_git_revision_sha": "7e96861f8b502ee5141c0d231d2aa675c5a0a364 ( different from ours )",
    "bitshares_git_revision_unix_timestamp": "20140626T151354",
    "bitshares_git_revision_age": "10 hours ago ( newer than ours )",
    "fc_git_revision_sha": "1284c5e68625c8f795190e795454b875da3b0363 ( different from ours )",
    "fc_git_revision_unix_timestamp": "20140626T144120",
    "fc_git_revision_age": "10 hours ago ( newer than ours )",
    "platform": "linux"
  },{
    "addr": "*****************",
    "addrlocal": "**********************",
    "services": "00000001",
    "lastsend": 1403830322,
    "lastrecv": 1403830322,
    "bytessent": 8192,
    "bytesrecv": 448768,
    "conntime": "20140627T002121.473906",
    "pingtime": "",
    "pingwait": "",
    "version": "",
    "subver": "bts::net::node",
    "inbound": false,
    "firewall_status": "not_firewalled",
    "startingheight": "",
    "banscore": "",
    "syncnode": "",
    "bitshares_git_revision_sha": "0a8adff5ce8942e892dd8fab68492d7971efe42e ( different from ours )",
    "bitshares_git_revision_unix_timestamp": "20140625T194246",
    "bitshares_git_revision_age": "29 hours ago ( older than ours )",
    "fc_git_revision_sha": "456c81df27058169d4e533fda4c18e5005ac3bd2 ( different from ours )",
    "fc_git_revision_unix_timestamp": "20140626T033209",
    "fc_git_revision_age": "21 hours ago ( older than ours )",
    "platform": "linux"
  },{
    "addr": "*************************,
    "addrlocal": "***********************",
    "services": "00000001",
    "lastsend": 1403830397,
    "lastrecv": 1403830397,
    "bytessent": 10336,
    "bytesrecv": 452752,
    "conntime": "20140627T002121.487904",
    "pingtime": "",
    "pingwait": "",
    "version": "",
    "subver": "bts::net::node",
    "inbound": false,
    "firewall_status": "not_firewalled",
    "startingheight": "",
    "banscore": "",
    "syncnode": "",
    "bitshares_git_revision_sha": "0a8adff5ce8942e892dd8fab68492d7971efe42e ( different from ours )",
    "bitshares_git_revision_unix_timestamp": "20140625T194246",
    "bitshares_git_revision_age": "29 hours ago ( older than ours )",
    "fc_git_revision_sha": "456c81df27058169d4e533fda4c18e5005ac3bd2 ( different from ours )",
    "fc_git_revision_unix_timestamp": "20140626T033209",
    "fc_git_revision_age": "21 hours ago ( older than ours )",
    "platform": "linux"
  },{
    "addr": "********************",
    "addrlocal": "**************************",
    "services": "00000001",
    "lastsend": 1403830322,
    "lastrecv": 1403830322,
    "bytessent": 7872,
    "bytesrecv": 295776,
    "conntime": "20140627T002122.943837",
    "pingtime": "",
    "pingwait": "",
    "version": "",
    "subver": "bts::net::node",
    "inbound": false,
    "firewall_status": "not_firewalled",
    "startingheight": "",
    "banscore": "",
    "syncnode": "",
    "bitshares_git_revision_sha": "33bf19aede27bc8e7f04a994bc837b6a24dd0ed2 ( different from ours )",
    "bitshares_git_revision_unix_timestamp": "20140626T035107",
    "bitshares_git_revision_age": "21 hours ago ( older than ours )",
    "fc_git_revision_sha": "b23c0494d5c01918621a2d96e5a4adfea044c0e1 ( different from ours )",
    "fc_git_revision_unix_timestamp": "20140625T224724",
    "fc_git_revision_age": "26 hours ago ( older than ours )",
    "platform": "linux"
  },{
    "addr": "**********************",
    "addrlocal": "**********************",
    "services": "00000001",
    "lastsend": 1403830281,
    "lastrecv": 1403830321,
    "bytessent": 8928,
    "bytesrecv": 275712,
    "conntime": "20140627T002122.812129",
    "pingtime": "",
    "pingwait": "",
    "version": "",
    "subver": "bts::net::node",
    "inbound": false,
    "firewall_status": "not_firewalled",
    "startingheight": "",
    "banscore": "",
    "syncnode": "",
    "bitshares_git_revision_sha": "33bf19aede27bc8e7f04a994bc837b6a24dd0ed2 ( different from ours )",
    "bitshares_git_revision_unix_timestamp": "20140626T035107",
    "bitshares_git_revision_age": "21 hours ago ( older than ours )",
    "fc_git_revision_sha": "b23c0494d5c01918621a2d96e5a4adfea044c0e1 ( different from ours )",
    "fc_git_revision_unix_timestamp": "20140625T224724",
    "fc_git_revision_age": "26 hours ago ( older than ours )",
    "platform": "linux"
  },{
    "addr": "*****************",
    "addrlocal": "1**********************",
    "services": "00000001",
    "lastsend": 1403830321,
    "lastrecv": 1403830321,
    "bytessent": 8640,
    "bytesrecv": 252304,
    "conntime": "20140627T002123.160629",
    "pingtime": "",
    "pingwait": "",
    "version": "",
    "subver": "bts::net::node",
    "inbound": false,
    "firewall_status": "not_firewalled",
    "startingheight": "",
    "banscore": "",
    "syncnode": "",
    "bitshares_git_revision_sha": "33bf19aede27bc8e7f04a994bc837b6a24dd0ed2 ( different from ours )",
    "bitshares_git_revision_unix_timestamp": "20140626T035107",
    "bitshares_git_revision_age": "21 hours ago ( older than ours )",
    "fc_git_revision_sha": "b23c0494d5c01918621a2d96e5a4adfea044c0e1 ( different from ours )",
    "fc_git_revision_unix_timestamp": "20140625T224724",
    "fc_git_revision_age": "26 hours ago ( older than ours )",
    "platform": "linux"
  },{
    "addr": "*********************",
    "addrlocal": "**************************",
    "services": "00000001",
    "lastsend": 1403830322,
    "lastrecv": 1403830322,
    "bytessent": 8368,
    "bytesrecv": 240240,
    "conntime": "20140627T002122.934898",
    "pingtime": "",
    "pingwait": "",
    "version": "",
    "subver": "bts::net::node",
    "inbound": false,
    "firewall_status": "not_firewalled",
    "startingheight": "",
    "banscore": "",
    "syncnode": "",
    "bitshares_git_revision_sha": "898cbdd351703d61e9a4e003bab102378ed5f22b ( different from ours )",
    "bitshares_git_revision_unix_timestamp": "20140625T231902",
    "bitshares_git_revision_age": "26 hours ago ( older than ours )",
    "fc_git_revision_sha": "b23c0494d5c01918621a2d96e5a4adfea044c0e1 ( different from ours )",
    "fc_git_revision_unix_timestamp": "20140625T224724",
    "fc_git_revision_age": "26 hours ago ( older than ours )",
    "platform": "linux"
  },{
    "addr": "***********************,
    "addrlocal": "*********************9",
    "services": "00000001",
    "lastsend": 1403830573,
    "lastrecv": 1403830573,
    "bytessent": 10160,
    "bytesrecv": 420944,
    "conntime": "20140627T002123.160642",
    "pingtime": "",
    "pingwait": "",
    "version": "",
    "subver": "bts::net::node",
    "inbound": false,
    "firewall_status": "not_firewalled",
    "startingheight": "",
    "banscore": "",
    "syncnode": "",
    "bitshares_git_revision_sha": "b7d6778c061955d7403abd037bc9183826b5f12c ( different from ours )",
    "bitshares_git_revision_unix_timestamp": "20140626T144214",
    "bitshares_git_revision_age": "10 hours ago ( newer than ours )",
    "fc_git_revision_sha": "1284c5e68625c8f795190e795454b875da3b0363 ( different from ours )",
    "fc_git_revision_unix_timestamp": "20140626T144120",
    "fc_git_revision_age": "10 hours ago ( newer than ours )",
    "platform": "linux"
  },{
    "addr": "********************1******",
    "addrlocal": "*******************9",
    "services": "00000001",
    "lastsend": 1403830322,
    "lastrecv": 1403830281,
    "bytessent": 8224,
    "bytesrecv": 21504,
    "conntime": "20140627T002123.318532",
    "pingtime": "",
    "pingwait": "",
    "version": "",
    "subver": "bts::net::node",
    "inbound": false,
    "firewall_status": "not_firewalled",
    "startingheight": "",
    "banscore": "",
    "syncnode": "",
    "bitshares_git_revision_sha": "898cbdd351703d61e9a4e003bab102378ed5f22b ( different from ours )",
    "bitshares_git_revision_unix_timestamp": "20140625T231902",
    "bitshares_git_revision_age": "26 hours ago ( older than ours )",
    "fc_git_revision_sha": "b23c0494d5c01918621a2d96e5a4adfea044c0e1 ( different from ours )",
    "fc_git_revision_unix_timestamp": "20140625T224724",
    "fc_git_revision_age": "26 hours ago ( older than ours )",
    "platform": "linux"
  },{
    "addr": "*********************6",
    "addrlocal": "*********************9",
    "services": "00000001",
    "lastsend": 1403830322,
    "lastrecv": 1403830322,
    "bytessent": 9696,
    "bytesrecv": 23360,
    "conntime": "20140627T002123.591118",
    "pingtime": "",
    "pingwait": "",
    "version": "",
    "subver": "bts::net::node",
    "inbound": false,
    "firewall_status": "not_firewalled",
    "startingheight": "",
    "banscore": "",
    "syncnode": "",
    "bitshares_git_revision_sha": "b7d6778c061955d7403abd037bc9183826b5f12c ( different from ours )",
    "bitshares_git_revision_unix_timestamp": "20140626T144214",
    "bitshares_git_revision_age": "10 hours ago ( newer than ours )",
    "fc_git_revision_sha": "1284c5e68625c8f795190e795454b875da3b0363 ( different from ours )",
    "fc_git_revision_unix_timestamp": "20140626T144120",
    "fc_git_revision_age": "10 hours ago ( newer than ours )",
    "platform": "linux"
  },{
    "addr": "******************",
    "addrlocal": "***************************",
    "services": "00000001",
    "lastsend": 1403830322,
    "lastrecv": 1403830322,
    "bytessent": 9344,
    "bytesrecv": 20752,
    "conntime": "20140627T002123.398686",
    "pingtime": "",
    "pingwait": "",
    "version": "",
    "subver": "bts::net::node",
    "inbound": false,
    "firewall_status": "not_firewalled",
    "startingheight": "",
    "banscore": "",
    "syncnode": "",
    "bitshares_git_revision_sha": "88f301e8033e5798ff5bb69501d7acd402506a92 ( different from ours )",
    "bitshares_git_revision_unix_timestamp": "20140626T215816",
    "bitshares_git_revision_age": "3 hours ago ( newer than ours )",
    "fc_git_revision_sha": "c925ceb232f103b892ba4080f17f14484f5471b8 ( different from ours )",
    "fc_git_revision_unix_timestamp": "20140626T195135",
    "fc_git_revision_age": "5 hours ago ( newer than ours )",
    "platform": "linux"
  },{
    "addr": "**********************",
    "addrlocal": "********************9",
    "services": "00000001",
    "lastsend": 1403830322,
    "lastrecv": 1403830322,
    "bytessent": 9440,
    "bytesrecv": 19104,
    "conntime": "20140627T002123.320390",
    "pingtime": "",
    "pingwait": "",
    "version": "",
    "subver": "bts::net::node",
    "inbound": false,
    "firewall_status": "not_firewalled",
    "startingheight": "",
    "banscore": "",
    "syncnode": "",
    "bitshares_git_revision_sha": "97e58cd587e6545ee5676e566ffef40c32887c44 ( same as ours )",
    "bitshares_git_revision_unix_timestamp": "20140626T140607",
    "bitshares_git_revision_age": "11 hours ago ( same as ours )",
    "fc_git_revision_sha": "21d1ce2067c3502107066b770157bb094bc831cc ( same as ours )",
    "fc_git_revision_unix_timestamp": "20140626T140342",
    "fc_git_revision_age": "11 hours ago ( same as ours )",
    "platform": "linux"
  }
]


Still not there...
Why some nodes are with older git_revisions and other with newer or "same as ours" (only the last one)?

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi

I still didn't received funds... Any suggestions?

Code: [Select]
liondani (unlocked) >>> wallet_account_balance liondani
liondani:
    0.00000 XTS
I saw transaction commit already.
try wallet_rescan_blockchain?
Code: [Select]
    620.3    2014-06-26T23:50:00 dorian              liondani                                                      100.00000 XTS         0.10000 XTS        f3741653

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
sent me funds please  ;)

XTS5as1STEgLPDq6mW5z8V3QqL2AUub4aasjUXPBhNPdLXmehynyA     liondani

please...
100 xts to you  :)

I still didn't received funds... Any suggestions?

Code: [Select]
liondani (unlocked) >>> wallet_account_balance liondani
liondani:
    0.00000 XTS
liondani (unlocked) >>> wallet_list_unspent_balances
           BALANCE                                   OWNER                     VOTE
--------------------------------------------------------------------------------------------------------------------------
liondani (unlocked) >>> wallet_account_list_public_keys liondani
[{
    "hex": "025bac32a075a4344f257543e2a1fbdf4b7ef8b46dc11b0da6d624a28c806bf251",
    "native_pubkey": "XTS5as1STEgLPDq6mW5z8V3QqL2AUub4aasjUXPBhNPdLXmehynyA",
    "native_address": "XTSCMygaxAvhxrea87y1Xo373ZfvTi2SqGGA",
    "pts_normal_address": "PmyPBLk1wTMuFk8JkN6A1YS9sG3jr1XMz4",
    "pts_compressed_address": "PfVX4CeqzojUMWKvifd8o3kUvtxmFeSG8U",
    "btc_normal_address": "1F3c3G3tBMQqTUKTNsSJrXC6d1cv3dazx6",
    "btc_compressed_address": "18Zjv7xiEhnQZEX5MAyHe2WRgeXwRRC91S"
  }
]

Offline bytemaster

I am creating a dedicated delegate P2P network that only authenticated delegates can join.  Any delegate that is active in the current round can connect directly to the other delegates.    When a new block is produced it will be sent directly to the next delegate first and then to all other delegates.

This new P2P network for delegates is based upon UDT http://udt.sourceforge.net/ which will allow it to punch through firewalls.

The goal of this delegate network is to focus only on block delivery.  This is an optional service (delegates don't have to join it), but if all delegates can connect to all other delegates then latency can be reduced to the maximum effect.
Awesome!
But shall we worry about node security? because the IP is known by outside.

This is just the basic features, eventually I would expect delegates to cooperate, perhaps set up a VPN, etc... all stuff that can be done after launch.  In fact, I think it is perfectly viable to launch with the existing code as is because core features are in place and block validation seems to be working.   

We can continue to enhance a live system.
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 alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I am creating a dedicated delegate P2P network that only authenticated delegates can join.  Any delegate that is active in the current round can connect directly to the other delegates.    When a new block is produced it will be sent directly to the next delegate first and then to all other delegates.

This new P2P network for delegates is based upon UDT http://udt.sourceforge.net/ which will allow it to punch through firewalls.

The goal of this delegate network is to focus only on block delivery.  This is an optional service (delegates don't have to join it), but if all delegates can connect to all other delegates then latency can be reduced to the maximum effect.
Awesome!
But shall we worry about node security? because the IP is known by outside.

Offline ebit

  • Committee member
  • Hero Member
  • *
  • Posts: 1905
    • View Profile
  • BitShares: ebit
telegram:ebit521
https://weibo.com/ebiter

Offline bytemaster

I am creating a dedicated delegate P2P network that only authenticated delegates can join.  Any delegate that is active in the current round can connect directly to the other delegates.    When a new block is produced it will be sent directly to the next delegate first and then to all other delegates.

This new P2P network for delegates is based upon UDT http://udt.sourceforge.net/ which will allow it to punch through firewalls.

The goal of this delegate network is to focus only on block delivery.  This is an optional service (delegates don't have to join it), but if all delegates can connect to all other delegates then latency can be reduced to the maximum effect.
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 alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
Dan, I have an idea to balance the speed and security.
make the period dynamic.
suppose current block should generic by delegate-1 at 00:00:00 , next should by delegate-2.
If delegate-2 receive the block before 00:00:30, then generic next block at 00:00:30.
else if receive before 00:01:00, then generic next block at 00:01:00
we can set a max waitting time like 2 minutes, if delegate-2 still not receive block after 2 minutes, then it can ignore delegate-1.