Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Update hardcoded headers #8925

Merged
merged 6 commits into from
Jun 22, 2018
Merged

Update hardcoded headers #8925

merged 6 commits into from
Jun 22, 2018

Conversation

Tbaut
Copy link
Contributor

@Tbaut Tbaut commented Jun 19, 2018

No description provided.

Update Kovan to block 7693549
Updated to block #5812225
Update to 3465217
@Tbaut Tbaut added A0-pleasereview 🤓 Pull request needs code review. M2-config 📂 Chain specifications and node configurations. labels Jun 19, 2018
@Tbaut Tbaut requested a review from 5chdn June 19, 2018 13:22
@parity-cla-bot
Copy link

It looks like @Tbaut signed our Contributor License Agreement. 👍

Many thanks,

Parity Technologies CLA Bot

@5chdn 5chdn added this to the 1.12 milestone Jun 19, 2018
Copy link
Contributor

@5chdn 5chdn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

~/.opt/parity Tbaut-update-hardcoded-hdrs
❯ parity --chain ethcore/res/ethereum/foundation.json --light
2018-06-20 08:50:49  Starting Parity/v1.11.3-beta-a66e36b-20180605/x86_64-linux-gnu/rustc1.26.1
2018-06-20 08:50:49  Keys path /home/user/.local/share/io.parity.ethereum/keys/Foundation
2018-06-20 08:50:49  DB path /home/user/.local/share/io.parity.ethereum/chains/ethereum/db/906a34e69aec8c0d
2018-06-20 08:50:49  Path to dapps /home/user/.local/share/io.parity.ethereum/dapps
2018-06-20 08:50:49  Running in experimental Light Client mode.
2018-06-20 08:50:49  Inserting hardcoded block #5812225 in chain
2018-06-20 08:50:55  Public node URL: enode://ac1977d8753fc12dd801e87139c0fd56fed3bac136c8a9cafe4f82e147612f3232266e7f4c74d869722fd26ecefff42496ea7b2225d624d432c123f5f4ed44b8@192.168.137.104:30303
2018-06-20 08:51:10  Syncing #5812225 0x61ed…acc3     0 hdr/s    508+    0 Qed  #5812225    1/50 peers   664 bytes cache 405 KiB queue  RPC:  0 conn,  0 req/s,   0 µs
2018-06-20 08:51:15  Syncing #5814136 0x6135…34ad   382 hdr/s   7025+    0 Qed  #5814136    4/50 peers   1 MiB cache 5 MiB queue  RPC:  0 conn,  0 req/s,   0 µs
2018-06-20 08:51:20  Syncing #5817189 0x3471…4b6a   610 hdr/s   3869+  107 Qed  #5817189    5/50 peers   3 MiB cache 3 MiB queue  RPC:  0 conn,  0 req/s,   0 µs
2018-06-20 08:51:25  Syncing #5817901 0x25f4…7eaf   142 hdr/s   1164+ 2098 Qed  #5817901    5/50 peers   4 MiB cache 3 MiB queue  RPC:  0 conn,  0 req/s,   0 µs
2018-06-20 08:51:32  Imported #5818157 0x1398…6dd8 (7.98 Mgas) + another 255 header(s)
^C2018-06-20 08:51:38  Imported #5818413 0xf3f9…edb6 (6.87 Mgas) + another 255 header(s)

