Author Topic: Setting Up a New Witness Node  (Read 15763 times)

0 Members and 1 Guest are viewing this topic.

Offline TechnoL0g

  • Jr. Member
  • **
  • Posts: 21
    • View Profile
hi
so the difference between your
https://dexnode.net/?r=sahkan-bitshares

and this one
https://ex.xbts.io/?r=xbtsx#/market/XBTSX.BTC_BTS

is that yow own a normal witness node,he turned a witness node in personal exchange?
So is possible follow your guide,install  a witness node ,and add my coin "i will find the way" and turn it in my own exchange?
Thanks.

https://ex.xbts.io this is not a witness node, it's just a relay node, and even relay nodes we have 128 GB of RAM and 24 cores and only xeons.

witness node from xbts.io will be soon and it has a separate name
because it’s bad practice to mix the exchange node with the witness node

Because studies of delegate models of other blockchains (not Bitshares) show that the efficiency of block production may fall if you use a witness for other purposes, for example, processing a large number of other transactions, while you need to create new blocks.

I thank the author of the topic for a detailed guide!


« Last Edit: August 28, 2019, 04:46:39 pm by TechnoL0g »

Offline giannigre

  • Newbie
  • *
  • Posts: 5
    • View Profile
hi
so the difference between your
https://dexnode.net/?r=sahkan-bitshares

and this one
https://ex.xbts.io/?r=xbtsx#/market/XBTSX.BTC_BTS

is that yow own a normal witness node,he turned a witness node in personal exchange?
So is possible follow your guide,install  a witness node ,and add my coin "i will find the way" and turn it in my own exchange?
Thanks.

If you want to create a coin, you don't need to run a witness node, instead, you can create via https://wallet.bitshares.org. Please read https://how.bitshares.works/en/master/bts_holders/tutorials/uia-create-gui.html

If you want to run a web wallet like https://wallet.bitshares.org, please read https://dev.bitshares.works/en/master/bts_guide/tutorials/distributed-access-hosting.html#distributed-access-to-dex and https://github.com/bitshares/bitshares-ui/blob/develop/README.md

If you want to run a customized web wallet like https://ex.xbts.io/, please read https://steemit.com/bitshares/@cm-steem/bitshares-ui-customization-guide

If you want other people to deposit to your exchange, you need to develop a gateway service, please read https://github.com/bitshares/bitshares-ui/wiki/Gateway-Integration-Requirements

thanks are good guides,but i have a problem from the biginning ,because my coin has a total supply of 10 billion,and  in create asset maximum is 10 million,what i can do?
Change precision to 5 or less, then can increase maximum supply.
Thanks very kind ,i started to build my exchange,soon i will update

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4572
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
hi
so the difference between your
https://dexnode.net/?r=sahkan-bitshares

and this one
https://ex.xbts.io/?r=xbtsx#/market/XBTSX.BTC_BTS

is that yow own a normal witness node,he turned a witness node in personal exchange?
So is possible follow your guide,install  a witness node ,and add my coin "i will find the way" and turn it in my own exchange?
Thanks.

If you want to create a coin, you don't need to run a witness node, instead, you can create via https://wallet.bitshares.org. Please read https://how.bitshares.works/en/master/bts_holders/tutorials/uia-create-gui.html

If you want to run a web wallet like https://wallet.bitshares.org, please read https://dev.bitshares.works/en/master/bts_guide/tutorials/distributed-access-hosting.html#distributed-access-to-dex and https://github.com/bitshares/bitshares-ui/blob/develop/README.md

If you want to run a customized web wallet like https://ex.xbts.io/, please read https://steemit.com/bitshares/@cm-steem/bitshares-ui-customization-guide

If you want other people to deposit to your exchange, you need to develop a gateway service, please read https://github.com/bitshares/bitshares-ui/wiki/Gateway-Integration-Requirements

thanks are good guides,but i have a problem from the biginning ,because my coin has a total supply of 10 billion,and  in create asset maximum is 10 million,what i can do?
Change precision to 5 or less, then can increase maximum supply.
BitShares committee member: abit
BitShares witness: in.abit

Offline giannigre

  • Newbie
  • *
  • Posts: 5
    • View Profile
hi
so the difference between your
https://dexnode.net/?r=sahkan-bitshares

and this one
https://ex.xbts.io/?r=xbtsx#/market/XBTSX.BTC_BTS

is that yow own a normal witness node,he turned a witness node in personal exchange?
So is possible follow your guide,install  a witness node ,and add my coin "i will find the way" and turn it in my own exchange?
Thanks.

If you want to create a coin, you don't need to run a witness node, instead, you can create via https://wallet.bitshares.org. Please read https://how.bitshares.works/en/master/bts_holders/tutorials/uia-create-gui.html

