- 19 2月, 2019 10 次提交
-
-
由 Martin Holst Swende 提交于
(cherry picked from commit 37e5a908)
-
由 Martin Holst Swende 提交于
-
由 Péter Szilágyi 提交于
(cherry picked from commit 9d3ea8df)
-
由 Péter Szilágyi 提交于
(cherry picked from commit dcc045f0)
-
由 Felix Lange 提交于
(cherry picked from commit ba90a4aa)
-
由 Felix Lange 提交于
(cherry picked from commit a8ddf7ad)
-
由 Felix Lange 提交于
(cherry picked from commit edf976ee)
-
由 Martin Holst Swende 提交于
* common/fdlimit: cap on MacOS file limits, fixes #18994 * common/fdlimit: fix Maximum-check to respect OPEN_MAX * common/fdlimit: return error if OPEN_MAX is exceeded in Raise() * common/fdlimit: goimports * common/fdlimit: check value after setting fdlimit * common/fdlimit: make comment a bit more descriptive * cmd/utils: make fdlimit happy path a bit cleaner (cherry picked from commit f48da43b)
-
由 Felix Lange 提交于
* build: use sftp for launchpad uploads * .travis.yml: configure sftp export * build: update CI docs (cherry picked from commit 3de19c8b)
-
由 Péter Szilágyi 提交于
(cherry picked from commit b0ed083e)
-
- 10 2月, 2019 5 次提交
-
-
由 Péter Szilágyi 提交于
-
由 Martin Holst Swende 提交于
-
由 Péter Szilágyi 提交于
-
由 Martin Holst Swende 提交于
-
由 Martin Holst Swende 提交于
-
- 31 1月, 2019 2 次提交
-
-
由 Felix Lange 提交于
-
由 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.
-
- 30 1月, 2019 5 次提交
-
-
由 Felföldi Zsolt 提交于
-
由 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.
-
由 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.
-
由 Samuel Marks 提交于
-
由 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!
-
- 16 1月, 2019 3 次提交
-
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
params: postpone Constantinople due to net SSTORE reentrancy
-
由 Péter Szilágyi 提交于
-
- 15 1月, 2019 2 次提交
-
-
由 Guillaume Ballet 提交于
-
由 gluk256 提交于
-
- 12 1月, 2019 1 次提交
-
-
由 gluk256 提交于
* swarm/pot: refactored pot.remove(), updated comments * swarm/pot: comments updated
-
- 11 1月, 2019 3 次提交
-
-
由 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
-
由 gary rong 提交于
* core, eth: fix database version * eth: polish error message
-
由 Ferenc Szabo 提交于
-
- 10 1月, 2019 4 次提交
-
-
由 Guillaume Ballet 提交于
Co-authored-by:
weimumu <934657014@qq.com>
-
由 lash 提交于
* swarm/network: Rename minproxbinsize, add as member of simulation * swarm/network: Deactivate WaitTillHealthy, unreliable pending suggestpeer
-
由 gary rong 提交于
-
由 Viktor Trón 提交于
* swarm/network, swarm/pss: remove isproxbin bool from kad.Each* iterfunc * swarm/network: restore comment and unskip snapshot sync tests
-
- 09 1月, 2019 2 次提交
-
-
由 Janoš Guljaš 提交于
* swarm/storage: fix T.Fatal inside a goroutine * swarm/network/simulation: fix T.Fatal inside a goroutine * swarm/network/stream: fix T.Fatal inside a goroutine * swarm/network/simulation: consistent failures in TestPeerEventsTimeout * swarm/network/simulation: rename sendRunSignal to triggerSimulationRun
-
由 Anton Evangelatov 提交于
-
- 08 1月, 2019 1 次提交
-
-
由 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
-
- 07 1月, 2019 2 次提交
-
-
由 Janoš Guljaš 提交于
-
由 Janoš Guljaš 提交于
-