Commit bcc71fa
Development to main (#1565)
* extend features flags config values
* fixes after review + test fix
* set more default configs to false
* fixes after merge
* Enhance error handling in GatewayProxyController for block retrieval by hash (#1545)
* use EsdtType instead of hardcoded values (#1544)
* token service improvements (#1543)
* processes 50 tokens concurrently using ConcurrencyUtils
* run all three batch operations in parallel with increased concurrency
* add more logs
* apply mex prices
* add logs ( to be removed )
* increse cron time expression
* set cron to 2 minutes
* Websocket subscriptions (#1528)
* add websockets for blocks and txs
* add support for subscribe to stats
* use websockets rooms
* remove logs
* add lock on crons
* check stats room exists
Signed-off-by: GuticaStefan <stefan.gutica@gmail.com>
* fix indent spaces
* add validation pipes + filters
* add try catch + class validator fixes
* fix linter
* add pool subscription + reduce filters combinations for subscriptions
* lint
* add support for events subscription
* lint
* separate subscription websocket into separate app
* add config
* add path
* fix
* add path for events + config default settings
* temp logs
* temp logs 2
* added missing configs + remove temp logs
* enable andromeda in config
* add metrics on subscription
* remove async + reschedule
* refresh metrics every second
* set max listeners to 12
* add EOL
* add count on update + parallel broadcast to rooms
* lower ttl for blocks count cache
* remove comments
* remove comments
* renaming
---------
Signed-off-by: GuticaStefan <stefan.gutica@gmail.com>
Co-authored-by: bogdan-rosianu <bogdan.rosianu@yahoo.com>
Co-authored-by: cfaur09 <catalinfaurpaul@gmail.com>
* log instead of error for invalid legacy delegation contract (#1542)
* implement event logAddress filter (#1548)
* implement event logAddress filter
* implement topics filter
* Token market cap updates (#1550)
* token mcap update
* add logs
* extend logs
* add support for timestampMs for account
* fix unit tests
* improve token fetch price (#1549)
* improve token fetch price
* remove logger
* update spec
* fix lint error
* add logs for error
* add price
* Enhance NFT type support in cache warmer and collection services (#1552)
* Refactor function filter application in ElasticIndexerHelper to enhance query conditions with AND operator and existence checks (#1554)
* apply supply info for all tokens (#1558)
* Refactor token market cap calculation to ensure price and circulating supply are checked before computation
* add specs
* fix lint
* added reserved field to blocks (#1560)
* add support for custom url custom headers (#1557)
* Add custom URL headers support and enhance token data fetching
* Enhance custom URL headers handling by adding JSON parsing and validation checks
* add logs
* fixes
* remove app.hatom.com value
* add EOL
* fix indentation
* API-741: staking v5 support
* bugfix
* fix lint
* refactor
* fixes
* try-catch for queue computing
* hotfix disable snapshotless
* revert
* add staking v5 activation epoch feature
* added devnet config
* small fix
* added mainnet config
* add stakingv5 e2e configs
* Deprecate relayed v1/v2 (#1564)
* Add transaction reordering by nonce for account sent transactions
* add relayed deprecation to transfers as well
* add custom subscriptions
* fix lint
* fix lint & unit tests
* hardcode class fields
* lint
* refactor
* add tests for room key generator
* iterate over round only if there are active subscriptions
* improvements
* add support for unsubscribe
* lint
* add support for events
* add support for timestampMs in ES
* lint
* hardcode timestamp supernova in the future
* extra checks + clean code
* fixes
* fixes
* typo
* use latest chainsim
* fix
* add unit tests for transaction reordering by nonce for account sent transactions (#1572)
* add chain simulator e2e tests
* lint
* fix
* missing comma
* fix
* Refactor account, NFT, and transaction services to improve concurrency and caching
* improve NFT bulk fetch + applyOwner
* add no empty payload validator for custom subscriptions
* add global subscription limiter
* remove log
* add e2e tests for events
* lint
* added metric per topics
* updates
* implement ConcurrencyUtils in collection service
* add tests for general subscriptions
* add newline
* use timestampMs
* revert e2e mainnet config
* custom verbose
* use timestampMs on chain sim network
* add subscription limits to config
* fix
* update configs
* use barnard config
* typo
* added readme
* typo
* add lock on subscriptions
* use same key for lock
* fix
* add async mutex
* lint
* return success status on stats
* return unsubscribed status on stats
* config update
* collection service improvments
* fix spec
* fixes
* fixes
* add support for transfers subscription
* add support for token transfers subscriptions
* add ws transfers e2e tests
* fix unit tests
* fix transction filters cache
* remove duplicate code
* add new line
* encapsulate into variable
* renaming
* refactoring + skip unneeded iterations for duplicate keys
* explanation comments
* add unit test for disallowed field comb constraint
* fixes after review
* add configurable broadcast interval
* add check keys present for transfers + events filtered
* remove async await
* fix
* fix nft attributes source
* fix lint
* allow admins to trigger nft updates
* print
* revert log
---------
Signed-off-by: GuticaStefan <stefan.gutica@gmail.com>
Co-authored-by: Catalin Faur <52102171+cfaur09@users.noreply.github.com>
Co-authored-by: Gutica Stefan <123564494+stefangutica@users.noreply.github.com>
Co-authored-by: cfaur09 <catalinfaurpaul@gmail.com>
Co-authored-by: GuticaStefan <stefan.gutica@gmail.com>1 parent fe23ca8 commit bcc71fa
75 files changed
Lines changed: 3011 additions & 388 deletions
File tree
- config
- src
- common
- api-config
- indexer
- elastic
- entities
- metrics
- crons/websocket
- endpoints
- accounts
- applications
- blocks/entities
- collections
- entities
- esdt
- events
- entities
- network
- entities
- nfts
- process-nfts
- rounds/entities
- tokens
- transactions
- entities/dtos
- transaction-action/entities
- transfers
- websocket/entities
- test
- chain-simulator
- config
- docker
- utils
- unit
- controllers
- crons/websocket
- services
- utils
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
57 | | - | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
| |||
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
67 | | - | |
| 70 | + | |
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
73 | 86 | | |
74 | 87 | | |
75 | 88 | | |
| |||
110 | 123 | | |
111 | 124 | | |
112 | 125 | | |
113 | | - | |
| 126 | + | |
114 | 127 | | |
115 | 128 | | |
116 | | - | |
| 129 | + | |
117 | 130 | | |
118 | 131 | | |
119 | | - | |
| 132 | + | |
120 | 133 | | |
121 | 134 | | |
122 | 135 | | |
| |||
179 | 192 | | |
180 | 193 | | |
181 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
182 | 199 | | |
183 | 200 | | |
184 | 201 | | |
185 | 202 | | |
186 | 203 | | |
187 | 204 | | |
188 | 205 | | |
189 | | - | |
| 206 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
19 | 26 | | |
20 | 27 | | |
21 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
71 | 81 | | |
72 | 82 | | |
73 | 83 | | |
| |||
121 | 131 | | |
122 | 132 | | |
123 | 133 | | |
124 | | - | |
| 134 | + | |
125 | 135 | | |
126 | 136 | | |
127 | 137 | | |
| |||
183 | 193 | | |
184 | 194 | | |
185 | 195 | | |
| 196 | + | |
| 197 | + | |
186 | 198 | | |
187 | 199 | | |
188 | | - | |
| 200 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
71 | 84 | | |
72 | 85 | | |
73 | 86 | | |
| |||
111 | 124 | | |
112 | 125 | | |
113 | 126 | | |
114 | | - | |
| 127 | + | |
115 | 128 | | |
116 | 129 | | |
117 | | - | |
| 130 | + | |
118 | 131 | | |
119 | 132 | | |
120 | | - | |
| 133 | + | |
121 | 134 | | |
122 | 135 | | |
123 | 136 | | |
124 | | - | |
| 137 | + | |
125 | 138 | | |
126 | 139 | | |
127 | 140 | | |
| |||
183 | 196 | | |
184 | 197 | | |
185 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
186 | 203 | | |
187 | 204 | | |
188 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
64 | | - | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
70 | 83 | | |
71 | 84 | | |
72 | 85 | | |
| |||
110 | 123 | | |
111 | 124 | | |
112 | 125 | | |
113 | | - | |
| 126 | + | |
114 | 127 | | |
115 | 128 | | |
116 | | - | |
| 129 | + | |
117 | 130 | | |
118 | 131 | | |
119 | | - | |
| 132 | + | |
120 | 133 | | |
121 | 134 | | |
122 | 135 | | |
123 | | - | |
| 136 | + | |
124 | 137 | | |
125 | 138 | | |
126 | 139 | | |
| |||
182 | 195 | | |
183 | 196 | | |
184 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
185 | 202 | | |
186 | 203 | | |
187 | 204 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
| |||
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
223 | | - | |
| 224 | + | |
0 commit comments