For DAOPlatform
It is a nodejs server that receives serialized DAOBET transactions, adds sponsorship and signs them.
First, build with npm run build
.
Single-core mode: npm run start
Multi-core mode: npm run cluster
You can provide config using config.json
file or via SPONSOR_CONFIG
environment variable containing
stringifyed json with config.
Sponsorship provider signs transaction with provieded active keys! Please use filters anytime you start this app!
This tool was benchmarked with apache benchmark. Configuration of machine was
- Intel Core i5 5257U
- 8gb ram
The transction to provide signature is a simple transfer transaction
Single-process mode:
- 782.99 requests/second
Multi-process mode (4 node processes, 20 benchmark threade):
- 847.76 requests/second