-
Notifications
You must be signed in to change notification settings - Fork 129
Ocean archive indexer and api server #2724
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
207 commits
Select commit
Hold shift + click to select a range
91282a7
Ocean endpoints scaffold
Jouzo 8956bbb
Model scaffold
Jouzo fc0f48c
Start ocean server
Jouzo 42b01a1
Remove storage changes
Jouzo cd00f58
Ocean list pagination + json req/res (#2737)
canonbrother d0cd25d
Ocean indexing scaffold
Jouzo 641ed94
Ocean API: rocks db implementation for ocean API (#2728)
nagarajm22 1865191
WIP: Ocean test suite CI (#2734)
canonbrother 35362b2
Fix manger typo
Jouzo b3aee67
Add -oceanarchive flag
Jouzo 5a067b0
Ocean API MN typing (#2744)
canonbrother c2885f3
Adds cached crate
Jouzo 491362b
Fix format
Jouzo 4c5b090
WIP: Ocean API database implementation to all modules (#2748)
nagarajm22 b675fea
Enhance Ocean database implementation (#2762)
Jouzo 6937cd1
Fix ocean ci docker not found (#2759)
canonbrother a73860a
BlockService
Jouzo 9a7b078
Finish Masternode indexing impl
Jouzo 0acc887
Use serde as default Column trait implementation (#2765)
Jouzo 1d56342
Fix build
Jouzo 274beca
Add 404 handler
Jouzo 9f27d77
Cleanup db iter method
Jouzo 8cad7f9
Remove need for nightly
Jouzo fd5932f
Index auction (#2771)
Jouzo 0f99a2f
Use single block context (#2773)
Jouzo 915a79d
Fix fmt
Jouzo c391fe8
Ocean: block indexing (#2777)
canonbrother 9f8770d
Index swap and swap result (#2778)
Jouzo 0fe7ce7
Ocean: Genesis block indexed + missing mn info update (#2791)
canonbrother 6b6272e
Ocean: RPC client (#2793)
Jouzo 2639bf2
Ocean: Highest block endpoint (#2799)
Jouzo 4ad383c
Accept height in /blocks/:id
Jouzo 03f03af
WIP: Implementation for ocean-API transaction module (#2781)
nagarajm22 11b4860
Log indexing time
Jouzo d9598bb
Ocean: Fix Transaction index typing (#2801)
Jouzo b9ff0c8
Ocean: Governance API (#2805)
Jouzo aea2a96
Format cpp
Jouzo d69bf28
Ocean CI Refinement (#2764)
canonbrother 45a3a89
update ocean ci target branch
canonbrother 2c24380
WIP : Ocean Fixing transaction Indexing bugs (#2802)
nagarajm22 20a283f
Fix: Ocean resp get (#2811)
canonbrother 4da1982
Fix RPC port (#2815)
Jouzo 24a9275
pagination size serde_with displayfromstr
canonbrother 62ddeb1
deserialize undefined to none
canonbrother e204056
Ocean: async RPC client (#2817)
Jouzo 27578f6
Format rs
Jouzo 2c3cf35
Stats API initial impl (#2819)
Jouzo 6d98c23
Ocean: Masternode API (#2820)
Jouzo 5337d8c
Correct API Decimal float serialization
Jouzo 280c9f1
Ocean: Ocean loan API initial impl (#2823)
Jouzo 668b897
typo stats/reward/distribution
canonbrother d2e4d63
Fix list block API (#2826)
canonbrother dce747f
Ocean: Initial Scan support (#2829)
Jouzo d4b9bb3
Fix block indexing
Jouzo 3c123d2
Ocean: fix ocean api tx get (#2831)
canonbrother 4db943b
Revert Column default impl
Jouzo e567c13
Revert cache changes
Jouzo f4679ad
Revert code cache changes
Jouzo 544ac6b
Clippy cleanup
Jouzo bba99a6
Fix TransactionId visibility
Jouzo 4b4e871
dftx-rs as crate (#2832)
Jouzo 5d010c3
Merge branch 'master' into feature/ocean-archive
Jouzo b7a951d
Restore clippy
Jouzo a618882
Clippy
Jouzo 5af42b5
Clippy tests
Jouzo c054019
Fix RepositoryOps trait arg names
Jouzo 42c7898
Fix: ocean api tx getvins (#2833)
canonbrother dbb21cc
Ocean: Use custom axum path extractor (#2836)
canonbrother 025640b
Ocean: Cleanup data acess (#2837)
Jouzo 95d7b3f
Disable cache on build-dev
sieniven 851d0c5
Cleanup ocean deps
Jouzo 1c9b6a0
Re-enable CI caching
sieniven 3bd491d
Fix: ocean api tx get vouts (#2834)
canonbrother 79798d9
Merge branch 'master' into feature/ocean-archive
Jouzo 246b26f
Set MACOSX_DEPLOYMENT_TARGET in macos cross compile
Jouzo 700d235
Ocean cli (#2844)
Jouzo dae2d12
Update rustc version to 1.76
Jouzo a95cecc
Add todo fallback poolswap comment
Jouzo 30c645b
Clippy
Jouzo 9182131
Add RUST_DEFAULT_VERSION and MACOSX_DEPLOYMENT_TARGET to ci_export_vars
Jouzo 53a3ece
Overwrite RUST_DEFAULT_VERSION
Jouzo 6a62631
Merge branch 'master' into feature/ocean-archive
Jouzo 4df2c81
Use defich/rust-defichain-rpc
Jouzo 80706e7
Merge branch 'master' into feature/ocean-archive
Jouzo 5aff3e8
Network Type for ocean API (#2861)
nagarajm22 f94ebe5
Merge branch master into feature/ocean-archive
Jouzo fd0539d
Implementation of oracle indexing (#2862)
nagarajm22 60f5acd
Clippy
Jouzo ed0267f
Restore txid in Transaction
Jouzo afb1d43
Update index mapper and oracle invalidate interval (#2888)
nagarajm22 7b20110
Merge branch 'master' into feature/ocean-archive
Jouzo 4f87db4
Handle masternode state (#2889)
Jouzo 81e256c
Fix doc
Jouzo 25c19d5
Add support for mocknet
Jouzo d656a19
Parse 'main' as mainnet network
Jouzo 5ca1db5
Trigger lint on feature/** branches
Jouzo 489a8a7
Fix missing ethsubscription doc
Jouzo c7c78af
Merge branch 'master' into feature/ocean-archive
Jouzo 6e46734
Merge branch master into feature/ocean-archive
Jouzo ada8b10
Ocean: Api PoolPair (#2838)
canonbrother 7f02b0f
Ocean: Remove poolpair API unwraps (#2913)
Jouzo d62bb52
Merge branch 'master' of github.com:DeFiCh/ain into feature/ocean-arc…
Jouzo fed50af
Restore GetByteArray()
Jouzo 580ca18
Merge branch master into feature/ocean-archive
Jouzo 5325100
Ocean: list pool swap aggregates (#2918)
canonbrother 34b6201
Impl new in repository macro
Jouzo e5a556b
Ocean: list dex prices api (#2923)
canonbrother b892a42
ocean indexing active price (#2892)
nagarajm22 0fe051a
Ocean: poolpair apr & volume (#2925)
canonbrother 88719d4
Ocean list pool swap verbose api (#2926)
canonbrother dd360ce
Expose skipped txs to ocean (#2931)
Jouzo 0e12703
fix split account by @ (#2934)
canonbrother 86e1d43
Ocean: Fix cli linking issue. Add rust native skipped_txs
Jouzo 0d733d0
Ocean: poolswap fallback handling (#2932)
canonbrother 5751b16
Ocean: Index createpoolpair result (#2936)
Jouzo ebcc7fd
Ocean: add error field in ApiError (#2938)
canonbrother 88a7d77
Merge branch master into feature/ocean-archive
Jouzo 488f9ad
Remove cli indexer
Jouzo 38e27f2
Flatten dftx check
Jouzo ae6d0a3
Ocean: fix `PoolCreationHeight` sorting & add `CompositeSwap` Aggrega…
canonbrother 4e3902b
RawTx API (#2921)
nagarajm22 a284782
Ocean: fix governance APIs (listProposals, getProposal, listProposalV…
nagarajm22 5700a1d
Ocean: address indexers + apis (#2946)
canonbrother 1fc3b4e
Ocean: api address list tokens (#2960)
canonbrother 051b569
Ocean: api address get account history (#2967)
canonbrother 4186f2b
Ocean: list auctions api (#2942)
canonbrother 9d79115
Ocean: vault get + list apis (#2958)
canonbrother 53835b1
Ocean: finishing get/list loan token api (#2968)
canonbrother feb799e
Ocean: api list vaults by address (#2974)
canonbrother 6b5b7dd
Ocean: Implements `index_block_end ` (#2969)
nagarajm22 47a8f1b
Ocean: Fixed oracle invalidate methods (#2973)
nagarajm22 a9defef
Ocean: Error handling cleanup (#2978)
Jouzo cad2fa4
Ocean: fix decimal division by zero (#2977)
canonbrother 8249b2f
Remove unwrap (#2979)
Jouzo 2a25a87
Ocean: `checked_div` default value as 1 (#2981)
canonbrother 8e6811d
Ocean: set loopback + cors (#2983)
canonbrother 5fca655
Merge branch master into feature/ocean-archive
Jouzo c32acb7
Merge branch 'master' of github.com:DeFiCh/ain into feature/ocean-arc…
Jouzo 1726a74
Ocean: revamp setoracledata indexer (#2987)
canonbrother 68e4295
Merge branch 'feature/ocean-archive' of github.com:DeFiCh/ain into fe…
Jouzo 6f0a9b1
Ocean: fix todo on get_stats (#2989)
canonbrother fb9c235
weightage u8 (#2992)
canonbrother f523e19
Auto ocean port
Jouzo 0e287ea
fix typo (#2995)
canonbrother d62c177
Ocean: cache refined (#2999)
canonbrother 9d95333
Ocean: fix loan token indexer (#2998)
canonbrother 8feb418
Ocean: CollateralToken.active_price + typing amount: decimal (#2990)
canonbrother 79dce23
Ocean: cache list pool pairs api (#3000)
canonbrother 347f632
check_evm_tx within vin loop (#3004)
canonbrother 6cd0242
Ocean: refactor tables (#3014)
Jouzo bb24bd8
Ocean: fix rm oracle indexer, oracle & price apis (#3013)
canonbrother fb42f7e
Ocean: feat Snafu (#3017)
canonbrother e1b3dbe
Merge branch master into feature/ocean-archive
Jouzo e85b43d
Clippy
Jouzo 59f00ee
Granular ocean flags
Jouzo f921757
Cleanup logs
Jouzo 4858dbb
Remove unused macro
Jouzo 409fac8
Fix clippy
Jouzo ca75ae5
Remove unused imports
Jouzo 87a2a6f
Remove unused deps
Jouzo 073eeff
Ocean: fix map loan collateral active price (#3027)
canonbrother 337f937
Ocean: feat. indexer invalidate (#3028)
canonbrother da1665b
Merge branch master into feature/ocean-archive
Jouzo 48a383c
Merge branch 'master' into feature/ocean-archive
Jouzo 912e382
Ocean: Reduce disk usage (#3045)
Jouzo 6f581bc
Ocean: fix outdated pool (#3046)
canonbrother ec48975
Add /debug/dumptables endpoint (#3049)
Jouzo 6d7ab3a
Ci/sync with ocena activate
Jouzo fc0791f
Revert "Ci/sync with ocena activate"
Jouzo 9e3d137
Ocean: refactor consolidate index script loop (#3052)
canonbrother c4d795d
Merge branch 'master' into feature/ocean-archive
Jouzo 9bf64f4
Ocean: cleaup pricefeeds (#3054)
Jouzo 7019739
Ocean: refactor `from_script` (#3056)
canonbrother 32dae60
Cleanup tokio
Jouzo 20ca25d
get to_amount from index (#3055)
canonbrother e76de13
Ocean: chore pool model cleanup (#3057)
canonbrother c41fc25
Log txs
Jouzo 4739a39
Log index script and remove clones
Jouzo 8bb6d98
Cleanup clones
Jouzo 67792e5
Cleanup ScriptAggregation
Jouzo 1c59be3
Checked_add weightage
Jouzo 0e044a2
Accept "test" as testnet name
Jouzo 29b79c3
Merge branch 'master' into feature/ocean-archive
Jouzo ae8be4e
invalidate order correction (#3064)
canonbrother 3f9fd76
Ocean feat: replace `rpc::get_token` by `ffi::get_token` (#3061)
canonbrother 5ec692f
Add ocean_index_block logs
Jouzo d422a1b
Ocean model weightage as u32
Jouzo 12985df
Merge branch 'master' into feature/ocean-archive
Jouzo d4a6ab5
Ocean: chore oracle/price model cleanup (#3067)
canonbrother 3748eb9
Merge branch 'master' into feature/ocean-archive
Jouzo 9a6ce3a
Ocean: cache pool utils (#3069)
canonbrother b73ec36
Rename LoanCount to camelCase
Jouzo 8c9ec8e
handle diff usdt pool naming (#3070)
canonbrother 939cd54
Merge branch 'master' into feature/ocean-archive
Jouzo 420c38c
Debug ocean endpoint error
Jouzo 3648669
Terser logs
Jouzo 19fea19
Ocean: fix get apr default if any zero (#3075)
canonbrother 995116b
Rename ocean rest* to server
Jouzo 5d47699
Update gArgs access
Jouzo c573c31
Grammar
Jouzo 02f7f95
Fix guard
Jouzo 04716fa
Cleanup -oceanarchive default
Jouzo 34145e3
Fix client host
Jouzo 5b3525d
Cleanup logs
Jouzo 9224e8a
Cache with sync_writes
Jouzo c5ea970
Revert "Cleanup -oceanarchive default"
Jouzo e853878
Sort poolpairs by id
Jouzo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note, we might need to let this be configured from the flags similar to the rest as if the IP binding is different, it might not work