Felix Lange
90cd8ae9f2
rpc/api: don't crash for unknown blocks
...
Most eth RPC calls that work with blocks crashed when the block was not
found because they called Hash on a nil block. This is a regression
introduced in cdc2662c40
(#1779 ).
While here, remove the insane conversions in get*CountBy*. There is no
need to construct a complete BlockRes and converting
int->int64->*big.Int->[]byte->hexnum->string to format the length of a
slice as hex.
9 years ago
Péter Szilágyi
d4d3fc6a70
jsre, rpc/api: pull in new web3 and use hex numbers
9 years ago
Péter Szilágyi
0a7d059b6a
eth, rpc: standardize the chain sync progress counters
9 years ago
Péter Szilágyi
cdc2662c40
core: split out TD from database and all internals
9 years ago
Gustav Simonsson
d9addf79fa
Improve error string and remove unneeded else clause
9 years ago
Gustav Simonsson
829201382b
rpc: return error code for eth_getWork when no work ready
9 years ago
Jeffrey Wilcke
8839fee415
rpc/api: return boolean value for eth_submitHashrate
9 years ago
Jeffrey Wilcke
c32073b11f
miner, rpc: added submit hashrate for remote agents
9 years ago
Jeffrey Wilcke
d261c3f455
rpc: to in Call no longer required. Fixed eth_estimateGas
9 years ago
Bas van Kervel
7e31df3987
bugfix, pending transaction was resend with new gas price/limit but not removed from transaction pool
9 years ago
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
9 years ago
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
9 years ago
Felix Lange
ea54283b30
all: update license information
10 years ago
Jeffrey Wilcke
666a7dda36
core, eth, rpc: proper gas used. Closes #1417
...
Added some additional backward compatibility code for old receipts
10 years ago
Taylor Gerring
30afd37604
Compose additional fields
10 years ago
Taylor Gerring
3be9046c21
Rename local variable for clarity
10 years ago
Taylor Gerring
80eb8f46b7
Fix hex conversion
10 years ago
Taylor Gerring
3a983d2419
Initial getTransactionReceipt support
10 years ago
Bas van Kervel
a5d5387dee
rebase with develop
10 years ago
Bas van Kervel
7ffabf1d39
add json parsing method for resend transaction
10 years ago
Bas van Kervel
6fdddc5ac9
improved error handling in parsing request
10 years ago
Bas van Kervel
ec866b066a
added eth.resend
10 years ago
Bas van Kervel
056e9dd393
added eth.pendingTransactions
10 years ago
Felix Lange
7098ec691c
rpc: unmask pending block fields
...
This pleases the RPC tests.
10 years ago
Bas van Kervel
f9264e87ec
add json parsing method for resend transaction
10 years ago
Bas van Kervel
a355777ff8
improved error handling in parsing request
10 years ago
Bas van Kervel
dc58568a25
added eth.resend
10 years ago
Bas van Kervel
f1a4a6e563
added eth.pendingTransactions
10 years ago
Bas van Kervel
6d596b1ad1
fixed eth sign unittest
10 years ago
Bas van Kervel
2e0b56a72b
added RPC start/stop support
10 years ago
Bas van Kervel
f87501b1c5
added batch support to console and attach actions
10 years ago
Bas van Kervel
3e1d635f8d
fixed rpc test failure in eth.blockNumber
10 years ago
SilentCicero
7ec8c257ff
New DataArgs and eth_sendRawTransaction
10 years ago
Nick Dodson
2642e091e9
NewSigArgs arg change.
10 years ago
obscuren
2628103f1d
rpc/api: fixed default gas-(price) issue.
10 years ago
Nick Dodson
c3b80123e3
Update eth.go
10 years ago
SilentCicero
d6233c7d2d
Changed variable names
10 years ago
zsfelfoldi
b42b70eb5f
fixed rpc/api.GasPrice
10 years ago
SilentCicero
f9a0a13fa9
eth_pushTx send raw signed encoded TX data to the chain through RPC
10 years ago
Bas van Kervel
348f1562e2
restructured eth rpc API
10 years ago
Bas van Kervel
cc9ae39933
added admin API
10 years ago
Bas van Kervel
a1a475fb92
added console command
10 years ago
Bas van Kervel
2f55a1d798
restructured eth rpc API
10 years ago