good morning!!!!

Skip to content
Snippets Groups Projects
  1. Dec 03, 2020
  2. Nov 30, 2020
  3. Nov 25, 2020
  4. Nov 24, 2020
    • Marius van der Wijden's avatar
      cmd/devp2p/internal/ethtest: add 'large announcement' tests (#21792) · 59b480ab
      Marius van der Wijden authored
      * cmd/devp2p/internal/ethtest: added large announcement tests
      
      * cmd/devp2p/internal/ethtest: added large announcement tests
      
      * cmd/devp2p/internal/ethtest: refactored stuff a bit
      
      * cmd/devp2p/internal/ethtest: added TestMaliciousStatus/Handshake
      
      * cmd/devp2p/internal/ethtest: fixed rebasing issue
      
      * happy linter, happy life
      
      * cmd/devp2p/internal/ethtest: used readAndServe
      
      * stuff
      
      * cmd/devp2p/internal/ethtest: fixed test cases
      59b480ab
  5. Nov 04, 2020
    • rene's avatar
      cmd/devp2p/internal/ethtest: add correct chain files and improve test output (#21782) · 36bb7ac0
      rene authored
      
      This PR replaces the old test genesis.json and chain.rlp files in the testdata
      directory for the eth protocol test suite, and also adds documentation for
      running the eth test suite locally.
      
      It also improves the test output text and adds more timeouts.
      
      Co-authored-by: default avatarFelix Lange <fjl@twurst.com>
      36bb7ac0
    • Felix Lange's avatar
      cmd/devp2p, internal/utesting: implement TAP output (#21760) · 5d20fbbb
      Felix Lange authored
      TAP is a text format for test results. Parsers for it are available in many languages,
      making it easy to consume. I want TAP output from our protocol tests because the
      Hive wrapper around them needs to know about the test names and their individual
      results and logs. It would also be possible to just write this info as JSON, but I don't
      want to invent a new format.
      
      This also improves the normal console output for tests (when running without --tap).
      It now prints -- RUN lines before any output from the test, and indents the log output
      by one space.
      5d20fbbb
  6. Oct 23, 2020
  7. Oct 14, 2020
  8. Oct 07, 2020
  9. Sep 24, 2020
  10. Sep 23, 2020
  11. Sep 22, 2020
  12. Aug 04, 2020
  13. Jul 07, 2020
  14. Jun 24, 2020
  15. May 19, 2020
  16. Apr 09, 2020
    • Raw Pong Ghmoa's avatar
      cmd: deprecate --testnet, use named networks instead (#20852) · 15540ae9
      Raw Pong Ghmoa authored
      * cmd/utils: make goerli the default testnet
      
      * cmd/geth: explicitly rename testnet to ropsten
      
      * core: explicitly rename testnet to ropsten
      
      * params: explicitly rename testnet to ropsten
      
      * cmd: explicitly rename testnet to ropsten
      
      * miner: explicitly rename testnet to ropsten
      
      * mobile: allow for returning the goerli spec
      
      * tests: explicitly rename testnet to ropsten
      
      * docs: update readme to reflect changes to the default testnet
      
      * mobile: allow for configuring goerli and rinkeby nodes
      
      * cmd/geth: revert --testnet back to ropsten and mark as legacy
      
      * cmd/util: mark --testnet flag as deprecated
      
      * docs: update readme to properly reflect the 3 testnets
      
      * cmd/utils: add an explicit deprecation warning on startup
      
      * cmd/utils: swap goerli and ropsten in usage
      
      * cmd/geth: swap goerli and ropsten in usage
      
      * cmd/geth: if running a known preset, log it for convenience
      
      * docs: improve readme on usage of ropsten's testnet datadir
      
      * cmd/utils: check if legacy `testnet` datadir exists for ropsten
      
      * cmd/geth: check for legacy testnet path in console command
      
      * cmd/geth: use switch statement for complex conditions in main
      
      * cmd/geth: move known preset log statement to the very top
      
      * cmd/utils: create new ropsten configurations in the ropsten datadir
      
      * cmd/utils: makedatadir should check for existing testnet dir
      
      * cmd/geth: add legacy testnet flag to the copy db command
      
      * cmd/geth: add legacy testnet flag to the inspect command
      15540ae9
  17. Apr 08, 2020
    • Felix Lange's avatar
      p2p/discover: add initial discovery v5 implementation (#20750) · b7394d79
      Felix Lange authored
      This adds an implementation of the current discovery v5 spec.
      
      There is full integration with cmd/devp2p and enode.Iterator in this
      version. In theory we could enable the new protocol as a replacement of
      discovery v4 at any time. In practice, there will likely be a few more
      changes to the spec and implementation before this can happen.
      b7394d79
  18. Apr 01, 2020
  19. Mar 26, 2020
  20. Feb 05, 2020
    • Felix Lange's avatar
      cmd/devp2p: fix Route53 TXT record splitting (#20626) · 976a0f55
      Felix Lange authored
      For longer records and subtree entries, the deployer created two
      separate TXT records. This doesn't work as intended because the client
      will receive the two records in arbitrary order. The fix is to encode
      longer values as "string1""string2" instead of "string1", "string2".
      This encoding creates a single record on AWS Route53.
      976a0f55
  21. Jan 21, 2020
    • Felix Lange's avatar
      log, internal/debug: delete RotatingFileHandler (#20586) · 31baf3a9
      Felix Lange authored
      * log: delete RotatingFileHandler
      
      We added this for the dashboard, which is gone now. The
      handler never really worked well and had data race and file
      handling issues.
      
      * internal/debug: remove unused RotatingFileHandler setup code
      31baf3a9
  22. Jan 17, 2020
  23. Dec 12, 2019
    • Felix Lange's avatar
    • Felix Lange's avatar
      p2p/dnsdisc: add enode.Iterator API (#20437) · 191364c3
      Felix Lange authored
      * p2p/dnsdisc: add support for enode.Iterator
      
      This changes the dnsdisc.Client API to support the enode.Iterator
      interface.
      
      * p2p/dnsdisc: rate-limit DNS requests
      
      * p2p/dnsdisc: preserve linked trees across root updates
      
      This improves the way links are handled when the link root changes.
      Previously, sync would simply remove all links from the current tree and
      garbage-collect all unreachable trees before syncing the new list of
      links.
      
      This behavior isn't great in certain cases: Consider a structure where
      trees A, B, and C reference each other and D links to A. If D's link
      root changed, the sync code would first remove trees A, B and C, only to
      re-sync them later when the link to A was found again.
      
      The fix for this problem is to track the current set of links in each
      clientTree and removing old links only AFTER all links are synced.
      
      * p2p/dnsdisc: deflake iterator test
      
      * cmd/devp2p: adapt dnsClient to new p2p/dnsdisc API
      
      * p2p/dnsdisc: tiny comment fix
      191364c3
  24. Oct 31, 2019
  25. Oct 29, 2019
    • Felix Lange's avatar
      cmd/devp2p, p2p: dial using node iterator, discovery crawler (#20132) · 2c37142d
      Felix Lange authored
      * p2p/enode: add Iterator and associated utilities
      
      * p2p/discover: add RandomNodes iterator
      
      * p2p: dial using iterator
      
      * cmd/devp2p: add discv4 crawler
      
      * cmd/devp2p: WIP nodeset filter
      
      * cmd/devp2p: fixup lesFilter
      
      * core/forkid: add NewStaticFilter
      
      * cmd/devp2p: make -eth-network filter actually work
      
      * cmd/devp2p: improve crawl timestamp handling
      
      * cmd/devp2p: fix typo
      
      * p2p/enode: fix comment typos
      
      * p2p/discover: fix comment typos
      
      * p2p/discover: rename lookup.next to 'advance'
      
      * p2p: lower discovery mixer timeout
      
      * p2p/enode: implement dynamic FairMix timeouts
      
      * cmd/devp2p: add ropsten support in -eth-network filter
      
      * cmd/devp2p: tweak crawler log message
      2c37142d
  26. Sep 25, 2019
    • Felix Lange's avatar
      p2p/dnsdisc: add implementation of EIP-1459 (#20094) · 0568e817
      Felix Lange authored
      This adds an implementation of node discovery via DNS TXT records to the
      go-ethereum library. The implementation doesn't match EIP-1459 exactly,
      the main difference being that this implementation uses separate merkle
      trees for tree links and ENRs. The EIP will be updated to match p2p/dnsdisc.
      
      To maintain DNS trees, cmd/devp2p provides a frontend for the p2p/dnsdisc
      library. The new 'dns' subcommands can be used to create, sign and deploy DNS
      discovery trees.
      0568e817
  27. Jun 07, 2019
    • Felix Lange's avatar
      cmd/devp2p: add devp2p debug tool (#19657) · 896322bf
      Felix Lange authored
      * p2p/discover: export Ping and RequestENR
      
      These two are useful for checking the status of a node.
      
      * cmd/devp2p: add devp2p debug tool
      
      This is a new tool for debugging p2p issues. It supports a few
      basic tasks for now, but many more things can and will be added
      in the near future.
      
         devp2p enrdump            -- prints ENRs readably
         devp2p discv4 ping        -- checks if a node is up
         devp2p discv4 requestenr  -- gets a node's record
         devp2p discv4 resolve     -- finds a node through the DHT
      896322bf
Loading