Commit Graph

162 Commits

Author SHA1 Message Date
Chance Hudson
e22325c98a feat: server enforced virtual hosts 2021-02-24 01:54:52 +09:00
Chance Hudson
565e6a75c4 refactor: auction url fixes, dependency fixes 2021-02-24 01:54:52 +09:00
Chance Hudson
aa9f2844f6 refactor: move externalIp function to utils 2021-02-24 01:54:52 +09:00
Chance Hudson
33816b6802 chore: bump soltypes version 2021-02-24 01:54:52 +09:00
Chance Hudson
65ac9d3e3c fix: bump soltypes version 2021-02-24 01:54:52 +09:00
Chance Hudson
93a3c45265 fix: websocket reconnect delay, keepalive 2021-02-24 01:54:52 +09:00
Chance Hudson
684bf4c9b6 fix: remove db from git 2021-02-24 01:54:52 +09:00
Chance Hudson
fa5834d4a7 feat: wallet and coordinator scripts 2021-02-24 01:54:52 +09:00
Chance Hudson
6e7e1e84e0 refactor: move initDB to prisma package 2021-02-24 01:54:52 +09:00
Chance Hudson
54c849f0bf fix: add pino-pretty dep, update yarn lock 2021-02-16 18:14:56 +09:00
Chance Hudson
25257b22ea refactor: prettify streams individually 2021-02-16 18:14:56 +09:00
Chance Hudson
a31e062166 fix: coordinator logs 2021-02-16 18:14:56 +09:00
Chance Hudson
e7a61b4a9e fix: default handling 2021-01-25 14:04:28 +09:00
Chance Hudson
88a9f345fb refactor: move latestBlock to layer2 2021-01-21 15:43:46 +09:00
Chance Hudson
cec87731bb refactor: remove L2Chain latestBlock func 2021-01-21 15:43:46 +09:00
Chance Hudson
603498ceed fix: chmod password file 0600 2021-01-21 15:43:15 +09:00
Chance Hudson
31d8380747 fix: wording 2021-01-21 15:43:15 +09:00
Chance Hudson
ca23441801 fix: user friendly paths 2021-01-21 15:43:15 +09:00
Chance Hudson
715af329b6 feat: database selection 2021-01-21 15:43:15 +09:00
Chance Hudson
22a7d4af9f feat: custom path output 2021-01-21 15:43:15 +09:00
Chance Hudson
1f69cc69d3 refactor: example config context structure 2021-01-21 15:43:15 +09:00
Chance Hudson
70b8bd6939 fix: linter 2021-01-21 15:43:15 +09:00
Chance Hudson
812f03fe44 feat: websocket entry and smart address selection 2021-01-21 15:43:15 +09:00
Chance Hudson
bb1e4fb1b0 refactor: move public url validation to @zkopru/utils 2021-01-21 15:43:15 +09:00
Chance Hudson
bc1d411765 feat: interactive config creation 2021-01-21 15:43:15 +09:00
Chance Hudson
cae3d4e265 fix: linter 2021-01-18 22:04:35 -06:00
Chance Hudson
a3fb4de770 refactor: split wallet/coordinator configs, add --generateConfig
Adds a simple generate config command
Splits wallet and coordinator configs
2021-01-18 21:39:27 -06:00
Chance Hudson
346450f9e1 refactor: create testMockup for accessing terminate 2021-01-18 20:04:10 -06:00
Chance Hudson
0eba38bceb refactor: use absolute paths when accessing sqlite db 2021-01-17 22:08:26 -06:00
Chance Hudson
2f2b176095 fix: avoid duplicate promise resolve 2021-01-17 20:56:38 -06:00
Chance Hudson
c942780f6c fix: log to stdout in daemon mode 2021-01-17 20:56:38 -06:00
Chance Hudson
084c4251c9 refactor: cli arguments
Add maxBid, publicUrls, passwordFile, keystoreFile

Change wallet/password loading config

Pass config to AuctionMonitor
2021-01-17 20:56:36 -06:00
Wanseob Lim
0314f1d4a4 fix: lint errors 2021-01-06 00:47:14 +09:00
Chance Hudson
74c5eaa3d7 refactor: Merge branch 'tx-forwarding' into coordinator-auctions 2020-12-30 15:05:57 -06:00
Wanseob Lim
ed42af141f refactor: formatted 2020-12-30 15:43:23 +09:00
Wanseob Lim
141b2b7188 fix: unresolved promises 2020-12-30 15:42:12 +09:00
Chance Hudson
101ad53f57 refactor: improved uncaught exception handling 2020-12-29 10:40:19 -06:00
Chance Hudson
798c189bf3 feat: auction balance refund 2020-12-29 10:37:37 -06:00
Chance Hudson
47e6719818 refactor: safely update max bid 2020-12-28 21:20:50 -06:00
Chance Hudson
84cb859d6f feat: auction menu
set max bid price and auction url
2020-12-25 00:55:05 -06:00
Chance Hudson
e0529be2c3 fix: type 2020-12-25 00:24:51 -06:00
Chance Hudson
1e20b08122 refactor: more robust auction url handling, add axios, more auction info
update midpoint check logic
2020-12-24 21:36:22 -06:00
Chance Hudson
c71aa6109a feat: auction info menu item 2020-12-17 11:27:49 -06:00
Chance Hudson
c7af5d3c2f fix: typo 2020-12-14 13:25:54 -06:00
Wanseob Lim
667c89135b refactor: make context private 2020-11-18 19:28:20 +09:00
Wanseob Lim
d8d0274bac fix: update testing contract address 2020-11-18 19:25:57 +09:00
Wanseob Lim
6cd29018b2 refactor: add middlewares for the coordinator 2020-10-28 18:46:58 +09:00
Wanseob Lim
c892166860 refactor: add block processor; closes #128 2020-10-26 04:27:39 +09:00
Wanseob Lim
de4304f390 fix: SMT bug & slash algorithm
* SMT.sol calculateRoot was not returning its result root value.
* Store slashed header using map and remove `slashed` var in Proposal
struct.
* Add validateParentHeader to examine its precedent block is slashed or
not.
* Refactoring some auto generated files and class names.
2020-10-26 04:27:39 +09:00
Wanseob Lim
9508d32f6c fix: use EIP 55 checksum address 2020-09-07 04:51:24 +09:00