If you want to run a web wallet like https://wallet.bitshares.org, please read https://dev.bitshares.works/en/master/bts_guide/tutorials/distributed-access-hosting.html#distributed-access-to-dex and https://github.com/bitshares/bitshares-ui/blob/develop/README.md

If you want to run a customized web wallet like https://ex.xbts.io/, please read https://steemit.com/bitshares/@cm-steem/bitshares-ui-customization-guide

If you want other people to deposit to your exchange, you need to develop a gateway service, please read https://github.com/bitshares/bitshares-ui/wiki/Gateway-Integration-Requirements

thanks are good guides,but i have a problem from the biginning ,because my coin has a total supply of 10 billion,and  in create asset maximum is 10 million,what i can do?

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4572
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
hi
so the difference between your
https://dexnode.net/?r=sahkan-bitshares

and this one
https://ex.xbts.io/?r=xbtsx#/market/XBTSX.BTC_BTS

is that yow own a normal witness node,he turned a witness node in personal exchange?
So is possible follow your guide,install  a witness node ,and add my coin "i will find the way" and turn it in my own exchange?
Thanks.

If you want to create a coin, you don't need to run a witness node, instead, you can create via https://wallet.bitshares.org. Please read https://how.bitshares.works/en/master/bts_holders/tutorials/uia-create-gui.html

If you want to run a web wallet like https://wallet.bitshares.org, please read https://dev.bitshares.works/en/master/bts_guide/tutorials/distributed-access-hosting.html#distributed-access-to-dex and https://github.com/bitshares/bitshares-ui/blob/develop/README.md

If you want to run a customized web wallet like https://ex.xbts.io/, please read https://steemit.com/bitshares/@cm-steem/bitshares-ui-customization-guide

If you want other people to deposit to your exchange, you need to develop a gateway service, please read https://github.com/bitshares/bitshares-ui/wiki/Gateway-Integration-Requirements
BitShares committee member: abit
BitShares witness: in.abit

Offline giannigre

  • Newbie
  • *
  • Posts: 5
    • View Profile
hi
so the difference between your
https://dexnode.net/?r=sahkan-bitshares

and this one
https://ex.xbts.io/?r=xbtsx#/market/XBTSX.BTC_BTS

is that yow own a normal witness node,he turned a witness node in personal exchange?
So is possible follow your guide,install  a witness node ,and add my coin "i will find the way" and turn it in my own exchange?
Thanks.

Offline sahkan

  • Sr. Member
  • ****
  • Posts: 247
    • View Profile
    • BitShares DEX
Running your own chain would be like running Bitshares private testnet. You can start here:
https://github.com/bitshares/bitshares-core/wiki/private-testnet

Offline giannigre

  • Newbie
  • *
  • Posts: 5
    • View Profile
hi and thanks for the answer.
Can you help me showing a link to do this? Is there a guide?


maybe this one?
https://steemit.com/bitshares/@ihashfury/run-your-own-decentralised-exchange
« Last Edit: July 20, 2019, 05:01:45 am by giannigre »

Offline sahkan

  • Sr. Member
  • ****
  • Posts: 247
    • View Profile
    • BitShares DEX
Hello, so if i follow your installation guide i will be able to run my own exchange,with my own coin?

No. To do that you have to just install bitshares with new parameters. A bit more work.

Offline giannigre

  • Newbie
  • *
  • Posts: 5
    • View Profile
Hello, so if i follow your installation guide i will be able to run my own exchange,with my own coin?
« Last Edit: July 19, 2019, 07:03:37 pm by giannigre »

Offline sahkan

  • Sr. Member
  • ****
  • Posts: 247
    • View Profile
    • BitShares DEX
@JonnyBitcoin
Thanks! I appreciate your confidence and the tip. You can have my votes as well if you ever need them.

@rnglab
The websocket exposure was only during the initial synch (per the docs guide) but I will skip it on my next build. Thank you.

So the 8GB was an initial recommendation I found browsing through the forum. My build uses 16GB and it's pushing its limit. I am looking at 32GB for my final build (aiming at a 2 year life cycle)

@alt
I meant this threat to be a guide for people to help secure the network, I am not even soliciting anything. I will write my witness proposal later when I get done tuning it and get the final build.
But I guess there is always a hater so to answer you quickly:
- about 'bue' - I like swiss cheese
- Running a witness is a RESPONSIBILITY and I would think that it is in community's interest to build a pool of capable witnesses, both active and standby
- If you keep hating on every new comer, you will not be able to grow this community
- and as far as the active witnesses go, they are mostly voted in by two people only
Feel free to look me up on https://bitcointalk.org or https://talk.peercoin.net/


