Péter Szilágyi
a50bccc642
Merge pull request #2134 from karalabe/save-state-writes
...
core/state, trie: don't leak database writes before commit
9 years ago
Péter Szilágyi
fbbedb4c03
Merge pull request #2154 from karalabe/rpc-fixes
...
cmd, eth, rpc: fix some RPC issues with pending blocks
9 years ago
Péter Szilágyi
5da7ec7c18
cmd, eth, rpc: fix some RPC issues with pending blocks
9 years ago
Péter Szilágyi
a8fd0de0d3
Merge pull request #2156 from ppratscher/add_replay_tx
...
core/vm, rpc/api: added debug_replayTransaction RPC call
9 years ago
Péter Szilágyi
2e2f093ec2
Merge pull request #2167 from obscuren/abi-event-fixes
...
account/abi: implements event parsing
9 years ago
Péter Szilágyi
da645f007b
Merge pull request #2166 from obscuren/contrib
...
CONTRIBUTING: Added a feature section
9 years ago
Péter Szilágyi
72c255caef
rpc: allow RPC requests on GET too
9 years ago
Péter Szilágyi
db056eeafe
Merge pull request #2170 from karalabe/fix-miner-registration
...
miner: register newly created remote agent in the API
9 years ago
Péter Szilágyi
9aa7158057
miner: register newly created remote agent in the API
9 years ago
Jeffrey Wilcke
1894c9239f
CONTRIBUTING: Added a feature section
9 years ago
Jeffrey Wilcke
bddf8f76c8
account/abi: implements event parsing
...
Implementation of basic event parsing and its input types. This
separates methods and events and fixes an issue with go type parsing and
validation.
9 years ago
Peter Pratscher
15780ead07
core/vm, rpc/api: renamed to debug.replayTransaction, migrated to new RPC, integrated feedback
...
Integrated code review suggestions
Integrated last review comments
9 years ago
Jeffrey Wilcke
6005dcef5b
Merge pull request #2098 from karalabe/rpc-txpool-queue-inspection
...
core, eth, rpc/api: rpc method to inspect the txpool queue
9 years ago
Péter Szilágyi
d3642b0715
core, eth, rpc/api: rpc method to inspect the txpool queue
9 years ago
Jeffrey Wilcke
f85212aa86
Merge pull request #2146 from fjl/discover-win32-large-packets
...
p2p/discover: fix Windows-specific issue for larger-than-buffer packets
9 years ago
Péter Szilágyi
d951ff300e
Merge pull request #2165 from karalabe/gmp-dep-master-alpine
...
containers/docker/master-alpine: add the legacy gmp lib back for now
9 years ago
Péter Szilágyi
0781fd7aa0
containers/docker/master-alpine: add the legacy gmp lib back for now
9 years ago
Péter Szilágyi
aed25640a4
Merge pull request #2164 from karalabe/add-alpine-images
...
containers: regroup and add Alpine images (31 MB)
9 years ago
Péter Szilágyi
f9b2fd79e8
containers: regroup and add Alpine images (31 MB)
9 years ago
Jeffrey Wilcke
528dcc3814
Merge pull request #2151 from fjl/debug-api
...
internal/debug: APIs for profiling and tracing
9 years ago
Jeffrey Wilcke
ae1a137ce7
Merge pull request #2143 from karalabe/fix-transaction-sort-2
...
core, core/types, miner: fix transaction nonce-price combo sort
9 years ago
Felix Lange
3750d835a1
internal/debug: APIs for profiling and tracing
...
The debug package provides an RPC wrapper for glog settings and the
debugging facilities of the Go runtime. They can be triggered through
both command line flags and the IPC listener.
9 years ago
Felix Lange
e287b56b69
logger/glog: clean up flag getters
9 years ago
Felix Lange
a411fe7e6e
logger/glog: fix TraceLocation.Set("")
9 years ago
Felix Lange
5728dd381d
rpc: fix success response encoding for null return value
...
The "result" field of JSON-RPC 2.0 responses was omitted
if the result was nil, causing exceptions in web3.js.
9 years ago
Jeffrey Wilcke
63e76482ac
Merge pull request #2140 from obscuren/rpc2-console
...
Rpc2 console
9 years ago
Bas van Kervel
19b2640e89
rpc: migrated the RPC insterface to a new reflection based RPC layer
9 years ago
Felix Lange
f2ab351e8d
Merge pull request #2136 from fjl/glog-prefix
...
logger/glog: improve vmodule
9 years ago
Felix Lange
2871781f64
p2p/discover: fix Windows-specific issue for larger-than-buffer packets
...
On Windows, UDPConn.ReadFrom returns an error for packets larger
than the receive buffer. The error is not marked temporary, causing
our loop to exit when the first oversized packet arrived. The fix
is to treat this particular error as temporary.
Fixes : #1579 , #2087
Updates: #2082
9 years ago
Felix Lange
6e6931ef73
Merge pull request #2145 from caktux/develop
...
separate and optimize Dockerfile for master and develop
9 years ago
Péter Szilágyi
a2dc074b1d
core, core/types, miner: fix transaction nonce-price combo sort
9 years ago
caktux
896c134d30
separate and optimize Dockerfile for master and develop
9 years ago
Felix Lange
e4d794851b
node, rpc/api: add debug_vmodule, move admin_verbosity to debug_verbosity
9 years ago
Felix Lange
0edcbc797f
logger/glog: add SetVmodule
9 years ago
Felix Lange
a15b02320e
logger/glog: add directory context to output and vmodule matching
...
This change allows setting the verbosity for directory prefixes
using the syntax:
--vmodule=eth/=6
9 years ago
Jeffrey Wilcke
78f1964095
Merge pull request #2115 from karalabe/vm-debug-storage
...
core/vm: resolve circular dependency to debug vm storage
9 years ago
Jeffrey Wilcke
7b11e94441
Merge pull request #2132 from bas-vk/console-sleep
...
console: add admin.sleep and admin.sleepBlocks
9 years ago
Péter Szilágyi
f3d4ce0d16
core/state, ethdb, trie: test intermediate secure key leak, fix memdb bug
9 years ago
Péter Szilágyi
886478b18b
core/state, trie: don't leak database writes before commit
9 years ago
Felix Lange
e7f6798b59
Merge pull request #2130 from bas-vk/nodeinfo-format
...
Nodeinfo format Genesis and Header
9 years ago
Bas van Kervel
cdd34fcb16
console: add admin.sleep and admin.sleepBlocks
9 years ago
Bas van Kervel
6e7620afe0
eth: changed NodeInfo Genesis and Head types
9 years ago
Jeffrey Wilcke
5945a33350
Merge pull request #2119 from karalabe/statedb-batch-commit
...
core/state: always commit in batches, just finish if not needed later
9 years ago
Péter Szilágyi
2d5d6d9d0e
core/state: always commit in batches, just finish if not needed later
9 years ago
Péter Szilágyi
752c75fb21
core/vm: resolve circular dependency to debug vm storage
9 years ago
Felix Lange
1b8566a7b1
Merge pull request #2114 from karalabe/chain-maker-state-remake
...
core: fix invalid state reuse in chain maker based tests
9 years ago
Péter Szilágyi
e5b480b638
core: fix invalid state reuse in chain maker based tests
9 years ago
Felix Lange
0ab8a175d8
Merge pull request #2110 from LefterisJP/determining_home_for_ubuntu_core
...
common: Fix HomeDir detection
9 years ago
Lefteris Karapetsas
e2fdd33541
common: Fix HomeDir detection
...
I am working on porting geth to [Ubuntu Core](https://developer.ubuntu.com/en/snappy/https://developer.ubuntu.com/en/snappy/ ). I am testing geth on a Raspberry PI and for Ubuntu Core the $HOME directory is unique for each application. See [here](https://developer.ubuntu.com/en/snappy/guides/filesystem-layout ) for more information of their filesystem layout.
For some reason in Go `usr.HomeDir` returns a different value than `$HOME` in Ubuntu Core.
Adding this at the end of `HomeDir()`
```go
fmt.Printf("at HomeDir, user.HomeDir = %s and $HOME is %s\n", usr.HomeDir, os.Getenv("HOME"))
```
gives the following output
```
at HomeDir, user.HomeDir = /home/ubuntu and $HOME is /home/ubuntu/apps/geth.sideload/IJcODREBYbHO
```
With this commit, I propose giving precedence to the `$HOME` environment variable as is also suggested by the [homedir](https://github.com/mitchellh/go-homedir/blob/master/homedir.go ) project.
9 years ago
Jeffrey Wilcke
32226f1b0c
Merge pull request #2097 from karalabe/block-state-checks
...
core, eth/downloader: ensure state presence in ancestor lookup
9 years ago