Marius Kjærstad
b295b5eac7
metrics: change links in README.md to https ( #20182 )
2019-12-03 13:00:41 +01:00
Marius Kjærstad
7e7e07dba8
dashboard: change links in README to https ( #20181 )
...
Changed http:// to https:// on links in dashboard/README.md
2019-12-03 13:00:30 +01:00
Marius Kjærstad
e184b8e97e
Changed http:// to https:// on links in log/README.md ( #20178 )
...
docs: change http to https on links in log/README.md
2019-12-03 13:00:09 +01:00
Jeffery Robert Walsh
0d156f960a
README: use new miner threads flag instead of legacy minerthreads flag ( #20165 )
2019-12-03 12:59:57 +01:00
Ross
c2806ceae7
p2p/simulations: add node properties support and utility functions ( #20060 )
2019-12-03 12:59:45 +01:00
Felix Lange
f1b4fe6e49
p2p/dnsdisc: update to latest EIP-1459 spec ( #20168 )
...
This updates the DNS TXT record format to the latest
changes in ethereum/EIPs#2313 .
2019-12-03 12:59:27 +01:00
Martin Holst Swende
ac2325978a
cmd/utils: fix command line flag resolve ( #20167 )
...
In Geth, we have two sources for configuration:
(1) Config file
(2) Command line flag
Basically geth will first resolve config file and then overwrite
configs with command line flags.
This issue is: geth should only overwrite configs if flags are truly
set. So before we apply any flag to configs, `GlobalIsSet` check
is necessary.
2019-12-03 12:59:09 +01:00
gary rong
aae4f616e4
cmd/utils: fix command line flag resolve ( #20167 )
...
In Geth, we have two sources for configuration:
(1) Config file
(2) Command line flag
Basically geth will first resolve config file and then overwrite
configs with command line flags.
This issue is: geth should only overwrite configs if flags are truly
set. So before we apply any flag to configs, `GlobalIsSet` check
is necessary.
2019-12-03 12:53:06 +01:00
Felix Lange
17fb199c46
params: begin v1.9.7 release cycle
2019-12-03 12:50:50 +01:00
Igor Mandrigin
1f478afcd4
add diff file
2019-12-03 12:50:07 +01:00
Andrew Ashikhmin
8e5e5d881f
Issue 123 Make encoding of ChangeSet ordered by keys and binary-searchable ( #207 )
2019-12-03 12:13:12 +01:00
Alex Sharov
4678b6b36f
Merge pull request #215 from ledgerwatch/210_rpcdemon_getBlockByNumber
...
rpcdemon get block by number
2019-12-03 10:35:11 +07:00
alex.sharov
2f079dcf75
Readme.md
2019-12-03 09:07:33 +07:00
alex.sharov
33c52363ee
totalDifficulty - consistent calculation
2019-12-03 09:07:33 +07:00
alex.sharov
330060d382
ignore *.http files - I using them to store http requests
2019-12-03 09:07:33 +07:00
alex.sharov
4d8c1a8ec1
remove debug
2019-12-03 09:07:33 +07:00
alex.sharov
570d3b79d7
initial implementation of eth_GetBlockByNumber, for now I did copy much functions from eth source because we may need max flexibility for benchmarks of rpcdaemon
2019-12-03 09:07:33 +07:00
Alexey Akhunov
f7b6b524fe
Fix memprofile/cpuprofile confusion
2019-12-03 09:07:33 +07:00
Alexey Akhunov
1cd328d152
Fix lint
2019-12-03 09:07:21 +07:00
Alexey Akhunov
335ef77249
First working RPC command eth_blockNumber
2019-12-03 09:07:21 +07:00
Alexey Akhunov
95ca76e440
Fix lint
2019-12-03 09:07:13 +07:00
Alexey Akhunov
2026f74f04
Fix CLI
2019-12-03 09:07:13 +07:00
Alexey Akhunov
b2ba410ba5
Add remoteDb listener and RPC daemon CLI
2019-12-03 09:05:36 +07:00
ledgerwatch
8cb96471a3
Skeleton of RPC daemon, for 1 operation eth_blockNumber ( #209 )
...
* Finish CmdSeek and add CmdNext
* Add remoteDb listener and RPC daemon CLI
* Fix test
* Fix CLI
* Fix lint
* Fix unreachable code
* Fix lint
* First working RPC command eth_blockNumber
* Fix lint
* Fix lint
* Fix memprofile/cpuprofile confusion
* Add comment
2019-12-02 13:47:00 +00:00
ledgerwatch
df27f63e01
Database Walkthrough documentation (beginning) and tweaks to the visualisations ( #214 )
...
* Improve visualisations of the db comparision
* Initial db walkthrough doc
* More docs
* Fix lint
2019-12-02 13:11:56 +00:00
Evgeny Danilenko
ce1c14809b
deadlock-fix ( #206 )
2019-11-27 16:49:05 +00:00
ledgerwatch
a521aef296
Run archive node by default ( #204 )
...
* Make archive mode default again
* Fix test
* Remove bad file
* Change default of NoHistory to false
2019-11-27 15:50:40 +00:00
Igor Mandrigin
ebae2fe281
Add --noverify
flag to /cmd/state to skip roots check. ( #205 )
2019-11-27 14:52:22 +01:00
Andrew Ashikhmin
84285a5ab1
Roughly finish with adding BadgerDB (first cut) ( #203 )
...
* Bumping GOMAXPROCS for Badger
* fixes related to database size
* Schedule GC for Badger
* pacify linter
* Don't start GC for ephemeral Badger
* Don't log "Value log GC attempt didn't result in any cleanup"
* Start GC in backround
* Bump GC period and IdealBatchSize for Badger
* BadgerDatabase RewindData
* Boolean badger flag -> string database flag
* cosmetic change
2019-11-27 13:15:25 +00:00
Igor Mandrigin
4fb54a7b82
Write proper stats to the CSV file; restore charting capabilities. ( #201 )
2019-11-26 14:29:41 +01:00
Igor Mandrigin
ac085db07d
Use 'cobra' package to make a more modular CLI for stateless ethereum prototype. ( #200 )
2019-11-25 14:46:36 +01:00
ledgerwatch
b9b4904e8d
First steps for RPC deamon (remote DB access) ( #199 )
...
* Remote DB initial commit
* Fix lint
* Fix lint
* Fix lint
2019-11-25 13:39:32 +00:00
ledgerwatch
5f667d3225
Further fix to calculation of state root without modification of the trie ( #192 )
...
* Fix
* Minimize changes
2019-11-25 13:37:34 +00:00
ledgerwatch
b2ca635d86
Debug tool for recursively comparing state (in DB or in a file) with geth archive node ( #191 )
...
* Fetching results of eth_getProof
* Dump 5 levels of the trie in a file for repeated runs
* Drill down to 6 levels of the trie
* Fix lint
* Fix lint
* Fix lint
* verifySnapshot to check accounts with emptyRoot
* Descend into short nodes
* Latest tool fixes
* Fix lint
* Fix state properly working
2019-11-25 13:36:21 +00:00
Evgeny Danilenko
992e34745c
Replace red black trees ( #184 )
...
* use map instead of rb tree
* GetModifiedAccounts
* introduce tuples
* linters
* linters
* init puts
* init maps
* remove GetSortedKeys
* fix string bucket case
* use append in tuples
* fix tuples
* fix tests
* all tests are green
* fmt
* fmt
* rename tuple to tuples
2019-11-21 18:38:00 +00:00
Evgeny Danilenko
f2081b3591
In case of termination errors should be returned ( #175 )
...
* return errors
* fmt
2019-11-21 18:37:33 +00:00
ledgerwatch
244d70fb9c
Further fixes for the no-mod-root ( #186 )
...
* Further fixes
* Repace 1000 with a symbol
2019-11-21 15:56:39 +00:00
Andrew Ashikhmin
1c0cf9be72
BadgerDB: MultiWalk & some other APIs, command line flag, scaffolding for testing ( #183 )
...
* BadgerDatabase MemCopy
* fix err shadowing
* BadgerDatabase MultiPut & NewBatch
* Remove goOn from MultiWalk & MultiWalkAsOf
* BadgerDatabase MultiWalk. Scaffolding for testing Badger in blockchain_test
* Badger Flag
* fix error logging
* Split IdealBatchSize between BoltDB and BadgerDB
* NewEphemeralBadger
2019-11-21 16:12:38 +01:00
Igor Mandrigin
aa71b298cc
Write tape stats to a csv file. ( #185 )
2019-11-21 15:09:21 +01:00
Igor Mandrigin
f97578bb04
Use ethdb.Database
interface to generate snapshots. ( #182 )
2019-11-21 14:57:44 +01:00
Igor Mandrigin
f4cda8ba4c
Fix snapshot saving and add an interval setting. ( #181 )
2019-11-21 14:36:24 +01:00
Giulio rebuffo
21c981eb84
HexToQuad fixed in trie/visual.go ( #173 )
2019-11-19 07:48:08 +00:00
ledgerwatch
c187d80152
Preparations for computing root without modifying the trie ( #172 )
...
Preparations for computing root without modifying the trie
2019-11-15 22:48:49 +00:00
Igor Mandrigin
7fd4b0431b
refactor trie package a bit ( #171 )
...
* Refactor `structural*` files.
* some refactor
* dry hashbuilder a bit
* rename constants back to the magic rlp values
2019-11-15 17:50:16 +01:00
ledgerwatch
f70252e121
Merge pull request #167 from ledgerwatch/statelesss_resolver
...
Prine tries (in memory) in the same cycle as db commits
2019-11-15 16:02:51 +00:00
Evgeny Danilenko
03dd91d4e6
Merge pull request #158 from ledgerwatch/fix-data-races
...
Fix data races and goroutine leaks
2019-11-15 17:25:32 +03:00
Evgeny Danilenko
cdd0b95d5a
Merge pull request #169 from ledgerwatch/red-tests-#111
...
Tests for inserting incorrect root hash blocks
2019-11-15 17:25:05 +03:00
Evgeny Danienko
653d952722
fix dep
2019-11-15 17:13:36 +03:00
Igor Mandrigin
50bb08d08d
Don't store RLPs in valueNodes (except tests).
2019-11-15 13:31:09 +01:00
Evgeny Danienko
3cc627421f
Merge branch 'master' into fix-data-races
2019-11-15 15:22:22 +03:00