Commit Graph

101 Commits

Author SHA1 Message Date
godmodegalactus a44923c334
Updating to version 0.2.4 2024-01-29 13:11:54 +01:00
Groovie | Mango 7171b524f0
Feature/block priofees (#274)
* boilerplate

* add dummy endpoint

* simple logic with highes block

* endpoint works

* remove cu calculus

* log get_latest_block startup timing

* websocket subscription basics

* WIP

* propagate fees via channel

* cleanup

* use broadcast sender

* proper handling of broadcast channel issues

* rename stuff

* move to dedicated crate

* cleanup deps

* move data definition

* hide private types

* percentile math

* code format

* integrated stats by cu

* add cu stats

* restart inline asserts

* warn about DashMap access

* switch to BTreeMap

* remove vote transactions from calculus

* return vec

* array

* flat format

* reformat

* split arrays

* rename keys

* enable experimental tag

* code format

* more logging

* reset log level

* rename websocket method to blockPrioritizationFeesSubscribe

* HACK: use processed blocks

* add is_vote_transaction

* do not fail if fees goes down

* udp message size example

* imrpove 100 handling

* simplify inital sort

* Revert "HACK: use processed blocks"

This reverts commit ff17d9475c.

* add percentile test case

* add per block cu_consumed+tx_count(nonvote)

* fix supid cleanup bug

* add TxAggregateStats

* add by_cu test

* add alternative cu percentlie impl

* cleanup cu tests

* add check for step

* saturating_sub

* remove useless file

* add is_vote to history crate

* fix fmt+clippy (nightly)

* clippy

* clippy

* clippy

* clippy
2024-01-25 10:29:14 +01:00
Groovie | Mango 705a08c2c6
fix some namings (#298)
* fix some namings

* clipp

* make run_clippy_fmt.sh executable
2024-01-23 08:17:48 +01:00
galactus de26490e9c
Squash and merging all the commits from groovies branch groovie/post… (#300)
* Squash and merging all the commits from  groovies branch groovie/postgres_saving_blocksII

* Ingore tests which require postgres
2024-01-22 15:22:11 +01:00
galactus 33cca71d49
Making block subscription processed and moving confirmed block subscr… (#291)
* Making block subscription processed and moving confirmed block subscription to meta

* Sending both processed and confirmed blocks, if block has already been confirmed
2024-01-21 13:56:40 +01:00
galactus 4d4019264e
Fixing message too long and overflow panics (#288) 2024-01-18 15:11:29 +01:00
galactus 4ed7eead8b
Adding prometheus metrics to follow quic states (#277) 2024-01-16 11:30:40 +01:00
galactus bea39d8c6a
Migrating to solana v1.17.15 (#273) 2024-01-15 18:43:48 +01:00
godmodegalactus 78e1bb2b79
More clippy changes 2024-01-12 16:39:19 +01:00
godmodegalactus c3da6ad1b6
cargo fmt and clippy issues 2024-01-12 14:40:48 +01:00
godmodegalactus 2498950583
Reconnecing to block stream and slot stream incase of error 2024-01-12 14:33:00 +01:00
Groovie | Mango f910587553
fix prioritization_fees overflow (#245)
* fix prioritization_fees overflow

* suggest inline

* Cargo fmt

---------

Co-authored-by: galactus <96341601+godmodegalactus@users.noreply.github.com>
Co-authored-by: godmodegalactus <godmodegalactus@gmail.com>
2024-01-11 14:16:32 +01:00
galactus 185cbd379b
Merge pull request #267 from blockworks-foundation/reducing_network_usage_by_fetching_only_finalized_blockmeta-groovie
Reduce network by only fetching block meta instead of whole block
2024-01-11 13:16:52 +01:00
GroovieGermanikus 9ef773c129
refactoring 2024-01-08 14:14:59 +01:00
musitdev 032232f6f3 add rpc leader shedule loading if the bootstrap file is not present 2024-01-05 15:58:25 +01:00
musitdev 402ebd69b1 correct from PR remarks 2024-01-04 13:36:13 +01:00
musitdev 93ab67db18 test leader and vote RPC calls 2024-01-03 10:21:06 +01:00
musitdev 901b76c4e0 pass fmt and clippy 2024-01-03 10:20:18 +01:00
musitdev b02ee5f45f correct geyser stake history subscription 2024-01-03 10:20:18 +01:00
musitdev 69754a019a start get_leader_slot, update for get_vote_account 2024-01-03 10:20:18 +01:00
musitdev b3317667a6 first impl for RPC get_vote_accounts 2024-01-03 10:20:18 +01:00
musitdev 85b3eb3faf correct clippy warning 2024-01-03 10:20:18 +01:00
musitdev 0e5f607ad1 add the leader schedule calculus 2024-01-03 10:20:18 +01:00
musitdev 3e4c81c567 Stake and vote management. Integration of the main loop in current architecture 2024-01-03 10:20:14 +01:00
Aniket Prajapati a4fdc1554a
-D clippy (#252)
* -D clippy

* scripts

* fmt

* commented out

* diff clippy and build

* fix

* push -> main
2023-12-08 03:26:41 +05:30
Aniket Prajapati 8d5e598d51
identity (#249) 2023-11-27 21:01:59 +05:30
Aniket Prajapati 3eecb89b81
simple config, env and cli (#247)
* simple config, env and cli

* fix comp

* init env first

* added env override

* postgres config

* fmt

* updated env in readme

* examples

* a
2023-11-27 14:24:59 +05:30
Godmode Galactus e65ef4558b
restoring block polling with semaphore, some more changes related to processed slots and tpu manager 2023-10-25 20:54:19 +02:00
Godmode Galactus e025f91650
Adding some optimization 2023-10-25 10:37:20 +02:00
Steve 12c97b88d1
Merge pull request #228 from grooviegermanikus/groovie/disable-gso-flag
disable gso (generic segmentation offload)
2023-10-13 23:22:50 +02:00
GroovieGermanikus 35c86ca2fd
fix comments 2023-10-10 11:36:17 +02:00
GroovieGermanikus 83f9bdf9e0
simplify 2023-10-09 18:00:23 +02:00
GroovieGermanikus 617f7511ce
refactor flag propagation 2023-10-09 17:58:43 +02:00
GroovieGermanikus 9f502e17d7
remove unused import 2023-10-09 17:39:47 +02:00
godmodegalactus fe3509c7ee
after musitdev review 2023-10-06 10:44:39 +02:00
GroovieGermanikus e8edcee127
rework flag method 2023-10-04 21:01:07 +02:00
GroovieGermanikus d353569dbb
WIP: add DISABLE_GSO env flag 2023-10-04 20:44:52 +02:00
galactus f9dfcf4891
Merge pull request #223 from blockworks-foundation/epoch_integration
Epoch integration
2023-10-04 20:29:57 +02:00
galactus 72cea3a32e
Merge pull request #224 from blockworks-foundation/save_transaction_message_in_store
Removing postgres_session and moving it to history, start to implemen…
2023-10-04 20:29:38 +02:00
godmodegalactus 53fc6b482a
Update counters only if transactions are sent by literpc 2023-10-04 17:29:12 +02:00
musitdev 178da3cc00 use commitment config for RPC call 2023-10-04 17:11:08 +02:00
godmodegalactus fc1810cc89
Removing postgres_session and moving it to history, start to implement saving blocks 2023-10-04 15:25:06 +02:00
musitdev c6aba8f396 Epoch integration 2023-10-04 11:28:18 +02:00
godmodegalactus 2730ea504e
changing name blockhash to recent_blockhash 2023-10-03 12:51:18 +02:00
godmodegalactus 480631de72
Save all transactions in the cache, save transaction messages too, Increase transaction store size 2023-10-03 11:36:38 +02:00
galactus 3cdab51676
Merge pull request #216 from blockworks-foundation/prioritize_unistream_on_connected_connections
Trying to pick free connection in order so that we prioritize connect…
2023-09-26 18:31:10 +02:00
Godmode Galactus eed573601f
minor change 2023-09-26 16:53:13 +02:00
Godmode Galactus be435249ed
Trying to pick free connection in order so that we prioritize connection that already have been established 2023-09-26 16:28:05 +02:00
godmodegalactus 886c80faa6
adding previous blockhash and renaming txs to transactions 2023-09-21 16:08:41 +02:00
godmodegalactus 7ef29e1af6
implementing history, block storage method
changes after groovies review
2023-09-21 15:39:25 +02:00