@tbone
Thanks
sorry I just saw this today.
and you have my support
I am not hate for newcomer, I just need be carefully, because I have saw so many scam happened in Bitshares

Great, thank you. Let's take it to the next level together, it will be good for everyone!  8)

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
@JonnyBitcoin
Thanks! I appreciate your confidence and the tip. You can have my votes as well if you ever need them.

@rnglab
The websocket exposure was only during the initial synch (per the docs guide) but I will skip it on my next build. Thank you.

So the 8GB was an initial recommendation I found browsing through the forum. My build uses 16GB and it's pushing its limit. I am looking at 32GB for my final build (aiming at a 2 year life cycle)

@alt
I meant this threat to be a guide for people to help secure the network, I am not even soliciting anything. I will write my witness proposal later when I get done tuning it and get the final build.
But I guess there is always a hater so to answer you quickly:
- about 'bue' - I like swiss cheese
- Running a witness is a RESPONSIBILITY and I would think that it is in community's interest to build a pool of capable witnesses, both active and standby
- If you keep hating on every new comer, you will not be able to grow this community
- and as far as the active witnesses go, they are mostly voted in by two people only
Feel free to look me up on https://bitcointalk.org or https://talk.peercoin.net/


@tbone
Thanks
sorry I just saw this today.
and you have my support
I am not hate for newcomer, I just need be carefully, because I have saw so many scam happened in Bitshares

Offline sahkan

  • Sr. Member
  • ****
  • Posts: 247
    • View Profile
    • BitShares DEX

Also remember not importing your witness owner key. If  your nodes get compromised you will only need to deploy new ones with different IP addresses, new active and signing keys and login credentials to start producing again from a clean state.

Quote
[10 APR 2017 Edit: On the production server I skipped this per @rnglab 's below comments, the difference was the synch time to the blockchain - 12Hrs+]

12Hrs is a lot for 3G blockchain. Did you have updated seed nodes then?
https://github.com/bitshares/bitshares-core/blob/master/libraries/app/application.cpp#L163

You are doing a good job, I have upvoted your witness a few days ago.

Yes ACTIVE PERMISSIONS only (for signing the blocks) no owner key. It was a clean build without nodes, so the time did not matter. I have tested it since that build and replays were much quicker (about 1hr). I saw the vote, appreciate it and returned the favor!

Offline rnglab

  • Full Member
  • ***
  • Posts: 171
    • View Profile
  • BitShares: rnglab

@rnglab
The websocket exposure was only during the initial synch (per the docs guide) but I will skip it on my next build. Thank you.


Exposing your witness_node *before* enabling block production was not essentially wrong, it just may lead to confussion.
IP address are obfuscated on block producing witness nodes.On top of server hardening (including DOS protection) this is a great built in security measure, but not exempt from network mapping and profiling to reveal a witness IP.

Also remember not importing your witness owner key. If  your nodes get compromised you will only need to deploy new ones with different IP addresses, new active and signing keys and login credentials to start producing again from a clean state.

Quote
[10 APR 2017 Edit: On the production server I skipped this per @rnglab 's below comments, the difference was the synch time to the blockchain - 12Hrs+]

12Hrs is a lot for 3G blockchain. Did you have updated seed nodes then?
https://github.com/bitshares/bitshares-core/blob/master/libraries/app/application.cpp#L163

It  helps to backup your blockchain folder once you closed your witness_node with a clean exit.
If your node crashes you will only need to sync just the last blocks, most of the times without even having to raplay/reindex the blockchain.

You are doing a good job, I have upvoted your witness a few days ago.

Offline sahkan

  • Sr. Member
  • ****
  • Posts: 247
    • View Profile
    • BitShares DEX
@JonnyBitcoin
Thanks! I appreciate your confidence and the tip. You can have my votes as well if you ever need them.

@rnglab
The websocket exposure was only during the initial synch (per the docs guide) but I will skip it on my next build. Thank you.

So the 8GB was an initial recommendation I found browsing through the forum. My build uses 16GB and it's pushing its limit. I am looking at 32GB for my final build (aiming at a 2 year life cycle)

@alt
I meant this threat to be a guide for people to help secure the network, I am not even soliciting anything. I will write my witness proposal later when I get done tuning it and get the final build.
But I guess there is always a hater so to answer you quickly:
- about 'bue' - I like swiss cheese
- Running a witness is a RESPONSIBILITY and I would think that it is in community's interest to build a pool of capable witnesses, both active and standby
- If you keep hating on every new comer, you will not be able to grow this community
- and as far as the active witnesses go, they are mostly voted in by two people only
Feel free to look me up on https://bitcointalk.org or https://talk.peercoin.net/


@tbone
Thanks