-
- Downloads
feat: Implement faucet dApp (#531)
* Feat: Integrate faucet page to SPA plugin * Feat: Add Link to get txn of issued address * Feat: Add faucet payload * Feat: Add faucet plugin and minor tweaks * Fix: Check payload type after the txn is solid * Fix: Update package name * Fix: Fix payload test * Test: Add faucet test * Refactor: Minor tweaks in plugin/faucet.go * Feat: Add faucet webapi * Feat: Apply faucet plugins * Feat: Apply messagefactory and update to latest develop * Fix: Fix import error * Fix: Fix tests in binary/faucet * Feat: Integrate faucet page to SPA plugin * Feat: Add Link to get txn of issued address * Feat: Add faucet payload * Feat: Add faucet plugin and minor tweaks * Fix: Check payload type after the txn is solid * Fix: Update package name * Fix: Fix payload test * Test: Add faucet test * Refactor: Minor tweaks in plugin/faucet.go * Feat: Add faucet webapi * Feat: Apply faucet plugins * Feat: Apply messagefactory and update to latest develop * Fix: Fix import error * Fix: Fix tests in binary/faucet * refactor: Update to latest usage * fix: Update go.mod, go.sum * refactor: Disable faucet plugin by default * fix: Update to latest changes * feat: Add faucet payload layout * refactor: Move faucet to dapps * feat: Enable the faucet to send funds* Fix: fix tests * fix: Fix test * fix: Initiate LedgerState * Update packr on dashboard * refactor: refactor SendFunds in faucet dapp * feat: Add faucet integration test * feat: Add faucet integration test to script * doc: Add function descriptions * fix: fix wrong parameter in CheckBalances * fix: fix * fix some stuff * make the faucet configurable via CLI flags * make the faucet seed a parameter in the integration tests * activate the faucet on the peer master in docker-network * fixes wrong address route in faucet view * improves faucet processing log message * fix log messages in faucet dapp * improve error message further * fixes unit tests * adds tool to auto. gen. address * dog * wait for faucet funding tx to get booked before processing the next request * make the dog stay silent * decrease pow difficulty to 1 in int. tests * use 4 as the pow difficulty in integration tests * * fix integration tests * dec. pow diff to 1 * use 0 for the faucet integration test * use a worker pool to serve faucet funding requests Co-authored-by: Luca Moser <moser.luca@gmail.com>
Showing
- .github/workflows/integration-tests.yml 34 additions, 0 deletions.github/workflows/integration-tests.yml
- client/faucet.go 22 additions, 0 deletionsclient/faucet.go
- dapps/faucet/dapp.go 133 additions, 0 deletionsdapps/faucet/dapp.go
- dapps/faucet/packages/errors.go 8 additions, 0 deletionsdapps/faucet/packages/errors.go
- dapps/faucet/packages/faucet.go 172 additions, 0 deletionsdapps/faucet/packages/faucet.go
- dapps/faucet/packages/faucet_test.go 46 additions, 0 deletionsdapps/faucet/packages/faucet_test.go
- dapps/faucet/packages/payload/payload.go 123 additions, 0 deletionsdapps/faucet/packages/payload/payload.go
- dapps/faucet/packages/payload/payload_test.go 57 additions, 0 deletionsdapps/faucet/packages/payload/payload_test.go
- dapps/valuetransfers/dapp.go 3 additions, 0 deletionsdapps/valuetransfers/dapp.go
- go.mod 1 addition, 0 deletionsgo.mod
- packages/shutdown/order.go 1 addition, 0 deletionspackages/shutdown/order.go
- pluginmgr/core/plugins.go 2 additions, 0 deletionspluginmgr/core/plugins.go
- pluginmgr/webapi/plugins.go 2 additions, 0 deletionspluginmgr/webapi/plugins.go
- plugins/analysis/dashboard/frontend/package-lock.json 9742 additions, 0 deletionsplugins/analysis/dashboard/frontend/package-lock.json
- plugins/analysis/dashboard/frontend/src/app/components/Autopeering/Autopeering.scss 0 additions, 0 deletions.../frontend/src/app/components/Autopeering/Autopeering.scss
- plugins/analysis/dashboard/frontend/yarn.lock 177 additions, 271 deletionsplugins/analysis/dashboard/frontend/yarn.lock
- plugins/analysis/dashboard/packrd/packed-packr.go 29 additions, 19 deletionsplugins/analysis/dashboard/packrd/packed-packr.go
- plugins/dashboard/faucet_routes.go 45 additions, 0 deletionsplugins/dashboard/faucet_routes.go
- plugins/dashboard/frontend/src/app/components/BasicPayload.tsx 1 addition, 1 deletion...ns/dashboard/frontend/src/app/components/BasicPayload.tsx
- plugins/dashboard/frontend/src/app/components/ExplorerMessageQueryResult.tsx 3 additions, 0 deletions...rontend/src/app/components/ExplorerMessageQueryResult.tsx
client/faucet.go
0 → 100644
dapps/faucet/dapp.go
0 → 100644
dapps/faucet/packages/errors.go
0 → 100644
dapps/faucet/packages/faucet.go
0 → 100644
dapps/faucet/packages/faucet_test.go
0 → 100644
dapps/faucet/packages/payload/payload.go
0 → 100644
... | ... | @@ -19,6 +19,7 @@ require ( |
github.com/magiconair/properties v1.8.1 | ||
github.com/mr-tron/base58 v1.2.0 | ||
github.com/panjf2000/ants/v2 v2.4.1 | ||
github.com/pkg/errors v0.8.1 | ||
github.com/prometheus/client_golang v1.7.0 | ||
github.com/shirou/gopsutil v2.20.5+incompatible | ||
github.com/spf13/pflag v1.0.5 | ||
... | ... |
This diff is collapsed.
File moved
This diff is collapsed.
This diff is collapsed.
plugins/dashboard/faucet_routes.go
0 → 100644
Please register or sign in to comment