6

Yes, nodes relay the transactions by default. Transactions are relayed before they are executed and their gas consumption and behavior is determined. Nodes just do a basic check such as: is the signature valid? does the sending account have enough Ether to pay for the gas? is the gas below the block gas limit? If the basic checks pass, the node relays ...


3

To send a transaction to the network, all you need is a connection to it. When using geth or parity, your the nodes may not broadcast your transactions until they are reasonably close to being fully synced with the network on some modes. You can always run them in a light mode setting, which allows them to connect to already synced nodes and make requests,...


3

here is how you handle this issue in a practiced and proven way. First, before planning your organization to be too large-scale, please make yourself familiar with the characteristics of the Ethereum blockchain. Transactions per second is a bad measure, as the critical part here instead is the block and the time it takes to mine it. Also consider the block ...


3

I'm afraid I don't quite follow your question. It is not possible to transfer Bitcoin to an Ethereum wallet or vice versa. The two crypto-currencies operate on completely different blockchains and have different addressing schemes. I have to assume that you meant that you had BTC in unocoin, sold it for ETH and transferred that to your ethereum wallet that ...


3

Technically, it should be "a transaction pool", not "the transaction pool": each node has a set of transactions that it knows (or cares to know) about that are waiting to be confirmed from all users (not just your own) -- its own transaction pool. Thus, if there are n Ethereum nodes, there are n transaction pools. Transactions may disappear from tx pools if ...


3

Someone may improve this answer but the solution was simple... testrpc doesn't mine embark doesn't mine geth does mine, but I couldn't get it working - namely a bug with --fast. Parity was the solution. Sync to testnet (ropsten) with Parity, has web interface to check status. Then mine with Parity, doesn't take long. Then add a network to truffle: ...


2

When you initiate the transaction it is broadcasted to the other nodes (nearest one first), when it is verified they relay it to the others. it arrives to the miners who add it to their own pools, then you will wait your transaction get mined in order to add it to the blockchain. So when it is added to a block this one in turn will be brodcasted to the whole ...


2

The transaction is transmitted to connected peers. Eventually it ends up with mining peers. Miners keep it in their pool and choose to include the transaction in a new block. When the transaction is in a block, the whole network accepts it. You should review your understanding of blockchain because there is no "looking for the destination account".


2

which makes the transaction faster to be included into a block. It would get your transaction to the miner's transaction pool more quickly, but that's no guarantee it would get included in a block any faster. In the best case, if the miner's transaction pool is completely empty, your transaction might get mined more quickly. However, the block time is ~15 ...


2

Your Javascript code should be asynchronous (either with async/await, or using Promise objects), because both contract.new and object.showNumber return a Promise. For example: async function run() { var contract = eth.contract(ABI); var bytecode = '0xBIN'; var deploy = {from: eth.coinbase, data: bytecode, gas: 2000000}; var object = await ...


1

taken from the web -> Etherscan is the leading BlockExplorer for the Ethereum Blockchain. A BlockExplorer is basically a search engine that allows users to easily lookup, confirm and validate transactions that have taken place on the Ethereum Blockchain. https://intercom.help/cent/en/articles/2613353-what-is-etherscan Thus, you have not sent your Ether to ...


1

It looks like you want to use a stable coin like Dai in your contract: https://makerdao.com/dai Dai is an ERC20 token which has contract logic to keep the coins value pegged to the US dollar. You can integrate Dai into your contract just like any other ERC20 token. As long as you use the Dai token within your contract logic, you should be able to assume ...


1

What is your genesis file? What command do you use to launch geth? After changing the block gas limit did you reset your private blockchain? Default rules only allows the gas to change about 0.1% in each block, if you didn't reset it will stay close to the old limit until enough blocks has been mined. If you start at 4.7M you will need at least 533 blocks ...


1

The flow is roughly something like this: Send the transaction Wait for the transaction receipt - at this point you know that someone has mined your tx and that it has been included into a block, but you don't know if it will stay like this (-> chain forks/reorgs) Check the status field in the receipt - here you can check if revert has been triggered at some ...


1

So, after further digging, I've found an answer to my own question: (From the white-paper on GitHub): "A commonly asked question is "where" contract code is executed, in terms of physical hardware. This has a simple answer: the process of executing contract code is part of the definition of the state transition function, which is part of the block ...


1

Based on the link supplied by eth. getBlock('pending').transactions are the transactions your local node is trying to include into a block (if mining is enabled presumably). Whereas txpool.status.pending is the list of all transactions broadcasted which your node has received, but have yet to be included in a block. In layman terms, getBlock('pending')....


1

From my understanding the problem lies in the "nested" contract structure. If you create a contract with new() the situation is clear - There is one transaction to the address 0x0, creating exactly one contract. So the EVM can set the "contractAddress" field in the transaction receipt. But when you deal with a factory the situation changes. The transaction ...


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