Author Topic: How to set up a full node for Bitshares-2.0?  (Read 3683 times)

0 Members and 1 Guest are viewing this topic.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Welcome to the era of real-time blockchains. Do us a favor and do not tell anyone until we are ready to hit the masses big time and it is too late to get into it :)

Offline lightclient

  • Newbie
  • *
  • Posts: 6
    • View Profile
Just to report my experience of the full node syncing process...
Tbh, I'm surprised. I was thinking the sync process will be an over-night job.
I didn't measure the time with a stopwatch, but it was less than 2 hours.
After the syncing, the load on the system is so much lighter than Bitshares-1.0 .
It was wonderful and clean, comfortable as a money platform! Thank you!


Offline sittingduck

  • Sr. Member
  • ****
  • Posts: 246
    • View Profile

Offline lightclient

  • Newbie
  • *
  • Posts: 6
    • View Profile
ws://localhost:8090 and wss://localhost:8090, which is true? wss://, I suppose.
More important problem is, how to safely quit the full node (witness_node.exe) without corrupting the blockchain data?
Does Ctrl+C work? Is there any "suitable timing" for terminating the full node program?
« Last Edit: January 17, 2016, 01:15:51 pm by lightclient »

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc

Offline lightclient

  • Newbie
  • *
  • Posts: 6
    • View Profile
For other users, I think the command was this:
witness_node.exe --rpc-endpoint 127.0.0.1:8090

Offline lightclient

  • Newbie
  • *
  • Posts: 6
    • View Profile
Thanks for quick reply! I'll try it!

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
Download the cli-tools.exe here https://github.com/bitshares/bitshares-2/releases, install.

Run the witness_node.exe:
* Open a command line window,
Code: [Select]
cd "C:\Program Files\BitShares 2\bin"
witness_node.exe --rpc-endpoint 127.0.0.1:8090
Wait for sync.

Connect your light wallet to your witness_node by adding "ws://127.0.0.1:8090/ws" to Settings -> "API connection" and select it.
« Last Edit: January 17, 2016, 12:19:11 pm by abit »
BitShares committee member: abit
BitShares witness: in.abit

Offline lightclient

  • Newbie
  • *
  • Posts: 6
    • View Profile
Is there any complete guide for setting up a full node for Bitshares-2.0 and use it as a normal wallet?
I'd like to import my 0.9.3c-exported file, too.
I am using Windows 7.

The light client (*1) don't work and the browser-based methods (*2) don't neither.
They are stuck if being requested some operations (viewing pages, doing "LOOKUP BALANCES").
The screen sometimes says "NO BLOCKCHAIN CONNECTION".
Are we under some DoS attack right now?
I'm confused because others are not complaining it, thanks.

*1:
BitShares-light_2.0.160106.exe

*2:
https://bitshares.openledger.info/
https://bitshares.org/wallet
« Last Edit: January 17, 2016, 10:07:33 am by lightclient »