~/.opt/parity Tbaut-update-hardcoded-hdrs 49s
❯ parity --chain ethcore/res/ethereum/kovan.json --light
2018-06-20 08:51:44  Starting Parity/v1.11.3-beta-a66e36b-20180605/x86_64-linux-gnu/rustc1.26.1
2018-06-20 08:51:44  Keys path /home/user/.local/share/io.parity.ethereum/keys/Kovan
2018-06-20 08:51:44  DB path /home/user/.local/share/io.parity.ethereum/chains/kovan/db/9bf388941c25ea98
2018-06-20 08:51:44  Path to dapps /home/user/.local/share/io.parity.ethereum/dapps
2018-06-20 08:51:44  Running in experimental Light Client mode.
2018-06-20 08:51:44  Inserting hardcoded block #7690241 in chain
2018-06-20 08:51:44  Local Account 0x00a3…ea72 has a blacklisted (known to be weak) address and will be ignored
2018-06-20 08:51:48  Imported #7695361 0x4b13…7eb2 (3.61 Mgas) + another 255 header(s)
2018-06-20 08:51:49  Imported #7699201 0xb3fa…cb43 (1.93 Mgas) + another 255 header(s)
2018-06-20 08:51:49  Public node URL: enode://ac1977d8753fc12dd801e87139c0fd56fed3bac136c8a9cafe4f82e147612f3232266e7f4c74d869722fd26ecefff42496ea7b2225d624d432c123f5f4ed44b8@192.168.137.104:30303
2018-06-20 08:51:50  Imported #7702273 0x93bf…f8fd (0.00 Mgas) + another 255 header(s)
2018-06-20 08:51:51  Imported #7703297 0xf322…8f64 (0.02 Mgas) + another 255 header(s)
2018-06-20 08:51:52  Imported #7703809 0xab83…87da (0.08 Mgas) + another 255 header(s)
2018-06-20 08:51:53  Imported #7704321 0xc7b0…24da (1.06 Mgas) + another 255 header(s)
2018-06-20 08:51:54  Imported #7704577 0xc32c…401a (0.08 Mgas) + another 255 header(s)
2018-06-20 08:51:56  Imported #7704833 0x9da8…ae47 (0.57 Mgas) + another 255 header(s)
2018-06-20 08:51:59  Imported #7707272 0xfed4…8e6a (2.54 Mgas)
2018-06-20 08:52:08  Imported #7707273 0x6c29…a5a9 (0.00 Mgas)
^C
~/.opt/parity Tbaut-update-hardcoded-hdrs 31s
❯ parity --chain ethcore/res/ethereum/ropsten.json --light
2018-06-20 08:52:19  Starting Parity/v1.11.3-beta-a66e36b-20180605/x86_64-linux-gnu/rustc1.26.1
2018-06-20 08:52:19  Keys path /home/user/.local/share/io.parity.ethereum/keys/Ropsten
2018-06-20 08:52:19  DB path /home/user/.local/share/io.parity.ethereum/chains/test/db/ae90623718e47d66
2018-06-20 08:52:19  Path to dapps /home/user/.local/share/io.parity.ethereum/dapps
2018-06-20 08:52:19  Running in experimental Light Client mode.
2018-06-20 08:52:19  Inserting hardcoded block #3465217 in chain
2018-06-20 08:52:25  Public node URL: enode://ac1977d8753fc12dd801e87139c0fd56fed3bac136c8a9cafe4f82e147612f3232266e7f4c74d869722fd26ecefff42496ea7b2225d624d432c123f5f4ed44b8@192.168.137.104:30303
2018-06-20 08:52:50     0/50 peers   664 bytes cache 0 bytes queue  RPC:  0 conn,  0 req/s,   0 µs
2018-06-20 08:53:15  Syncing #3465217 0x3b3b…3d48     0 hdr/s      0+    0 Qed  #3465217    1/50 peers   664 bytes cache 0 bytes queue  RPC:  0 conn,  0 req/s,   0 µs
2018-06-20 08:53:20  Syncing #3466022 0x3265…03e3   160 hdr/s   1997+    0 Qed  #3466022    2/50 peers   523 KiB cache 2 MiB queue  RPC:  0 conn,  0 req/s,   0 µs
2018-06-20 08:53:25  Syncing #3468917 0xc0c5…8698   579 hdr/s   4721+    0 Qed  #3468917    2/50 peers   2 MiB cache 4 MiB queue  RPC:  0 conn,  0 req/s,   0 µs
2018-06-20 08:53:30  Syncing #3470799 0x77e3…c8f1   376 hdr/s   2101+  736 Qed  #3470799    2/50 peers   4 MiB cache 2 MiB queue  RPC:  0 conn,  0 req/s,   0 µs
2018-06-20 08:53:33  Imported #3471055 0x62f5…7ac2 (0.52 Mgas) + another 255 header(s)
2018-06-20 08:53:37  Imported #3471311 0x172f…cea1 (0.00 Mgas) + another 255 header(s)
2018-06-20 08:53:42  Imported #3471567 0x6dd5…4fb0 (0.00 Mgas) + another 255 header(s)
2018-06-20 08:53:54  Imported #3471823 0xe80c…7fdb (1.39 Mgas) + another 255 header(s)
2018-06-20 08:53:59  Imported #3472079 0x3305…edf9 (0.02 Mgas) + another 255 header(s)
2018-06-20 08:54:00     2/50 peers   5 MiB cache 1 MiB queue  RPC:  0 conn,  0 req/s,   0 µs
2018-06-20 08:54:04  Imported #3472335 0x43c9…965e (3.37 Mgas) + another 255 header(s)
2018-06-20 08:54:05  Imported #3472847 0x3e42…0360 (0.06 Mgas) + another 255 header(s)
2018-06-20 08:54:10  Syncing #3473642 0xe70a…78bd   105 hdr/s      0+    0 Qed  #3473642    2/50 peers   5 MiB cache 0 bytes queue  RPC:  0 conn,  0 req/s,   0 µs
2018-06-20 08:54:40     1/50 peers   5 MiB cache 0 bytes queue  RPC:  0 conn,  0 req/s,   0 µs
2018-06-20 08:55:10     1/50 peers   5 MiB cache 0 bytes queue  RPC:  0 conn,  0 req/s,   0 µs

