Paweł Bylica
  • Member for 5 years, 11 months
  • Last seen more than a month ago
Are there readable reference implementations for the cryptographic primitives used by Ethereum?
1 votes

For Keccak the delimitedSuffix should be 0x01 instead of 0x06 in SHA3. So it should look like def Keccak_256(inputBytes): return Keccak(1088, 512, inputBytes, 0x01, 256//8)

View answer
Where to keep ICO tokens?
2 votes

Any token built on the Ethereum platform can be kept on any generic Ethereum wallet. Ethereum-based tokens are regular Ethereum smart contracts so you control them with your Ethereum account by ...

View answer
How to track mining progress on Testnet?
2 votes

You can track block mined by your account on any testnet explorer. E.g. http://testnet.etherscan.io/address/0x8d80fe3a57f2f48bff06db68f3d2c94ea23c88c7#mine. Testnet is the same technology, but ...

View answer
Geth private testnet: what's wrong?
1 votes

Transactions may be dropped for reasons not related to mining. Make sure your transaction is propagated between nodes. check out the logs, check minimum gas price of the nodes (--gasprice option), ...

View answer
Have the curators emptied the whitelist of all splits after the 17 June attack?
Accepted answer
1 votes

The split proposals do not need to be whitelisted so everyone with DAO tokens can attack the DAO to same way the first attack was performed.

View answer
Deployed contract not callable anymore
3 votes

The easiest way to find your contract is to checkout out the account that created the contract in a blockchain explorer. For example, inspecting the account 0x5abfec25f74cd88437631a7731906932776356f9 ...

View answer
How are Ethereum transaction costs calculated?
4 votes

Simple transaction that transfers value but have no additional data and not triggers any EVM code (the recipient is not a smart contract) consumes exactly 21000 units of gas. You just need to know the ...

View answer
Can you solo mine directly to an address you don't have the private key for?
Accepted answer
4 votes

Yes you can. You can set the mining beneficiary (aka etherbase or coinbase) to any address you want, even a one that nobody has a private key of.

View answer
Can a contract know sender's address creation date?
0 votes

This is not possible in general as this information is not available to the Ethereum VM. However, you can create your own contracts that store publicly theirs creation date.

View answer
How to add original account (address) to new mining rig
2 votes

When mining you do not need any account. It is enough to set an address where the reward will go. From geth help: --etherbase "0" Public address for block mining rewards (default = first ...

View answer
How to import a contract in another one without using import but using the address in different files?
1 votes

That is not possible. Importing contracts is exactly the way to inform the compiler that functions the other address have. A pure address may only contains EVM bytecode but it is impossible to ...

View answer
How can I import accounts created by quorumwallet into Ethereum Wallet Mist?
5 votes

You will need to: Recover the private key to the account as described in Quorum Wallet FAQ. seed = String(passphrase) + String(userid); privatekey = PBKDF2(seed, seed, 2000, 32, 'sha256'); Import ...

View answer
Out of Gas invoking precompiled contracts on private blockchains
10 votes

There is a general gas cost rule that states that sending message to any non-existing account costs more than sending message to an existing account. That also applies to the accounts of the ...

View answer
How to generate a DAG for the given epoch with geth?
2 votes

The JavaScript function miner.makeDAG() can be used to generated a DAG for specified block number. geth --exec "miner.makeDAG(0)" console

View answer
Why does a Solidity throw consume all gas?
7 votes

The throw instruction is a EVM hack that reverts all changes made by current contract execution. It exploits exceptional termination of EVM which also consumes all gas.

View answer
Is Coin a reserved word?
Accepted answer
8 votes

The Coin contract is included in the Solidity standard library – a feature from Proof of Concepts times. The standard library includes following contracts: Config, Coin, CoinReg, coin, service, owned,...

View answer
Contracts calling other contracts - setting 'from' field?
Accepted answer
5 votes

Any Ethereum contract (an Ethereum account with EVM code and without private key) controls only its private balance. The contract's balance can be increased by sending a message containing some value ...

View answer
How to import a account from testnet?
5 votes

Go to Ethereum data dir (on Linux ~/.ethereum, on Windows somewhere in AppData). Find folder testnet/keystore. It contains password encrypted private keys. Find the private key file for you account ...

View answer
Is it possible to get contract messages from Geth?
Accepted answer
2 votes

This is not possible in general. Internal calls to other contracts are only part of single transaction execution. However, if a called contract emits logs they are available in transaction receipts.

View answer
How are miners minimum acceptable gas price determined?
Accepted answer
4 votes

Every client can set the minimum gas price of incoming transactions. Transactions with gas price below the limit will not be propagated and included in the pending block. That means that even there ...

View answer
How do I reference a certain structure
Accepted answer
2 votes

var key = Key(_blindedKey, msg.value, msg.sender, false); keys[msg.sender] = key; You can also save some space by not keeping msg.sender in Key as it is already the map key.

View answer
Mining ETH on HD 6950 DAG allocation problem
3 votes

Unfortunately, it might be impossible because of 2GB of RAM. Although current DAG is 1.4 GB in size and should fit the OpenCL implementation might not allow such big allocation for this GPU. You ...

View answer
Do I need to prepare anything for the upcoming homestead release?
-1 votes

Read Homestead Release FAQ on Reddit Ethereum.

View answer
Geth Console - Sleep after mining a block?
Accepted answer
13 votes

You can write a JavaScript script that controls geth's behavior related to mining. There is a simple script that mines only nonempty blocks on go-ethereum wiki. Another one is mine.js script from ...

View answer