Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Bzzupdate #22

Merged
merged 11 commits into from
Oct 30, 2015
Merged

Bzzupdate #22

merged 11 commits into from
Oct 30, 2015

Conversation

zelig
Copy link
Member

@zelig zelig commented Oct 28, 2015

This PR features: autodeploy chequebook contract, swap arrangement checks, contract validation, check balance when netstore outgoing request

  • move setting eth backend on swarm from rpc to cmd/geth/main …
  • after rpc api: eth_getNatSpec ethereum/go-ethereum#1919 merged, move bzz scheme registry to cmd/geth/main
  • Merge remote-tracking branch 'upstream/develop' into bzzupdate
  • config: reads file onto dfault, saved on exit too
  • netstore: account for retrieve request not delivery, complain if unable to pay, but no disconnect
  • bzz/swap: auto deploy (retries, interval) chequebook in separate go routine
  • validate both local and remote contract, allow connection
  • chequebook: class-level Validate/Deploy, extend backend interface with CodeAt/GetTxReceipt
  • common/swap: Add now returns error if one party cannot pay at all
  • save config after contract deployed
  • only set autodeposit on valid chequebook
  • set backend on swapParams, so no need to hack access to backend via invalid chequebook
  • fix interface comparison to nil issue with wrapping in/out (and buys/sells flags) in Payment (should be interface providing Buys() Sells(), In() Out() Stop())
  • hive: introduce dropAll, called after chequebook is reset
  • implement price checking again when setting remote profile on SWAP
  • logging SWAP arrangement in bzz/swap
  • logging when giving up autodeploy after x retries

* config: reads file onto dfault, saved on exit too
* netstore: account for retrieve request not delivery, complain if unable to pay, but no disconnect
* bzz/swap: auto deploy (retries, interval) chequebook in separate go routine
* validate both local and remote contract, allow connection if at least one party can pay
* chequebook: class-level Validate/Deploy, extend backend interface with CodeAt/GetTxReceipt
* common/swap: Add now returns error if one party cannot pay at all
* save config after contract deployed
* only set autodeposit on valid chequebook
* set backend on swapParams, so no need to hack access to backend via invalid chequebook
* fix interface comparison to nil issue with wrapping in/out (and buys/sells flags) in Payment (should be interface providing Buys() Sells(), In() Out() Stop())
* hive: introduce dropAll, called after chequebook is reset
* implement price checking again when settin remote profile on SWAP
* logging SWAP arrangement in bzz/swap
zelig added a commit that referenced this pull request Oct 30, 2015
SWAP improvements: chequebook contract autodeploy ++
@zelig zelig merged commit 5fed430 into bzz Oct 30, 2015
@zelig zelig deleted the bzzupdate branch November 29, 2016 09:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants