cic-custodial/internal/api
Mohamed Sohail b9d3c219c8
fix (braking change): gas refill params (#89)
NOTE: This needs the db to be nuked if you are running a test cluster

* updated gas refilling logic to reflect EthFaucet contract
* fully dependant on on-chain contract to refill and unlock gas
* minor fixes to nonce bootstrapper

Ideal Values:

INITIAL GIFT = 0.015
THRESHOLD    = 0.01
TIME = 12 * 60 * 60

# Sample for 30 txs
EXTREME LOW = 0.00675
LOW GAS USAGE = 0.00694605
RISING = 0.0135
HIGH = 0.027
2023-05-16 15:20:01 +03:00
..
account.go docs: add godocs comments to all routes 2023-04-14 07:57:43 +00:00
errors.go refactor: ctx propagation, api handlers 2023-02-24 16:46:46 +00:00
network.go docs: add godocs comments to all routes 2023-04-14 07:57:43 +00:00
sign.go fix (braking change): gas refill params (#89) 2023-05-16 15:20:01 +03:00
swagger.go docs: add godocs comments to all routes 2023-04-14 07:57:43 +00:00
track.go docs: add godocs comments to all routes 2023-04-14 07:57:43 +00:00
types.go refactor: use sigChan for shutdown, ctx fixes 2023-03-02 15:46:02 +00:00
validator.go deps(go-playground-validator): use inbuilt eth_addr_checksum validator on routes 2023-03-28 06:30:29 +00:00