Gaze
603cd74bfd
fix: fix golangci-lint error
2024-04-27 00:02:45 +07:00
Gaze
b448bebee0
feat(btc): remove unused func
2024-04-26 23:39:59 +07:00
gazenw
fe6988627a
refactor(logger): format logging ( #12 )
...
* feat(logger): format main logger
* feat(logger): use duration ms for gcp output
* refactor(logger): bitcoin node logger
* refactor(logger): indexer logger
* refactor(logger): fix cmd logger
* refactor(logger): logger in config pacakge
* refactor(logger): set pgx error log level debug
* refactor(logger): btcclient datasource
* refactor: processor name
* refactor(logger): runese logger
* refactor(logger): update logger
* fix(runes): wrong btc db datasource
* refactor(logger): remove unnecessary debug log
* refactor: update logger in indexer
* fix(logger): deadlock in load()
* fix: remove unused
---------
Co-authored-by: Gaze <gazenw@users.noreply.github.com >
2024-04-26 23:23:37 +07:00
Gaze
1a512ea4d4
fix: type
...
Co-authored-by: Gaze <dev@gaze.network >
2024-04-24 22:31:28 +07:00
gazenw
6e0c8e849a
feat(btc): Duplicate coinbase transaction handling ( #7 )
...
* feat(btc): tx_hash can duplicated in block v1
Co-authored-by: Gaze <dev@gaze.network >
* feat(btc): duplicate tx will use same txin/txout from previous tx
Co-authored-by: Gaze <dev@gaze.network >
* feat(btc): prevent revert block v1 data
if you really want to revert the data before the block version 2, you should reset the database and reindex the data instead.
Co-authored-by: Gaze <dev@gaze.network >
* doc(btc): update list duplicate tx hash
Co-authored-by: Gaze <dev@gaze.network >
* doc(btc): update docs
Co-authored-by: Gaze <dev@gaze.network >
* fix(btc): use last v1 block instead
Co-authored-by: Gaze <dev@gaze.network >
---------
Co-authored-by: Gaze <gazenw@users.noreply.github.com >
2024-04-24 04:12:38 +07:00
gazenw
95e992fa8d
perf(btc): bitcoin indexer performance optimization ( #4 )
...
* feat(btc): not null to witness
Co-authored-by: Gaze <dev@gaze.network >
* perf(btc): add batch insert txin
Co-authored-by: Gaze <dev@gaze.network >
* perf(btc): batch insert txout
Co-authored-by: Gaze <dev@gaze.network >
* perf(btc): batch insert transaction
Co-authored-by: Gaze <dev@gaze.network >
* feat(btc): remove old queries
Co-authored-by: Gaze <dev@gaze.network >
* fix(btc): typo
Co-authored-by: Gaze <dev@gaze.network >
* perf(btc): batch insert blocks (#5 )
Co-authored-by: Gaze <gazenw@users.noreply.github.com >
---------
Co-authored-by: Gaze <gazenw@users.noreply.github.com >
2024-04-24 04:08:02 +07:00
Gaze
4ef83d744e
feat: more comments
2024-04-23 16:57:16 +07:00
Gaze
bba717083c
feat: allow query by rune id too
2024-04-23 16:34:55 +07:00
Gaze
5276136718
feat: implement get transactions by pkscript
2024-04-23 15:06:04 +07:00
Gaze
185d26c651
feat: add more index
2024-04-23 13:28:29 +07:00
Gaze
a0b15f452d
fix: wrong condition
2024-04-23 00:49:19 +07:00
Gaze
8a48fc1321
feat: add decimals in get transactions
2024-04-23 00:06:26 +07:00
Gaze
9a3c6083c2
fix(runes): handling latest block not found
...
Co-authored-by: Gaze <dev@gaze.network >
2024-04-22 19:21:39 +07:00
Gaze
913a0bb9e8
Merge branch 'feature/bitcoin-indexer' of github.com:gaze-network/indexer-network into feature/bitcoin-indexer
2024-04-22 15:58:52 +07:00
Gaze
2da45e4294
fix(btc): fix with modified same row twice
...
Co-authored-by: Gaze <dev@gaze.network >
2024-04-22 15:58:41 +07:00
Gaze
b606bca814
feat: add starting height for runes mainnet
2024-04-22 14:56:05 +07:00
gazenw
825a79c539
Merge pull request #3 from gaze-network/feat/reporting-client
...
Implement reporting client to report runes blocks
2024-04-22 14:14:21 +07:00
Gaze
0e583b1704
fix(indexer): fix subscription closed before process when success fetch
...
Co-authored-by: Gaze <dev@gaze.network >
2024-04-22 05:52:28 +07:00
Gaze
0bb56e6ef3
fix: annoying error when unsubscribe fetcher
...
Co-authored-by: Gaze <dev@gaze.network >
2024-04-22 03:24:35 +07:00
Gaze
877d55fcff
fix(btc): txout aren't revert if it's have to revert spent
...
Co-authored-by: Gaze <dev@gaze.network >
2024-04-22 03:00:44 +07:00
Gaze
fcdc54d360
feat(btc): use logger warn
...
Co-authored-by: Gaze <dev@gaze.network >
2024-04-22 02:46:57 +07:00
Gaze
4a1819c3f0
Merge branch 'feature/bitcoin-indexer' of github.com:gaze-network/indexer-network into feature/bitcoin-indexer
2024-04-21 02:18:29 +07:00
Gaze
d07ad3c0e9
feat(runes): add latest block api
...
Co-authored-by: Gaze <dev@gaze.network >
2024-04-21 02:18:16 +07:00
Gaze
e9cde98a9b
feat: implement report node
2024-04-21 02:04:48 +07:00
Gaze
83557ce1cf
feat: implement reporting client to report runes blocks
2024-04-21 00:30:39 +07:00
Gaze
050ffaf5ef
fix: wrong index type
2024-04-21 00:26:12 +07:00
Gaze
60ac0c3580
fix: ignore zero burn amount
2024-04-20 18:36:13 +07:00
Gaze
22691fc781
fix: don't add zero mint to unallocated
2024-04-20 18:35:25 +07:00
Gaze
8f4621b2ad
fix: create index
2024-04-20 16:34:25 +07:00
Gaze
9915251f2a
fix: remove unused funcs
2024-04-19 00:46:31 +07:00
Gaze
be1a9ff896
fix: revert data sequentially
2024-04-19 00:45:52 +07:00
Gaze
83df900d7f
fix: empty etched at
2024-04-18 23:55:59 +07:00
Gaze
1abf9aa345
Merge remote-tracking branch 'origin/feature/bitcoin-indexer' into feat/runes-module
2024-04-18 19:21:26 +07:00
Gaze
e2089a68d8
feat: sort balances result by amount
2024-04-18 18:28:44 +07:00
Gaze
9eb7703e8d
feat: implement get balances by address batch
2024-04-18 18:26:14 +07:00
Gaze
f6e2ff2029
fix: spend outpoint bug
2024-04-18 17:59:06 +07:00
Gaze
1cd61b8fa1
feat: implement get utxos by address api
2024-04-18 17:53:29 +07:00
Gaze
df326a7aab
feat: add pkscript to outpoint balance
2024-04-18 17:19:00 +07:00
Gaze
6d77184751
fix: rename type
2024-04-18 16:33:45 +07:00
Gaze
a136229e31
fix: return a new repository when beginning a new tx
2024-04-18 16:10:11 +07:00
Gaze
efbed0766c
feat: implement get holders
2024-04-18 02:13:20 +07:00
Gaze
a28e062fa5
feat: add holders count in token info
2024-04-18 01:37:22 +07:00
Gaze
b307b68c70
feat: implement get token info
2024-04-18 01:27:49 +07:00
Gaze
ee7f2f7a4d
feat: add runeEtched in get transactions
2024-04-18 00:26:50 +07:00
Gaze
9caf31d3ab
fix: missing field in create
2024-04-18 00:17:27 +07:00
Gaze
8f83ec55b2
feat: add rune_etched column in rune transaction
2024-04-18 00:06:54 +07:00
Gaze
0fa6d77b4d
feat(btc): update chuunk size
...
Co-authored-by: Gaze <dev@gaze.network >
2024-04-18 00:03:02 +07:00
Gaze
3f96a762ef
feat: fix interface
2024-04-17 23:55:09 +07:00
Gaze
c7f7d276e6
Merge remote-tracking branch 'origin/feature/bitcoin-indexer' into feat/runes-module
2024-04-17 22:59:33 +07:00
Gaze
8498a06b4d
feat(btc): add verify indexer states
...
Co-authored-by: Gaze <dev@gaze.network >
2024-04-17 22:50:20 +07:00