@5chdn 5chdn added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jun 20, 2018
"header": "f90216a03b798fd7d7c51f61fdbe7a08d6d2257eea4501c12dfc5442146b85837c0da51fa01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794ea674fdde714fd979de3edf0f56aa9716b898ec8a0a2df7c321f2a532f63cdaf4e234227dd067f3782787db2ac892e875a8cb6842fa0c3a3f2c96c938633c7a99531a3876d544dbb8d5fac06879bea8e3cc5b6ece09da0221863f4a4fa6ca8dc7b6eed0eaefea36a5069f06ba9a61e78b87b634b5e4409b9010000a02080204012000000004100800000c0a08040041160000000740200200148000000000104011040800081808000102001180000000a80000011401020002c14008402000000100014400e20082080400000aa004100000000d10e8a0026180020882008200400a548000000201010088080000c0020800000001004046200600000052004020001800400800400420001800084002c1200040088028840004604020820400000264000005808500400410451c0808020140380c02014000440000002010422080800000240000000048a80072140000400409020020220810010020018008021800280a05008020000400000000044178000008000044410870b075e7ebe9d268353f001837a11f88379cd17845adfefa59565746865726d696e652d6177732d61736961312d32a0c92755fe5da24ea52d89783e387d88e1c2e24ac202641dd9906fc704a88979d28818d4dcc0009d0541",
"totalDifficulty": "3828700463149109414955",
"header": "f90207a0cdaf426b80edd4363b336b351cbfec8c38b44847cdbd814aa92e92bc9ec05333a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347949435d50503aee35c8757ae4933f7a0ab56597805a03f28b2b384dbfd29bc0a10343e8a419e61b92782f880046170bf1d11455e94bba0f3712ef3ff24efe1afc7da11ffb2ca495a94fe7958f42e9f1599d66ed72af13ba06d01d03a15f807da601bd2dfde7490bbe91d9bb11c11eda435db9daad6e7b1efb9010000008c0000c000000000440100108040000082000800000000000000040801001004001000000010000000001000043300001000008000800000002000200040000000580c0004108000040c0008000006000000000280800080000800000000402000000a000000a810226200002881004000208006020000000510030000100040010100000086c20000000009000100000190008c80060000008000202080420008056040000000001000400001100010140822800220000c804004002000108000160001400200088082008000000412100010080205011000000800a0000810021005000000000002840000000400000000880000006000000000200002870bfca554dbc6398358b001837a137083473c8e845b27f4fd86436f72746578a0dbf31fd28bd8f69f1103196e1782a9dfb636bcfa726362ab0767235cb8d56e7188264402501145497f",
"totalDifficulty": "4838383800145139949936",
"CHTs": [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what are CHTs?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@debris I think it is Canonical Hash Trie that the light client is using

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@debris debris merged commit 31b4437 into master Jun 22, 2018
@debris debris deleted the Tbaut-update-hardcoded-hdrs branch June 22, 2018 08:49
5chdn pushed a commit that referenced this pull request Jun 22, 2018
* Update kovan.json

Update Kovan to block 7693549

* Update foundation.json

Updated to block #5812225

* Update ropsten.json

Update to 3465217

* Update ropsten.json

use tabs

* Update foundation.json

use tabs

* Update kovan.json

use tabs
@5chdn 5chdn mentioned this pull request Jun 22, 2018
5chdn added a commit that referenced this pull request Jun 22, 2018
5chdn pushed a commit that referenced this pull request Jun 22, 2018
* Update kovan.json

Update Kovan to block 7693549

* Update foundation.json

Updated to block #5812225

* Update ropsten.json

Update to 3465217

* Update ropsten.json

use tabs

* Update foundation.json

use tabs

* Update kovan.json

use tabs
@5chdn 5chdn mentioned this pull request Jun 22, 2018
10 tasks
5chdn added a commit that referenced this pull request Jun 22, 2018
* parity-version: bump stable to 1.10.8

* Update ropsten.json (#8926)

* Update hardcoded headers (#8925)

* Update kovan.json

Update Kovan to block 7693549

* Update foundation.json

Updated to block #5812225

* Update ropsten.json

Update to 3465217

* Update ropsten.json

use tabs

* Update foundation.json

use tabs

* Update kovan.json

use tabs

* scripts: minor improvements (#8930)

* CI: enable 'latest' docker tag on master pipeline

* CI: mark both beta and stable as stable snap.

* CI: sign all windows binaries

* scripts: remove whisper target not available in stable

* Revert "Update hardcoded headers (#8925)"

This reverts commit e1dc515.

* scripts: fix gitlab strip binaries

* scripts: fix docker build tag on latest using master (#8952)

* rpc: cap gas limit of local calls (#8943)
dvdplm added a commit that referenced this pull request Jun 22, 2018
* master:
  rpc: cap gas limit of local calls (#8943)
  docs: update changelogs (#8931)
  ethcore: fix compilation when using slow-blocks or evm-debug features (#8936)
  fixed blooms dir creation (#8941)
  Update hardcoded headers (#8925)
ordian added a commit to ordian/parity that referenced this pull request Jun 27, 2018
…rp_sync_on_light_client

* 'master' of https://github.com/paritytech/parity:
  deps: bump fs-swap (openethereum#8953)
  Eliminate some more `transmute()` (openethereum#8879)
  Restrict vault.json permssion to owner and using random suffix for temp vault.json file (openethereum#8932)
  print SS.self_public when starting SS node (openethereum#8949)
  scripts: minor improvements (openethereum#8930)
  rpc: cap gas limit of local calls (openethereum#8943)
  docs: update changelogs (openethereum#8931)
  ethcore: fix compilation when using slow-blocks or evm-debug features (openethereum#8936)
  fixed blooms dir creation (openethereum#8941)
  Update hardcoded headers (openethereum#8925)
5chdn added a commit that referenced this pull request Jun 29, 2018
* parity-version: bump beta to 1.11.5

* Update ropsten.json (#8926)

* Update hardcoded headers (#8925)

* Update kovan.json

Update Kovan to block 7693549

* Update foundation.json

Updated to block #5812225

* Update ropsten.json

Update to 3465217

* Update ropsten.json

use tabs

* Update foundation.json

use tabs

* Update kovan.json

use tabs

* scripts: minor improvements (#8930)

* CI: enable 'latest' docker tag on master pipeline

* CI: mark both beta and stable as stable snap.

* CI: sign all windows binaries

* scripts: fix docker build tag on latest using master (#8952)

* rpc: cap gas limit of local calls (#8943)

* snap: downgrade rust to revision 1.26.2, ref snapcraft/+bug/1778530 (#8984)

* snap: downgrade rust to revision 1.26.2, ref snapcraft/+bug/1778530

* snap: use plugin rust

* Fix deadlock in blockchain. (#8977)

* Remove js-glue from workspace

This fixes test error on Rust 1.27 but also prevents js-glue from building itself. Builtin dapp users can still use
js-glue from crates.io.

* Fix Android build on beta (#9003)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M2-config 📂 Chain specifications and node configurations.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants