All Questions
14 questions
30
votes
2
answers
5k
views
What is the merit of creating new smart contract languages like Solidity instead of using other languages?
What is the pros and cons of creating new languages like Solidity for smart contracts instead of using other computer languages like Golang or Python?
3
votes
1
answer
2k
views
Dangling hash node ref: too many open files
I'm running two supernodes with the geth client. At peak times they have 500-800 connections and handle around 16GB traffic per hour.
This is how I run the node:
geth --networkid "1" --identity "...
13
votes
5
answers
23k
views
why did it returned null after call miner.start()
> miner.start()
> null
before it , I had created a account like this .
user1 = eth.accounts[0]
"0xb62f0bae52d153365661c4e23ab1d594484e9bef"
8
votes
2
answers
6k
views
LevelDB in Geth, key and values
When parsing through the levelDB or RocksDB (Depending on the client you are using) there are string values representing the key and the value. These are both stored as Byte arrays as well.
My ...
11
votes
6
answers
16k
views
How to decode input data with ABI using golang?
There is a tool on npm ethereum-input-data-decoder. And yes, i can read input data as hex.
And i hope that i can decode transaction's inputdata using golang.
For example ...
3
votes
1
answer
3k
views
How to install solc of a specific version?
I want to install solc 0.4.24 but the commands given below installs the new version.
sudo add-apt-repository ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install solc
Or
sudo snap install ...
3
votes
1
answer
481
views
Are there Ethereum API wrappers?
I'm looking into developing some Go software on Ethereum and I'm wondering - are there any API wrappers around for Ethereum (something like BTCSuite's BTCRPCClient is for Bitcoin)? I know there is a ...
3
votes
2
answers
1k
views
Geth 1.6.1 hangs throwing "unexpected fault address" fatal error
Since upgraded to version 1.6.1, Geth node hangs form time to time (once a week) with following fatal error:
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x1 addr=0x7f6453b72c88 pc=...
3
votes
2
answers
1k
views
Verified go signature in solidity (EIP712 TypedData)
I am trying to recover the signer of a TypedData message (eip712).
I am able to sign and verify with ethersJS and validate in the contract as well.
With Go, I can sign and verify as well but the ...
2
votes
1
answer
323
views
How to modify the gasLimit of the private block chain on the console
as the title,How to modify the "gasLimit" of the private block chain on the console?
2
votes
1
answer
718
views
How to setup the account manager type to sign transactions in Go?
TL;DR:
I've setup a private Ethereum node, and I want to send a signed transaction to it. By reading the docs I know that there's an account Manager type which can access a Wallet type which has a ...
2
votes
1
answer
3k
views
ethereumjs-abi equivalent for Golang?
ethereumjs-abi is great for easily ABI encoding and decoding in javascript. Is there an equivalently simple package for Golang?
Geth's accounts/abipackage does this, but there's a lot of setup and it'...
1
vote
0
answers
411
views
How to configure Geth for accepting future transactions without full sync?
I need to monitor a future (also known as pending or unconfirmed) transactions.
First of all, let's start with the source code. In the core/tx_pool.go let's configure logging a little. Replace
log....
0
votes
3
answers
666
views
How can I query the onchain data on the ethereum blockchain without using any APIs?
I want to get all the onchain data available on the Ethereum blockchain about an NFT from its contract address and tokenID. Like its metadata, the current owners, its last price, etc.
How can I do ...