1. 19 2月, 2019 10 次提交
  2. 10 2月, 2019 5 次提交
  3. 31 1月, 2019 2 次提交
    • F
      7fa3509e
    • F
      p2p/discover: improve table addition code (#18974) · 86ec742f
      Felix Lange 提交于
      This change clears up confusion around the two ways in which nodes
      can be added to the table.
      
      When a neighbors packet is received as a reply to findnode, the nodes
      contained in the reply are added as 'seen' entries if sufficient space
      is available.
      
      When a ping is received and the endpoint verification has taken place,
      the remote node is added as a 'verified' entry or moved to the front of
      the bucket if present. This also updates the node's IP address and port
      if they have changed.
      86ec742f
  4. 30 1月, 2019 5 次提交
    • F
      params: new CHTs (#18577) · d9a07fba
      Felföldi Zsolt 提交于
      d9a07fba
    • F
      p2p/discover, p2p/enode: rework endpoint proof handling, packet logging (#18963) · 4cd90e02
      Felix Lange 提交于
      This change resolves multiple issues around handling of endpoint proofs.
      The proof is now done separately for each IP and completing the proof
      requires a matching ping hash.
      
      Also remove waitping because it's equivalent to sleep. waitping was
      slightly more efficient, but that may cause issues with findnode if
      packets are reordered and the remote end sees findnode before pong.
      
      Logging of received packets was hitherto done after handling the packet,
      which meant that sent replies were logged before the packet that
      generated them. This change splits up packet handling into 'preverify'
      and 'handle'. The error from 'preverify' is logged, but 'handle' happens
      after the message is logged. This fixes the order. Packet logs now
      contain the node ID.
      4cd90e02
    • F
      build: tweak debian source package build/upload options (#18962) · 1f3dfed1
      Felix Lange 提交于
      dput --passive should make repo pushes from Travis work again.
      dput --no-upload-log works around an issue I had while uploading locally.
      
      debuild -d says that debuild shouldn't check for build dependencies when
      creating the source package. This option is needed to make builds work
      in environments where the installed Go version doesn't match the
      declared dependency in the source package.
      1f3dfed1
    • S
      travis, appveyor: bump to Go 1.11.5 (#18947) · 2ae481ff
      Samuel Marks 提交于
      2ae481ff
    • M
      core, cmd/puppeth: implement constantinople fix, disable EIP-1283 (#18486) · c7664b06
      Martin Holst Swende 提交于
      This PR adds a new fork which disables EIP-1283. Internally it's called Petersburg,
      but the genesis/config field is ConstantinopleFix.
      
      The block numbers are:
      
          7280000 for Constantinople on Mainnet
          7280000 for ConstantinopleFix on Mainnet
          4939394 for ConstantinopleFix on Ropsten
          9999999 for ConstantinopleFix on Rinkeby (real number decided later)
      
      This PR also defaults to using the same ConstantinopleFix number as whatever
      Constantinople is set to. That is, it will default to mainnet behaviour if ConstantinopleFix
      is not set.This means that for private networks which have already transitioned
      to Constantinople, this PR will break the network unless ConstantinopleFix is
      explicitly set!
      c7664b06
  5. 16 1月, 2019 3 次提交
  6. 15 1月, 2019 2 次提交
  7. 12 1月, 2019 1 次提交
  8. 11 1月, 2019 3 次提交
    • H
      Stream subscriptions (#18355) · 88168ff5
      holisticode 提交于
      * swarm/network: eachBin now starts at kaddepth for nn
      
      * swarm/network: fix Kademlia.EachBin
      
      * swarm/network: fix kademlia.EachBin
      
      * swarm/network: correct EachBin implementation according to requirements
      
      * swarm/network: less addresses simplified tests
      
      * swarm: calc kad depth outside loop in EachBin test
      
      * swarm/network: removed printResults
      
      * swarm/network: cleanup imports
      
      * swarm/network: remove kademlia.EachBin; fix RequestSubscriptions and add unit test
      
      * swarm/network/stream: address PR comments
      
      * swarm/network/stream: package-wide subscriptionFunc
      
      * swarm/network/stream: refactor to kad.EachConn
      88168ff5
    • G
      core, eth: fix database version (#18429) · d5cad488
      gary rong 提交于
      * core, eth: fix database version
      
      * eth: polish error message
      d5cad488
    • F
      p2p/simulations: eliminate concept of pivot (#18426) · 2eb838ed
      Ferenc Szabo 提交于
      2eb838ed
  9. 10 1月, 2019 4 次提交
  10. 09 1月, 2019 2 次提交
  11. 08 1月, 2019 1 次提交
    • H
      swarm, p2p/protocols: Stream accounting (#18337) · ae857e74
      holisticode 提交于
      * swarm: completed 1st phase of swap accounting
      
      * swarm, p2p/protocols: added stream pricing
      
      * swarm/network/stream: gofmt simplify stream.go
      
      * swarm: fixed review comments
      
      * swarm: used snapshots for swap tests
      
      * swarm: custom retrieve for swap (less cascaded requests at any one time)
      
      * swarm: addressed PR comments
      
      * swarm: log output formatting
      
      * swarm: removed parallelism in swap tests
      
      * swarm: swap tests simplification
      
      * swarm: removed swap_test.go
      
      * swarm/network/stream: added prefix space for comments
      
      * swarm/network/stream: unit test for prices
      
      * swarm/network/stream: don't hardcode price
      
      * swarm/network/stream: fixed invalid price check
      ae857e74
  12. 07 1月, 2019 2 次提交