Commit Graph

16 Commits

Author SHA1 Message Date
Leo b0ed42681d Use stable Buildkit syntax
We no longer need to be on an experimental branch - all the
Dockerfile features we need were released on 1.3.

commit-id:b083856a
2021-12-13 15:38:17 +01:00
justinschuldt afe4fad438 cloud functions: use rowkey data in Summary
Change-Id: I756ab54539b14676256e252f668874455a279e74
2021-11-09 19:14:02 +00:00
justinschuldt 64078945c4 remove SignedVAA from /recent response
Change-Id: Idcc7ccfb1bc0ac645dd023d6fff0e51a2e87c84d
2021-11-09 19:13:10 +00:00
justinschuldt 1a99ea1f85 fixed time range for /recent query
Change-Id: I8ab8ccc57f8410face241e8cb2651a709bbc5654
2021-10-29 21:07:10 +00:00
justinschuldt 82b4ed5843 async queries for /totals function
Change-Id: If9f1267fc713e547657fbd60e7390ed59f5b9d03
2021-10-29 20:56:13 +00:00
justinschuldt 90f7015b93 short lived cache for /recent function
Change-Id: I762791b352161dc20b14739e492a3dee86a0f047
2021-10-29 20:44:33 +00:00
justinschuldt 6fb8cdfd01 global bigtable connection for functions
Change-Id: Ib61bd2e9f4a19e1f8405491c572ef6b36c54142e
2021-10-29 20:18:33 +00:00
justinschuldt 6cc4bf5ca6 debug cloud functions locally
Change-Id: I7fa072497b6e4b3980c88edb50481226f4ea3cad
2021-10-29 15:13:50 +00:00
justinschuldt 8fed2d0659 remove unused bigtable data
Change-Id: I2b4a798b99f11be2ce9869d15dc633e1568974e1
2021-10-29 12:56:27 +00:00
Leo c64576cc0b node: add Polygon support
Change-Id: Ia919861879eb6c831d4dd9ccbe1748e7123502e5
2021-10-21 10:11:21 +00:00
justinschuldt 71dbe80aae BigTable historical queries
- Add Cloud Functions:
  - "Recent" gap list, can filter and/or group by chain or address.
  - "Totals" counts 24h, 30d, rolling daily. can filter and group.
  - "Transaction" lookup row by chain-native transaction identifier.

- Pad sequence in rowkey to fixed length, for sequential row order.

- Add Cloud Function deploy instructions.

- Fix #410 Buildpack image cleanup

Change-Id: Ifa3110a3d58e2f94adb48ccb451c27ab3add0611
2021-10-13 16:20:10 +00:00
Leo 4f22a44969 Bump Go to 1.17
Change-Id: Ideb635db1a553c5de4a0b700a080f935249990fb
2021-08-31 08:58:17 +00:00
justinschuldt 986b4b58f1 Add bigtable to devnet
- Add development BigTable instance

- Devnet Guardians save to local bigtable automatically

- Cloud Functions run in devnet containers

Change-Id: I9fa32a06b24218cf5c9c01cdff6f37c67e8d1e7c
2021-08-25 14:01:31 +00:00
justinschuldt 44fe7bd726 Cloud function for BigTable queries
Change-Id: I8a2c0e349bdebeeeaf8b79f02285615b3a147884
2021-08-23 19:35:04 +00:00
justinschuldt 44cb47c2d8 Write attestation events to BigTable
Change-Id: I90fd86ff83a2e963ca306b7189528b415f5511d2
2021-08-23 09:54:28 -05:00
jschuldt ce22a18101 Event database init script
Add new folder, 'event_database', containing a
Go script for initializing a BigTable table
and querying it for events.

Change-Id: I8ffda2e3ef43bf2faa9fc6eaf53efa019a3fecff
2021-08-05 12:53:56 +00:00