cuprate/p2p/p2p-core/src
Boog900 7b8756fa80
Some checks failed
CI / fmt (push) Has been cancelled
CI / typo (push) Has been cancelled
CI / ci (macos-latest, stable, bash) (push) Has been cancelled
CI / ci (ubuntu-latest, stable, bash) (push) Has been cancelled
Doc / build (push) Has been cancelled
Doc / deploy (push) Has been cancelled
CI / ci (windows-latest, stable-x86_64-pc-windows-gnu, msys2 {0}) (push) Has been cancelled
Deny / audit (push) Has been cancelled
cuprated: P2P protocol request handler (#303)
* add cuprated skeleton

* fmt and add deny exception

* add main chain batch handler

* add blockchain init

* very rough block manager

* misc changes

* move more config values

* add new tables & types

* add function to fully add an alt block

* resolve current todo!s

* add new requests

* WIP: starting re-orgs

* add last service request

* commit Cargo.lock

* add test

* more docs + cleanup + alt blocks request

* clippy + fmt

* document types

* move tx_fee to helper

* more doc updates

* fmt

* fix imports

* remove config files

* fix merge errors

* fix generated coins

* handle more p2p requests + alt blocks

* clean up handler code

* add function for incoming blocks

* add docs to handler functions

* broadcast new blocks + add commands

* add fluffy block handler

* fix new block handling

* small cleanup

* increase outbound peer count

* fix merge

* clean up the blockchain manger

* add more docs + cleanup imports

* fix typo

* fix doc

* remove unrelated changes

* add `get_objects` handler

* add `get_chain` handler

* add `fluffy_missing_txs` handler

* add `new_fluffy_block` handler

* improve interface globals

* manger -> manager

* enums instead of bools

* move chain service to separate file

* more review fixes

* sort imports + docs

* init dandelion integration

* add dandelion start function

* finish incoming tx handler

* Add tx blob hash table

* Add missing txpool requests

* handle duplicate stem txs

* check txpool on incoming block

* add request to remove tx in new blocks from the pool

* tell the txpool about incoming blocks

* fix merge

* typos

* remove blockchain height from txpool

* fix merge

* fix merge

* handle incoming txs in p2p request handler

* Allow `IncomingTxHandler` to be given later

* add p2p clearnet init

* fix build

* misc changes

* doc updates

* more doc updates

* sort imports

* review changes

* Result -> DbResult

* use `NonZero`

* review fixes

* remove `rust-2024-compatibility` lint
2024-12-03 20:21:05 +00:00
..
client P2P: Change ClientPool to PeerSet (#337) 2024-11-20 01:37:52 +00:00
network_zones P2P: move seed nodes to config (#306) 2024-10-07 23:36:46 +01:00
protocol cuprated: P2P protocol request handler (#303) 2024-12-03 20:21:05 +00:00
client.rs P2P: Change ClientPool to PeerSet (#337) 2024-11-20 01:37:52 +00:00
constants.rs workspace: enforce crate/directory naming scheme (#164) 2024-06-24 02:30:47 +01:00
error.rs p2p/p2p-core: enable workspace lints (#288) 2024-09-21 01:37:06 +01:00
handles.rs p2p/p2p-core: enable workspace lints (#288) 2024-09-21 01:37:06 +01:00
lib.rs workspace: add/fix 1.83 lints (#353) 2024-11-28 19:53:59 +00:00
network_zones.rs workspace: enforce crate/directory naming scheme (#164) 2024-06-24 02:30:47 +01:00
protocol.rs cuprated: P2P protocol request handler (#303) 2024-12-03 20:21:05 +00:00
services.rs cuprated: internal signatures required for RPC pt. 2 (#320) 2024-11-01 22:25:55 +00:00
types.rs cuprated: internal signatures required for RPC pt. 2 (#320) 2024-11-01 22:25:55 +00:00