Felix Lange
bf48ed32dd
metrics: fix file descriptor leak when reading disk stats on linux
...
The disk stats file was not closed after reading.
2015-08-03 16:27:36 +02:00
Felix Lange
ba14957cf3
rpc/comms: use ConnState to track HTTP connections
...
The JSON-RPC server wraps TCP connections in order to be able to shut
down them down when RPC is stopped. This is rather scary code. Go 1.3
introduced the http.Server.ConnState hook for such purposes. We can use
this facility now that we depend on Go 1.4.
There are multiple reasons for the switch apart from making the code
less scary:
* the TCP listener no longer ticks every second to check a channel
* pending requests are allowed to finish after stopping the server
* we can time out idle keep-alive connections
2015-08-03 16:27:36 +02:00
Jeffrey Wilcke
97cdf84899
Merge pull request #1479 from tgerring/ethtest
...
Update ethtest default path for BlockTests
2015-08-03 07:18:48 -07:00
Jeffrey Wilcke
98db08c42f
Merge pull request #1548 from fjl/accounts-test-deflake
...
accounts: bump timeout in TestSignRace
2015-08-03 07:16:36 -07:00
Jeffrey Wilcke
cc6c5846e5
Merge pull request #1568 from obscuren/issue-1559
...
core: added a running flag to prevent panics in the chainmanager
2015-08-03 07:15:19 -07:00
Jeffrey Wilcke
db988a46dd
Merge pull request #1569 from obscuren/default-genesis
...
core: added default genesis block
2015-08-03 04:49:30 -07:00
Jeffrey Wilcke
7a75da63c6
core: added default genesis block
...
When a user runs a freshly setup geth w/o a database initialised the
default genesis block is decoded and inserted in to the database.
2015-08-02 01:23:02 +02:00
Jeffrey Wilcke
33efb3381c
Merge pull request #1461 from bas-vk/eth_resend
...
Old transaction after resend was not removed from pool
2015-08-01 16:18:54 -07:00
Felix Lange
5aec1d94ad
accounts: bump timeout and spin less in TestSignRace
...
This should fix the flakeyness.
2015-08-02 00:49:53 +02:00
Jeffrey Wilcke
a8b39b5cc0
Merge pull request #1541 from bas-vk/issue1518
...
Improved error handling for NewTransactionFromBytes
2015-08-01 08:47:32 -07:00
Jeffrey Wilcke
acd2c4e520
core: added a running flag to prevent panics in the chainmanager
...
The running flag will determine whether the chain manager is still
running or not. This will prevent the quit channel from being closed
twice resulting in a panic. This PR should fix this issue.
Closes #1559
2015-08-01 12:32:28 +02:00
Jeffrey Wilcke
ab85a3593a
Merge pull request #1545 from obscuren/log-index
...
core/state: Set log index. Closes #1226
2015-07-31 10:36:42 -07:00
Jeffrey Wilcke
c1c06fffcb
Merge pull request #1561 from karalabe/add-missing-autocompletes
...
rpc/api: add missing autocomplete commands
2015-07-31 03:09:08 -07:00
Péter Szilágyi
0d3a8ad6dd
rpc/api: add missing autocomplete commands
2015-07-31 12:46:16 +03:00
Jeffrey Wilcke
4231de3914
Merge pull request #1553 from prusnak/develop
...
remove elliptic.P224 usage
2015-07-30 03:59:25 -07:00
Pavol Rusnak
3f07afbbd2
remove elliptic.P224 usage
...
Fedora/RedHat distros comply with US patent law and remove this curve,
which makes it impossible to run ethereum with distro provided Golang.
File crypto/ecies/README claims it is unsupported anyway.
2015-07-30 12:47:45 +02:00
Jeffrey Wilcke
64e2f52c2e
Merge pull request #1534 from obscuren/issue-1040
...
rpc: to in eth_call no longer required. Fixed eth_estimateGas
2015-07-30 03:25:47 -07:00
Jeffrey Wilcke
d261c3f455
rpc: to in Call no longer required. Fixed eth_estimateGas
2015-07-29 15:12:12 +02:00
Jeffrey Wilcke
e7f4232b10
Merge pull request #1544 from karalabe/fix-stall-detector
...
eth, eth/downloader: don't report stall if fetcher filled the block
2015-07-29 06:11:43 -07:00
Jeffrey Wilcke
f715547fc7
core/state: Set log index. Closes #1226
2015-07-29 15:08:59 +02:00
Jeffrey Wilcke
fa286688ab
Merge pull request #1546 from obscuren/tests-update
...
tests: updated
2015-07-29 06:07:19 -07:00
Jeffrey Wilcke
03c39d4fc0
tests: updated
2015-07-29 15:01:42 +02:00
Péter Szilágyi
6adbaabc65
eth, eth/downloader: don't report stall if fetcher filled the block
2015-07-29 15:39:08 +03:00
Bas van Kervel
81e2124ea2
improved error detection and handling for NewTransactionFromBytes
...
integrated review comments
2015-07-29 10:30:00 +02:00
Jeffrey Wilcke
cc27be9d44
Merge pull request #1543 from enriquefynn/develop
...
FreeBSD support
2015-07-28 16:20:13 -07:00
Fynn
7065ebd2ed
FreeBSD support
2015-07-28 19:16:16 -03:00
Jeffrey Wilcke
a281df783d
Merge pull request #1533 from ethersphere/frontier/etherbase
...
Etherbase defaults to first account even if it is created during the session
2015-07-28 05:11:43 -07:00
Jeffrey Wilcke
1fad8798ec
Merge pull request #1515 from fjl/license-fixes
...
all: fix license headers one more time
2015-07-28 04:29:42 -07:00
Bas van Kervel
7e31df3987
bugfix, pending transaction was resend with new gas price/limit but not removed from transaction pool
2015-07-28 10:42:31 +02:00
Felix Lange
572e78cee0
Merge pull request #1536 from fjl/fix-go1.5-build
...
crypto: fix build with Go 1.5
2015-07-28 00:59:52 +02:00
Felix Lange
453d2c9ce1
crypto: fix build with Go 1.5
2015-07-27 19:13:45 +02:00
zelig
1356daad27
etherbase defaults to first account even if created during the session
2015-07-27 10:50:29 +02:00
Jeffrey Wilcke
d18d256442
Merge pull request #1529 from obscuren/extra-data-fix
...
core: genesis extra data field fix
2015-07-26 15:15:36 -07:00
Jeffrey Wilcke
3530acb9e2
core: genesis extra data field fix
2015-07-26 14:44:54 +02:00
Jeffrey Wilcke
8a5ea466e4
Merge pull request #1528 from obscuren/reduce-extra-data
...
params: reduce extra data to 32 bytes & target block time
2015-07-26 04:04:10 -07:00
Jeffrey Wilcke
1e241e84f7
params: reduce extra data to 32 bytes
2015-07-26 12:47:57 +02:00
Jeffrey Wilcke
e86233abc9
Merge pull request #1525 from obscuren/genesis-write-fix
...
core: fixed genesis write out to write only canon number
2015-07-25 13:13:27 -07:00
Jeffrey Wilcke
c1c895a36b
core: fixed genesis write out to write only canon number
2015-07-25 21:48:53 +02:00
Jeffrey Wilcke
73a576c9af
Merge pull request #1524 from obscuren/default-extra
...
eth: set default miner extra to client name
2015-07-25 08:58:08 -07:00
Jeffrey Wilcke
665eaff9b9
Merge pull request #1520 from obscuren/reward-5eth
...
core: 5 ether block reward
2015-07-25 08:57:33 -07:00
Jeffrey Wilcke
9afda6ab8c
core: 5 ether block reward
2015-07-25 17:47:20 +02:00
Jeffrey Wilcke
3adaeb1dbc
eth: set default miner extra to client name
2015-07-25 17:36:56 +02:00
Jeffrey Wilcke
0efcd7ed05
Merge pull request #1521 from obscuren/client-update
...
cmd/geth, core, eth: Version 1.0.0
2015-07-25 08:36:04 -07:00
Jeffrey Wilcke
4019e2a6f2
Merge pull request #1497 from obscuren/remove-rle
...
ethdb, trie: removed RLE compression
2015-07-25 08:35:40 -07:00
Jeffrey Wilcke
f6097f4a0a
Merge pull request #1522 from obscuren/genesis-block-check
...
core: check genesis block before writeout
2015-07-25 08:10:08 -07:00
Jeffrey Wilcke
d4428cc77f
Merge pull request #1523 from obscuren/lower-gasprice
...
cmd/util: lowered default gas price
2015-07-25 08:09:55 -07:00
Jeffrey Wilcke
ba15f9d282
cmd/util: lowered default gas price
2015-07-25 17:03:10 +02:00
Jeffrey Wilcke
0c718afe90
core: check genesis block before writeout
2015-07-25 16:53:35 +02:00
Jeffrey Wilcke
036e6301af
cmd/geth, core, eth: Version 1.0.0
...
Genesis release. Closes #1402
Conflicts:
cmd/geth/main.go
2015-07-25 13:55:56 +02:00
Jeffrey Wilcke
6cffa743ee
Merge pull request #1519 from obscuren/develop
...
web3: updated 0.9.1
2015-07-25 04:06:43 -07:00