Commit Graph

23 Commits

Author SHA1 Message Date
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
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
vuittont60 95a3f7d66c
Fix some typos (#260)
* fix typos in benches/

* fix typos in cluster-endpoints/

* fix typos in quic-forward-proxy/

* fix typo in README.md
2024-01-02 20:52:46 +05:30
godmodegalactus 7113046d66
Resubscribing grpc block subsciption on failure, get vote accounts every 10 minutes instead of 1s 2023-12-01 11:12:54 +01:00
Godmode Galactus e6d2ab897e
Update grpc version to 0.11.0 so that we can use the latest triton service 2023-11-14 10:42:58 +01:00
Arrowana 15ffb44f6e allow x-token 2023-11-07 21:04:17 +11:00
Godmode Galactus a78866dc25
reverting logic of block polling 2023-10-25 18:49:38 +02:00
Godmode Galactus 4838912c2e
avoid fetching whole finalized block 2023-10-25 16:07:46 +02:00
Godmode Galactus aee33215c7
fixing prometheus metrics name 2023-10-25 11:41:04 +02:00
Godmode Galactus e025f91650
Adding some optimization 2023-10-25 10:37:20 +02:00
godmodegalactus 7ef29e1af6
implementing history, block storage method
changes after groovies review
2023-09-21 15:39:25 +02:00
Godmode Galactus 7ce00a2642
changes after groovies review 2023-09-19 16:49:46 +02:00
Godmode Galactus fc33b6bf06
Replacing last_processing_slot with processed slot 2023-09-08 14:05:54 +02:00
Godmode Galactus 797ed8d556
Minor compilation changes 2023-09-08 13:57:55 +02:00
Godmode Galactus 3e4ec00f0a
Minor buig fixes 2023-09-08 13:55:17 +02:00
Godmode Galactus d6934f8051
Improve block polling 2023-09-08 12:01:32 +02:00
Godmode Galactus f5b6c09bbd
Use counting semaphore to improve block polling 2023-09-08 11:11:11 +02:00
Godmode Galactus d16bd5bd0d
RPCTester should test rpc and not self 2023-09-07 16:46:14 +02:00
GroovieGermanikus 15fc953c63 fmt 2023-09-04 15:36:20 +02:00
GroovieGermanikus d91b1d9d20 opt for borsh0_10 instead of borsh (0.9) as suggested 2023-09-04 15:09:51 +02:00
Godmode Galactus 9fd6af9f98
fix slot polling issue 2023-09-02 08:29:50 +02:00
aniketfuryrocks 3606a1242e
fmt 2023-08-31 22:07:12 +05:30
Godmode Galactus a418fe7fc7
Refactoring the code from gyser branch and merging into master 2023-08-31 12:34:13 +02:00