watcher-ts/packages/address-watcher
Ashwin Phatak 07805b6ae9
Tracing job queue (#89)
* eth-client API to get transaction in block.

* Job queue to process tracing requests.

* Request traces from job queue runner.

* Max trace completion lag time config for downstream events.
2021-06-25 16:35:47 +05:30
..
environments Tracing job queue (#89) 2021-06-25 16:35:47 +05:30
src Tracing job queue (#89) 2021-06-25 16:35:47 +05:30
.eslintignore Address watcher package scaffolding (#75) 2021-06-17 17:56:38 +05:30
.eslintrc.json Address watcher package scaffolding (#75) 2021-06-17 17:56:38 +05:30
.gitignore Address watcher package scaffolding (#75) 2021-06-17 17:56:38 +05:30
package.json Tracing job queue (#89) 2021-06-25 16:35:47 +05:30
README.md Tracing job queue (#89) 2021-06-25 16:35:47 +05:30
tsconfig.json Indexing to get traces given address (#79) 2021-06-21 15:38:36 +05:30

Address Watcher

Setup

Enable the pgcrypto extension on the database (https://github.com/timgit/pg-boss/blob/master/docs/usage.md#intro).

Example:

postgres@tesla:~$ psql -U postgres -h localhost job-queue
Password for user postgres:
psql (12.7 (Ubuntu 12.7-1.pgdg18.04+1))
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, bits: 256, compression: off)
Type "help" for help.

job-queue=# CREATE EXTENSION pgcrypto;
CREATE EXTENSION
job-queue=# exit