Dustin Brickwood
c8d1ceea7b
cleaned up code
2018-05-10 11:58:16 -04:00
Dustin Brickwood
0b20500d54
cleaned up changes
2018-05-10 11:52:57 -04:00
Dustin Brickwood
af59e6aa54
added switch case if gen block alloc is found in db
2018-05-10 11:42:06 -04:00
Dustin Brickwood
d5d0e9fc4a
cleaned up printlns
2018-05-09 16:56:54 -04:00
Dustin Brickwood
cb1f0db4a5
genesis block writing to db
2018-05-09 16:42:42 -04:00
greg
4584f0732b
succesful merge
2018-04-19 12:33:47 -04:00
greg
322b4d3a5b
pre merge
2018-04-19 12:29:31 -04:00
Tim Williams
1363c69454
create initializing scripts for postgres tables and modify write block so it now writes to postgres
2018-04-17 21:41:45 -04:00
greg
4cebc6eb4a
remove old commented code
2018-04-17 14:54:22 -04:00
greg
5f46c2d4a8
Tx getters return values
2018-04-16 16:08:08 -04:00
greg
c3aebc810d
Merge branch 'shyft/greg' into get-all-blocks-function
2018-04-16 14:47:24 -04:00
Tim Williams
37f48c0f73
getallblocks now returns a data structure
2018-04-16 14:37:08 -04:00
Tim Williams
0f7c72f669
add getalldocks fn
2018-04-16 13:47:46 -04:00
greg
c697b3d097
add custom tx method From()
2018-04-16 13:27:01 -04:00
greg
c2bf700bfb
Clean up code, add error checks for most functions
2018-04-15 21:39:38 -04:00
greg
abd663a6b7
Succesfully get ALL TX from the db
2018-04-15 21:15:40 -04:00
Tim Williams
d1c117c525
write block hash to db and be able to query it
2018-04-15 18:35:27 -04:00
greg
309c57d39e
Tx succesfully stored to db
2018-04-15 17:20:47 -04:00
greg
a2d713137c
Removed logs
2018-04-15 16:29:22 -04:00
greg
9c547c6c78
stuffs for tim
2018-04-15 16:07:06 -04:00
Tim Williams
64367817a8
fix merge conflict
2018-04-15 15:53:05 -04:00
Tim Williams
35ef1746b6
cherry-pciked update db config settings
2018-04-15 15:51:12 -04:00
greg
156348b459
succesfully found the contract address
...
"
2018-04-15 15:41:16 -04:00
greg
486d8bbb81
cherry-picked simulation scripts
2018-04-14 11:28:02 -04:00
greg
cfa2588c9d
last commit didnt have the data
2018-04-13 17:38:36 -04:00
Tim Williams
ec7775d2c8
instantiate a new db with the same config as the chaindata db but without data
2018-04-13 16:24:37 -04:00
Tim Williams
fcc66a59ea
add in dummy code
2018-04-13 16:17:26 -04:00
greg
0a827df8a2
Set helpful logs and started shyft db functions
2018-04-13 12:49:31 -04:00
hydai
a063876749
core/asm: fixed typo (labal -> label) ( #16313 )
2018-03-14 11:59:06 +02:00
Martin Holst Swende
4871e25f5f
core/vm: optimize eq, slt, sgt and iszero + tests ( #16047 )
...
* vm: optimize eq, slt, sgt and iszero + tests
* core/vm: fix error in slt/sgt, found by vmtests. Added testcase
* core/vm: make slt/sgt cleaner
2018-03-08 14:48:19 +02:00
Kyuntae Ethan Kim
63687f04e4
core: check transaction/receipt count match when reconstructing blocks ( #16272 )
2018-03-07 12:05:14 +02:00
Péter Szilágyi
2b5d1a4a4c
core: update txpool tests for the removal fix
2018-03-07 10:58:11 +02:00
cui
f8601430fd
core: should enqueue the invalids tx anyway
...
even the pending is empty we shoud enqueue the invalid txs
2018-03-07 10:07:50 +02:00
Péter Szilágyi
bd6879ac51
core/vm, crypto/bn256: switch over to cloudflare library ( #16203 )
...
* core/vm, crypto/bn256: switch over to cloudflare library
* crypto/bn256: unmarshal constraint + start pure go impl
* crypto/bn256: combo cloudflare and google lib
* travis: drop 386 test job
2018-03-05 14:33:45 +02:00
Péter Szilágyi
b7e57ca1d0
cmd/evm, core/vm, internal/ethapi: don't disable call gas metering
2018-03-05 14:01:13 +02:00
Péter Szilágyi
ca64a122d3
eth/downloader: save and load trie sync progress ( #16224 )
2018-03-03 00:52:39 +01:00
Mark Rushakoff
98ec5e5011
core/asm: rename isAlphaNumeric to isLetter ( #16212 )
...
The function would return false for numbers, so isLetter is a more
accurate description of the behavior.
2018-02-28 12:20:07 +02:00
Martin Holst Swende
f83237573f
core: make current*Block atomic, and accessor functions mutex-free ( #16171 )
...
* core: make current*Block atomic, and accessor functions mutex-free
* core: fix review concerns
* core: fix error in atomic assignment
* core/light: implement atomic getter/setter for headerchain
2018-02-26 11:53:10 +02:00
Péter Szilágyi
89f914c030
core: flush out trie cache more meaningfully on stop ( #16143 )
...
* core: flush out trie cache more meaningfully on stop
* core: upgrade legacy tests to chain maker
2018-02-23 14:02:33 +02:00
Martin Holst Swende
44d40ffce1
core, vm, common: define constantinople fork + shift ( #16045 )
...
* core, vm, common: define constantinople fork, start implementation of shift instructions
* vm: more testcases
* vm: add tests for intpool erroneous intpool handling
* core, vm, common: fix constantinople review concerns
* vm: add string<->op definitions for new opcodes
2018-02-23 12:32:57 +02:00
Anton Evangelatov
ae9f97221a
metrics: pull library and introduce ResettingTimer and InfluxDB reporter ( #15910 )
...
* go-metrics: fork library and introduce ResettingTimer and InfluxDB reporter.
* vendor: change nonsense/go-metrics to ethersphere/go-metrics
* go-metrics: add tests. move ResettingTimer logic from reporter to type.
* all, metrics: pull in metrics package in go-ethereum
* metrics/test: make sure metrics are enabled for tests
* metrics: apply gosimple rules
* metrics/exp, internal/debug: init expvar endpoint when starting pprof server
* internal/debug: tiny comment formatting fix
2018-02-23 11:56:08 +02:00
Péter Szilágyi
0b3e23f636
core: yeah, funny file, drop it
2018-02-22 15:41:48 +02:00
ferhat elmas
dc7ca52b3b
core: handle ignored error ( #16065 )
...
- according to implementation of `IntrinsicGas`
we can continue execution since problem will be detected
later. However, early return is future-proof for changes.
2018-02-14 22:02:51 +02:00
ferhat elmas
ff225db813
core/vm: remove unused hashing ( #16075 )
2018-02-14 15:41:05 +02:00
Felix Lange
a5c0bbb4f4
all: update license information ( #16089 )
2018-02-14 13:49:11 +01:00
Felix Lange
b007412db1
core: soften up state memory force-commit log messages ( #16080 )
...
Talk about "state" instead of "trie timing", "trie memory" and remove
the overzealous warning when the limit is just reached. Since the time
limit is always reached on slow machines, move the message to info level
so users don't freak out about internal details.
2018-02-13 15:12:55 +02:00
Péter Szilágyi
69c1f2c2a7
core: force import known but rolled back blocks
2018-02-12 11:54:14 +02:00
Péter Szilágyi
55599ee95d
core, trie: intermediate mempool between trie and database ( #15857 )
...
This commit reduces database I/O by not writing every state trie to disk.
2018-02-05 17:40:32 +01:00
Péter Szilágyi
fdb34b7a7c
Merge pull request #15996 from karalabe/drop-redundant-methods
...
core, eth, les, light: get rid of redundant methods
2018-01-31 12:46:38 +02:00
Martin Holst Swende
017b9f7eac
core, ethdb: reuse database batches ( #15989 )
...
* leveldb: Update leveldb to 211f780 (poolfix)
* core, ethdb: reuse database batches
2018-01-30 19:03:31 +02:00