Vivek Teega
836de91fb3
Bug fixes + cleanup
2024-08-16 06:28:54 +00:00
Sai Raj
4293c79e63
bug fixes
2024-08-12 21:31:41 -04:00
Sai Raj
a71c15fe6c
Adding flags to indicate status of backend
...
- API responses now have a warning message if backend is still syncing
- API v2 responses now have HTTP codes 200, 206, 400, 404, 500, 503
200: response is ok
206: reponse is ok, but backend is still syncing, thus data might not be final
404: data not found error
503: data not found, but backend is still syncing
400: client request error
500: internal server error
2024-08-12 21:09:08 -04:00
Sai Raj
63e5a0da87
Multi-threaded fetches for scanning blocks
...
- speedup scanBlocks using batch fetch threading from API
- fixes for check_for_reorg and process restart when reorg happens
2024-08-09 01:02:18 -04:00
Sai Raj
1b9f75ebb4
thread bug fix for sqlite
2024-08-03 17:37:15 -04:00
Sai Raj
40f43aefb2
bug fix
2024-08-03 16:06:30 -04:00
Sai Raj
fff6824b30
Threading and bug fixes
2024-08-03 15:59:03 -04:00
Sai Raj
c8881c23de
Uploading the main file for combine system
...
main file to process the config file and start the backend process and then API server
2024-07-18 05:59:44 -04:00
Sai Raj
ac5913d3a1
rename tokenscanner py file to backend_main.py
2024-07-18 05:35:26 -04:00
Sai Raj
0c5365b510
Update flosights ro blockbook
2024-07-18 05:32:38 -04:00
Sai Raj
a3859016a2
merge config files for api and scanner
2024-07-18 05:32:10 -04:00
Sai Raj
9d2b63ce77
rename ranchimallflo_api.py to api_main.py
2024-07-18 05:29:40 -04:00
Sai Raj
31ebfb9278
Update for merging api and scanner
2024-07-18 05:28:55 -04:00
Sai Raj
cc7b51d37a
Update requirements.txt
2024-07-15 02:30:30 -04:00
Sai Raj
46f2b5696b
Update for combining with api
2024-07-15 02:23:21 -04:00
Sai Raj
134553c104
merge bug fix
2024-07-15 01:22:33 -04:00
Sai Raj
772cd369d6
Merge branch 'blockbook-dev' of https://github.com/ranchimall/flo-token-tracking into blockbook-dev
2024-07-15 01:18:41 -04:00
Sai Raj
1e2e688453
Adding API server files
2024-07-15 01:18:10 -04:00
Sai Raj
937a12cc50
move source files to src/backend
2024-07-15 01:17:45 -04:00
f369ef7e87
Small bug fixes
2024-07-14 06:58:36 +00:00
Sai Raj
5449ee83a5
Exception handle
...
- Adding exception handle for all fetch and db connections within a loop with retry timeout
- blocked all sys.exit to prevent system from shutting down. instead retry after 1 hr or 30 mins
2024-07-10 04:15:03 -04:00
Sai Raj
8464d48b0a
Adding utility fns for reorg
...
Adding functions for auto-rollback on blockchain reorg
2024-07-07 01:21:55 -04:00
Sai Raj
8b873f364e
error fixes
2024-07-07 01:19:53 -04:00
Sai Raj
37cee58465
Auto initialize data storage
...
no longer requires --reset on 1st time running
--reset can still be used to force delete all data and restart the scanner
2024-07-07 01:06:49 -04:00
38d90659be
Critical bug fix : Validating is an address is associated with any Smart Contracts previously
2024-03-18 09:01:04 +00:00
0dd32c7803
Merge branch 'upgrade/blockbook' of https://github.com/ranchimall/flo-token-tracking into upgrade/blockbook
2024-02-16 10:11:37 +00:00
4fa48c808c
Added code to handle misbehaving blockbook API
2024-02-16 10:11:22 +00:00
e3b197cd4b
Fix conditional check
2024-02-16 09:58:09 +00:00
4234abe59a
Cleaning pdb statements
2023-11-22 16:48:10 +00:00
3d2654149b
Decimal fix for SQL queries( plain SQL + SQL Alchemy )
2023-11-20 19:37:27 +00:00
Vivek Teega
19198ddc82
Merge pull request #44 from ranchimall/upgrade/blockbook-decimalmod
...
Converting calculations to Decimal calculations
2023-11-20 11:00:15 +05:30
c6cd23fc9d
Making sure Oracle address cannot be contract address
2023-11-18 16:16:01 +00:00
e9bc8546c2
Converting calculations to Decimal calculations
2023-11-11 05:00:22 +00:00
a83ed33a99
Further changes for blockbook shifting:
...
1. Removed socketio
2. Added support for blockbook's websocket
3. Fixed a bug reg transaction processing. Blockbook doesn't return floData key in a transaction's details API response if floData is not present in the transaction. Updated code to handle this
2023-10-27 11:13:09 +00:00
bb77a9723b
Added more folders to gitignore
2023-10-27 11:07:56 +00:00
08168cac5e
Bug fixes with tokenSum calculation right before a contract is triggered
2023-10-09 07:52:48 +00:00
78b05be204
Cleanup : to make the scan more faster
2023-10-05 20:40:10 +00:00
dfc2a85da4
Added a check to make sure payeeAddress is not contractAddress
2023-10-05 20:36:46 +00:00
4e22b846fb
Fix internal transactions + Added another column referenceTxHash to contractwinners table
2023-09-29 12:05:04 +00:00
b7c9496eae
Added new helper scripts
2023-09-11 11:33:37 +00:00
cfaf2e2ed4
Fixed bug which was ignoring internal transactions
2023-09-05 17:18:36 +00:00
396e916a5b
Fix in logic of rebuild_withAPI
2023-08-26 21:23:21 +00:00
6a07e2bbc1
Added a util rebuild script which takes fresh data from the API too
2023-08-26 20:51:50 +00:00
6f6f3ce420
Added rebuild code
2023-08-22 10:49:34 +00:00
e011f7208a
Remove typo
2023-08-22 10:41:19 +00:00
9c7387795f
Pushing a base layer to so new branchlve merge issues during migration
2023-08-16 03:50:30 +00:00
44aa304f61
Fixed rollback
2023-08-12 17:51:13 +00:00
63a3c2344c
Changes required for blockbook migration
2023-08-09 14:48:56 +00:00
Vivek Teega
f62b3d196b
Merge pull request #39 from ranchimall/bugfix/swap-statef-testing
...
Test flodata parsing / build (push) Has been cancelled
Bugfix/swap statef testing
2023-06-11 23:10:57 +05:30
f20b8d9e8f
Added tokenAddressMapping in the missing places
2023-06-11 17:39:43 +00:00