This repository was archived by the owner on Aug 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 109
cmd/swarm, swarm, swap, api: configurable payment/disconnect thresholds #1729
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
2050903
swap: move oracle, paymentThreshold and disconnectThreshold to peer
Eknir 83b9c3f
made thresholdOracle
Eknir 82b100e
swap: using the paymentThresholdOracle, renaming priceOracle to honey…
Eknir 6adc554
swap, api, cmd, swarm: made payment and disconnect threshold modifiable
Eknir 578a2fc
swap: redo refactor => disconnectthreshold, thresholdOracle, honeyPri…
Eknir 60d5a56
cmd/swarm/main: swapFlagsOverride
Eknir aa69db6
swap: AllowedNetworkID => DisabledNetworkID
Eknir 4460d9a
swarm: updated TestNewSwarmFailure
Eknir db83c9e
cmd/swarm, swap: reverted unneeded changes
Eknir df154dc
cmd, swap, swarm: gofmt
Eknir bb85b52
swarm: goimports formatting
Eknir c49f905
Merge branch 'master' into incentives-thresholdConfig
Eknir ebd8314
api, cmd, swap: flag order and naming, removed paymentThresholdOracle
Eknir 2cf5475
added tests
Eknir b6dea35
swap: made TestPaymentThreshold run
Eknir 9bbbbbc
Merge branch 'master' into incentives-thresholdConfig
Eknir 627fb77
swap: make complete incomplete merge in swap_test.go
Eknir a3b5137
swarm, swap: set config.NetworkID to config.DefaultNetworkID, removed…
Eknir 70092e6
swap: removed redundant Prinln
Eknir 33f0bc3
swarm: config.DefaultNetworkID => network.DefaultNetworkID
Eknir b0d1e54
Merge branch 'master' into incentives-thresholdConfig
Eknir db12380
swap: removed Spec from argument to newDummyPeer and newDummyProtocol…
Eknir 5d7e68a
swap: fix misspelling
Eknir ff20676
api: commenting exported vars, swap: remove redundant vars
Eknir a1e0845
reverted allowedNetworkID/disabledNetworkID change
Eknir 068e1dd
swarm, swap: SWAP integrity checks to NewSWAP, added check for discon…
Eknir f174f0d
cmd/swarm: get rid of magical numbers and use DefaultPaymentThreshold…
Eknir 5227f7a
swap: updated comment of NewSWAP
Eknir 9139dcc
Merge branch 'master' into incentives-thresholdConfig
Eknir faa6435
Merge branch 'master' into incentives-thresholdConfig
Eknir 0368a99
swap: swap: call os.removeAll() in test, small refactor around paymen…
Eknir d652aa6
swap: rename TempDir
Eknir 782b83d
create new dir for every swapStore
Eknir 4d5a5ee
Merge branch 'master' into incentives-thresholdConfig
Eknir 63b04ab
revert dummyPeer refactor
Eknir c0cc688
revert dummyPeer refactor
Eknir 2765e9f
swap, swarm, cmd/swarm: rename swap constructor, remove redundant tes…
Eknir 0f753f2
swarm: remove TODO comment
Eknir c5edfc2
swap: NewSWAP name update in test
Eknir acb3d89
swap: rename of variable in test and code comments
Eknir b8d9c0b
made thresholds an int64 on the swap object
Eknir e6de6c8
swap: grammatical correction TestNewSwapFailure comment
Eknir d0a7bc4
swap: removed int64 casting in tests
Eknir bf928a2
made comments w.r.t. flags from both peers point of view
Eknir 49f0006
changed last comment w.r.t.s threshold comment from both peers point …
Eknir File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.