1. 19 2月, 2019 23 次提交
  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 次提交