Commit graph

93 commits

Author SHA1 Message Date
Boog900
86bbf55954
d -> h 2024-11-19 02:15:27 +00:00
Boog900
cde5294bf9
add startup code 2024-11-19 02:11:02 +00:00
Boog900
11468dc3b7
Merge branch 'p2p-request-handler' into init 2024-11-18 16:46:56 +00:00
Boog900
e11568357a
sort imports
Some checks failed
Deny / audit (push) Has been cancelled
2024-11-18 16:39:29 +00:00
Boog900
49db43180f
doc updates 2024-11-18 16:04:10 +00:00
Boog900
efa092572a
Merge branch 'main' into p2p-request-handler 2024-11-18 15:27:04 +00:00
Boog900
7c5fa6db20
fix ci 2024-11-10 21:20:52 +00:00
Boog900
e652c189e5
changes from matrix chats
Some checks are pending
Deny / audit (push) Waiting to run
2024-11-10 20:56:43 +00:00
Boog900
3664eb1b08
rename & fix default config file 2024-11-05 01:37:51 +00:00
5a5f4d1c7c
Merge branch 'main' into cuprated-config 2024-11-05 01:29:38 +00:00
Boog900
352dac694f
fix imports 2024-11-05 01:17:32 +00:00
Boog900
26653d428d
review comments 2024-11-05 01:14:36 +00:00
hinto-janai
372cab24d7
cuprated: internal signatures required for RPC pt. 2 (#320)
* apply diffs

* clippy

* fix tests

* rpc: fix tests

* remove `BlockchainManagerRequest::Overview`

* cuprated/p2p: fix `ConnectionInfo`

* move `CalculatePow`

* remove `AddAuxPow`

* move `Spans` and `NextNeededPruningSeed`

* factor types into `cuprate-types`

* scope cargo features

* fix/doc type serde

* Update binaries/cuprated/src/rpc/request/address_book.rs

Co-authored-by: Boog900 <boog900@tutanota.com>

* Update binaries/cuprated/src/rpc/request/blockchain_context.rs

Co-authored-by: Boog900 <boog900@tutanota.com>

* Update binaries/cuprated/src/rpc/request/blockchain_manager.rs

Co-authored-by: Boog900 <boog900@tutanota.com>

* fmt

* txpool: collapse `TxEntry`

* `ConnectionId`

* fix import

* fix bin

---------

Co-authored-by: Boog900 <boog900@tutanota.com>
2024-11-01 22:25:55 +00:00
44981f2b24
CI: add cargo hack (#170)
* add workflow

* fix errors

* fix workflow

* install dependencies

* fix more errors

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>

* fix hack + enable it for cuprate-database

* move hack to main CI

* fix docs

* fix ci formatting

* fix txpool tests

* fix CONTRIBUTING.md formatting

* service -> tower::Service

* review fixes

* review fixes

* fix CI

---------

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
2024-11-01 20:22:14 +00:00
Boog900
a14f122568
misc changes 2024-11-01 15:13:42 +00:00
Boog900
d0055f16bd
fix build
Some checks failed
Audit / audit (push) Has been cancelled
Deny / audit (push) Has been cancelled
2024-10-31 23:32:32 +00:00
Boog900
d982a48b78
Merge branch 'main' into p2p-request-handler
Some checks are pending
Audit / audit (push) Waiting to run
Deny / audit (push) Waiting to run
2024-10-31 15:56:37 +00:00
b57ee2f4cf
cuprated: txpool (#312)
Some checks failed
CI / fmt (push) Has been cancelled
CI / typo (push) Has been cancelled
Audit / audit (push) Has been cancelled
CI / ci (macos-latest, stable, bash) (push) Has been cancelled
CI / ci (ubuntu-latest, stable, bash) (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
Doc / build (push) Has been cancelled
Doc / deploy (push) Has been cancelled
* 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

* add function to start the pool

* add cross network address

* pre-review changes

* fix CI

* review fixes

* review fixes

* abort on DB error

* fix clippy
2024-10-29 15:30:51 +00:00
Boog900
f865ede656
add p2p clearnet init 2024-10-28 00:43:42 +00:00
Boog900
82a2133a8b
Allow IncomingTxHandler to be given later 2024-10-27 20:00:49 +00:00
Boog900
06b7429f9e
fix windows: the remix. 2024-10-27 13:26:32 +00:00
Boog900
fe28c70ad1
fix windows test
Some checks failed
Audit / audit (push) Has been cancelled
Deny / audit (push) Has been cancelled
2024-10-27 01:01:05 +00:00
Boog900
52305ffa2b
testing 2 2024-10-27 01:47:57 +01:00
Boog900
54f0bdee86
testing 2024-10-27 01:46:50 +01:00
Boog900
2751831a75
try fix windows 2024-10-26 23:35:11 +01:00
Boog900
cf34a8d2be
fix test & clippy 2024-10-26 21:32:47 +01:00
Boog900
d1f3eb40bf
misc changes 2024-10-26 21:21:27 +01:00
Boog900
3dc0049481
fix clap 2024-10-26 21:21:24 +01:00
0d29b1c1dc
Merge branch 'main' into cuprated-config 2024-10-26 20:55:10 +01:00
Boog900
5906e7d4b7
finish initial config. 2024-10-26 20:34:19 +01:00
SyntheticBird
63216aecae
workspace: Defines cuprate members as workspace dependencies (#326)
Some checks failed
Doc / build (push) Has been cancelled
CI / ci (macos-latest, stable, bash) (push) Has been cancelled
CI / ci (ubuntu-latest, stable, bash) (push) Has been cancelled
CI / ci (windows-latest, stable-x86_64-pc-windows-gnu, msys2 {0}) (push) Has been cancelled
Doc / deploy (push) Has been cancelled
Audit / audit (push) Has been cancelled
CI / fmt (push) Has been cancelled
CI / typo (push) Has been cancelled
Deny / audit (push) Has been cancelled
Defines cuprate members as workspace dependencies

- Defines cuprate members as workspace dependencies
- Changed all `path` import into `workspace = true`

Co-authored-by: Boog900 <boog900@tutanota.com>
2024-10-24 23:12:30 +01:00
Boog900
8d0c26c8a2
Merge branch 'main' into cuprated-config
Some checks failed
Audit / audit (push) Has been cancelled
Deny / audit (push) Has been cancelled
2024-10-17 16:51:41 +01:00
Boog900
5236ede85b
split sections 2024-10-17 16:50:38 +01:00
SyntheticBird
978d72b6c1
Move consensus context service into a subcrate. (#318)
Some checks failed
Architecture mdBook / build (push) Has been cancelled
Audit / audit (push) Has been cancelled
CI / fmt (push) Has been cancelled
CI / typo (push) Has been cancelled
Doc / deploy (push) Has been cancelled
CI / ci (macos-latest, stable, bash) (push) Has been cancelled
CI / ci (ubuntu-latest, stable, bash) (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
Doc / build (push) Has been cancelled
Co-authored-by: Boog900 <boog900@tutanota.com>
2024-10-17 00:17:58 +01:00
Boog900
54957c1033
handle incoming txs in p2p request handler 2024-10-14 23:37:16 +01:00
Boog900
511639d1b4
fix merge
Some checks failed
Audit / audit (push) Has been cancelled
Deny / audit (push) Has been cancelled
2024-10-14 21:10:09 +01:00
Boog900
5ba2bf020a
Merge branch 'cuprated-txpool' into p2p-request-handler 2024-10-14 21:03:15 +01:00
Boog900
dc482558db
fix merge 2024-10-14 21:02:47 +01:00
Boog900
bb7126bd96
Merge branch 'main' into p2p-request-handler 2024-10-14 20:51:54 +01:00
Boog900
6c1f871d81
remove blockchain height from txpool
Some checks failed
Audit / audit (push) Has been cancelled
Deny / audit (push) Has been cancelled
2024-10-14 20:24:12 +01:00
Boog900
bfb4cbf831
typos 2024-10-14 19:31:17 +01:00
Boog900
b8e96cffcb
fix merge 2024-10-14 19:25:00 +01:00
Boog900
e199b8c26d
Merge branch 'main' into cuprated-txpool 2024-10-14 18:56:24 +01:00
Boog900
fb29f32375
tell the txpool about incoming blocks 2024-10-14 18:15:43 +01:00
Boog900
5ab5b062fd
check txpool on incoming block 2024-10-13 22:43:53 +01:00
Boog900
93fb3c657c
handle duplicate stem txs 2024-10-13 18:35:58 +01:00
Boog900
2d5567e47b
Add missing txpool requests
Some checks failed
Audit / audit (push) Has been cancelled
Deny / audit (push) Has been cancelled
2024-10-13 02:20:45 +01:00
Boog900
b6d94cf780
finish incoming tx handler 2024-10-13 01:22:20 +01:00
Boog900
d2c7e49e80
add dandelion start function 2024-10-10 21:14:22 +01:00
Boog900
adf592e530
init dandelion integration 2024-10-10 20:12:18 +01:00