Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 9938

Go Ethereum (short: Geth) is a Golang implementation of the Ethereum protocol.

2 votes

Geth not syncing on testnet

Try to run geth --testnet --syncmode "fast" --cache=1024 console and then in console: admin.addPeer('enode://6ce05930c72abc632c58e2e4324f7c7ea478cec0ed4fa2528982cf34483094e9cbc9216e7aa34969124257 …
Roman Frolov's user avatar
  • 3,177
1 vote

Does geth compress blockchain?

There are three types of syncronization: Full Sync: Gets the block headers, the block bodies, and validates every element from genesis block. Fast Sync: Gets the block headers, the block bodies, it …
Roman Frolov's user avatar
  • 3,177
2 votes
Accepted

Web3.py EventFilter.get_new_entries() always empty

If I change it to event_filter.get_all_entries() I can see all the transactions. But get_new_entries() doesn't work. Any idea what would be the issue? As I can see from web3.py latest documen …
Roman Frolov's user avatar
  • 3,177
2 votes

Automate mining based on a trigger in Geth

Add --preload "mine_on_demand.js" to your geth command. Add this js file to the folder where the geth is located. mine_on_demand.js: function checkWork() { if (eth.getBlock("pending").transactio …
Roman Frolov's user avatar
  • 3,177
0 votes
Accepted

can i access latest blocks data with geth --fast --rpc?

You will have an access to the latest 1024 blocks like in a Full sync.
Roman Frolov's user avatar
  • 3,177
1 vote

How to know when geth --rpc is finished so i can start mining

As far as I know you don't need geth for ethminer at all. The ethminer is a command line program. This means you launch it either from a Windows command prompt or Linux console, or create shor …
Roman Frolov's user avatar
  • 3,177
0 votes

How to add a wallet to your geth account list

Try importing a keystore file with this command: geth account import <keyfile> You should have it from the registration of new wallet.
Roman Frolov's user avatar
  • 3,177
5 votes
Accepted

Bootstrapping Geth on Ropsten Testnet with Known Nodes

I think you are looking for something like this. geth --testnet --fast --bootnodes "enode://20c9ad97c081d63397d7b685a412227a40e23c8bdc6688c6f37e97cfbc22d2b4d1db1510d8f61e6a8866ad7f0e17c02b14182d37ea7 …
Roman Frolov's user avatar
  • 3,177
0 votes

minimum and maximum block time

TL;DR First, you set difficulty in genesis. Then, you calculate difficulty when you init your block from parent. P.S: I highly suggest ctrl+F difficulty 1. Set difficulty in genesis def genesis(env …
Roman Frolov's user avatar
  • 3,177
4 votes
Accepted

find first transactions to a contract

You can use Etherscan API which gives you ability to list all of the transactions for a specific range of blocks (you can set custom startblock/endblock) https://api.etherscan.io/api?module=account&a …
Roman Frolov's user avatar
  • 3,177
1 vote

web3 contract TypeError: 'apply' is not a function

This should work: var myContract = web3.eth.contract(abi); var myContractInstance = myContract.at("0xcbbfbafedb0eb83016d2a96a4e80d30b20fa3e30"); var result = myContractInstance.apply("4183f3a48d9 …
Roman Frolov's user avatar
  • 3,177
0 votes

Error when trying to create new Solidity contract using Geth

If your error is in geth, then I can recommend you to read this article about Deploying A Smart Contract. Be sure to set your private chain correct, to have account, to have balance >0, to unlockAccou …
Roman Frolov's user avatar
  • 3,177
2 votes

I want to setup an Ethereum Trading website. How should I handle the ETH network transaction...

You should make a set of rules for your users. If you are not going to pay fees by yourself, just add the line to user agreement about possible transaction fees. And be sure to specify the range of tr …
Roman Frolov's user avatar
  • 3,177
2 votes

How to simulate the DAO attack with Truffle and testRPC

Create your contract DAOHack.sol and save it in contracts folder. Create 2_deploy.js migration file and store it in migrations folder. Specify network parameters in truffle.js. Compile contracts by r …
Roman Frolov's user avatar
  • 3,177