Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Hot answers tagged

3

You can use an approach similar to graph traversal https://en.wikipedia.org/wiki/Graph_traversal Connect to a node, add it to "knownNodes" map Find peers for this node Get a peer list for my geth node For each peer, if peer does not already exist in "knownNodes", perform steps #1 and #2


2

This isn't a great question for Stack Exchange because you've buried a bunch of separate questions in the premises. Reddit would probably be better. But here goes. The penalty for being offline for a short period of time is quite low, and it won't necessarily be trivial to identify which nodes you need to DDoS, so it isn't obviously correct to say that you ...


2

What are the exact rules applied by Geth, Parity, and/or other clients to determine a peer's reputation? The exact answer to this is the source code for each client. To answer this question I've only looked at Geth's source, I can't speak to what Parity does. In particular, is being honest sufficient to get a good or even optimal reputation or is ...


2

Yes, nonce is relative to the number of tx you did in the network. So if do n tx on mainnet your ropsten nonce will still be 0.


1

Please find answers to your questions below: Is different group of miner between Ethereum and Ethereum Classic? Yes. Although they both use the same minining algorithm and have the same network id (1), Ethereum Classic has a chain id of 61. Therefore they are two completely seperate chains (although technically miners can decided to mine either one of them ...


1

Usually dapps interact with the blockchain through an API provider. You can enable the RPC port in one of nodes, or use another node that will it enabled. For geth you have to add --rpc --rpcapi="db,eth,net,web3". Then your users can add a custom connection to MetaMask to your RPC provider and they will be able to interact with your dapp.


1

is Account nonce depends on network? Yes. The nonce is part of the state data associated with each account. The state data will be difference for each different network you use the same address on (i.e. private key). There is no way for one network's state data to be shared with another network.


1

Making public means to allow others to be able to connect to your chain. So you need to provide details on how to add a new node to the chain. These details include: Genesis block: The genesis file which was used to create the chain bootnode: The enode url of any of your nodes which is running Anyone having these details will be able to connect to your ...


1

To add to Ismael's answer, as outlined by Nick here, Ethereum addresses are 160 bit hashes, meaning there are 2^160 possible hashes. Per the birthday problem, the chance of a collision rises to 50% when there are about 2^80 accounts created. To give you an idea of how unlikely that is, if every person on earth spent all their time doing ...


1

All ethereum compatible networks use the same type of private keys and the addresses have the same format, ie ETH mainnet, testnets like ropsten, rinkeby, kovan, ETC mainnet, etc. all can use the same private key/address. You do not have to "register" an account. All accounts are already "created and initialized" with a zero balance. It is possible that ...


1

The Ethereum blockchain utilizes a Proof-of-Work (PoW) variant in an implementation called Ethash. PoW does not involve reputation. The reputation you're reading about likely refers to "off-chain" reputation e.g. public scorn or 2nd layer reputation engines that track and award/punish based on some calculated measure of miner reputation (e.g. bonding curves ...


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