8

Whenever you set up a local testnet node or run nodeos on your home computer, you are creating a new EOS chain. What matters is how you choose to connect it to other nodes to decentralise the system. If you want a private blockchain for, say, your office building, then you would set up several instances of nodeos in the office and connect them to each ...


5

Yes you can create a private blockchain take a look to this tutorial : https://developers.eos.io/eosio-nodeos/docs/bios-boot-sequence


2

The chain id is the is the SHA256 serialization of the genesis_state. genesis_state.hpp : /** * Get the chain_id corresponding to this genesis state. * * This is the SHA256 serialization of the genesis_state. */ chain_id_type compute_chain_id() const; genesis_state.cpp : /** * @file * @copyright defined in eos/LICENSE.txt */ #...


2

If you need them all to be in one block, increase block time and max block cpu usage, and check you're using wabt and not wasm. All these can be configured in config.ini I believe. Also ensure the action your calling uses minimum cpu, as you won't get anywhere near 8000tps for more expensive actions.


2

You can change number of BPs in system contract, Change "21" to your desired number as below: refer:eos/contracts/eosio.system/voting.cpp top_producers.reserve(**21**); for ( auto it = idx.cbegin(); it != idx.cend() && top_producers.size() < **21** && 0 < it->total_votes && it->active(); ++it ) { top_producers....


2

EOSIO Private network tutorial by EOS Costa Rica: https://guide.eoscostarica.io/docs/tutorials/private-network-installation


2

this tutorial written by EOS developer. https://medium.com/@kaloliya/step-by-step-guide-to-set-up-your-private-eos-network-eosio-6d80c30dd520


2

In [producer_pay.cpp][1], you'll find: const int64_t min_activated_stake = 150'000'000'0000; You'll want to either alter that when loading the contracts, or just issue tokens to some accounts and ensure that enough votes (150 million) have been cast to pass this threshold.


2

Key generation is generating an R1 or K1 curve key, can be done with cleos cleos create key --to-console ...


2

This got me as well, it's related to the new WTMSIG_BLOCK_SIGNATURES in eosio 2.0 and the requirement to pre-activate the new eosio chain. There is a pull request which includes a simplified version of the eosio.bios contract called eosio.boot which once deployed gives you the ability to pre-activate and then activate the necessary features. Details can be ...


1

You can get the total vote weight curl -sd '{"scope":"eosio", "code":"eosio", "table":"global", "json": true}' http://api.eosn.io/v1/chain/get_table_rows | jq '.rows[0].total_producer_vote_weight' Then you can divide each row in th producer table by that number to get the fraction curl -...


1

In your case it sounds like you have 3 servers with the same set of blocks. You could manually shutdown one of the 2 working servers and copy all the blocks and state to the non-working server. Best way to copy is to create a tar archive, copy the archive, then restore it. tar --sparse -cf mybackup.tar [insert location of nodeos blocks and state] Also ...


1

What is the key generation process? As Nat says in his answer, the keys are secp256k1 or secp256r1 curve keys. You can read more about that here: http://www.secg.org/sec2-v2.pdf Can the same keypairs generated for the mainnet be used on any private network? Yes. A private/public keypair created for one EOSIO chain is usable on another chain. What is the ...


1

If you just want to run a dapp in sandbox environment you can run local EOS node (nodeos). It will contain only your data and will not sync all blocks from testchain. You can start by downloading binaries of EOSIO and EOSIO.CDT. and then simply starting local node through nodeos. By default local node will run on http://127.0.0.1:8888/


1

You can check out dfuse On Demand Networks. We can operate the network on your behalf. Here's a link to get some more info: https://www.dfuse.io/en/blog/let-dfuse-launch-your-on-demand-network


1

If the charge is only the Token issued by yourself, you can customize the deployment of your own Token contract, and then deduct the corresponding handling fee when transferring


1

Block interval is not configurable option, so you need to build nodeos by yourself. https://github.com/EOSIO/eos/blob/de78b49b5765c88f4e005046d1489c3905985b94/libraries/chain/include/eosio/chain/config.hpp#L38 However, I don't think changing block_interval_ms is not tested much. (Some parts of code can be written assuming block interval of 500㎳) You may ...


1

No. A private eosio blockchain will have it's own token to use for resource allocation. You can check more information on the developers documentation here: https://developers.eos.io/


1

You can find a guide on biosboot sequence in EOSIO developer portal and I think you will find it useful understanding such configurations. The p2p-listen-address field indicates which IP address and port will be opened for other peers to communicate with this certain node. Think of it as a server address. On the other hand, the p2p-peer-address field ...


Only top voted, non community-wiki answers of a minimum length are eligible