Boog900
f15a754c50
update rust to 2024
2025-03-07 18:45:35 +00:00
Boog900
435c6b717f
fix clippy
2025-03-06 21:52:18 +00:00
Boog900
8c268aa841
fmt
2025-03-06 21:20:58 +00:00
Boog900
693b7a94df
Merge branch 'main' into fast-sync-clean
2025-03-06 21:20:11 +00:00
Boog900
7226d4d1ad
fix import order
2025-03-06 21:14:48 +00:00
5c2b56c78e
Update to experimental monero oxide api ( #386 )
...
* add specific method for context
* add new statemachine for tx verification
* fix consensus crates build
* working builds
* fix CI
* add docs
* fix CI
* fix docs
* fix clippy
* cleanup
* add docs to `blockchain_context`
* fix doc tests
* add output cache
* new monero-serai
* todo
* todo
* Revert "new monero-serai"
This reverts commit fe3f6acc67
.
* use indexmap to request outputs
* clean up
* fix typos
* fix CI
* fix cargo hack
* fix reorgs
* check if a block is already present before adding it to the alt block cache
* fmt
* update to new monero oxide API
* fmt & fix cache
* update config values
* fix tests
* fix no-std builds
2025-03-06 19:03:25 +00:00
2dc258e4c8
Consensus: Fix reorgs ( #384 )
...
* add specific method for context
* add new statemachine for tx verification
* fix consensus crates build
* working builds
* fix CI
* add docs
* fix CI
* fix docs
* fix clippy
* cleanup
* add docs to `blockchain_context`
* fix doc tests
* add output cache
* new monero-serai
* todo
* todo
* Revert "new monero-serai"
This reverts commit fe3f6acc67
.
* use indexmap to request outputs
* clean up
* fix typos
* fix CI
* fix cargo hack
* fix reorgs
* check if a block is already present before adding it to the alt block cache
* fmt
2025-03-06 16:40:52 +00:00
6a9356b552
consensus: Batch get outputs ( #382 )
...
* add specific method for context
* add new statemachine for tx verification
* fix consensus crates build
* working builds
* fix CI
* add docs
* fix CI
* fix docs
* fix clippy
* cleanup
* add docs to `blockchain_context`
* fix doc tests
* add output cache
* new monero-serai
* todo
* todo
* Revert "new monero-serai"
This reverts commit fe3f6acc67
.
* use indexmap to request outputs
* clean up
* fix typos
* fix CI
* fix cargo hack
* update doc comment
* fix non-rct miner tx error
* Apply suggestions from code review
Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
* Update storage/database/src/backend/redb/env.rs
Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
---------
Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
2025-03-06 16:17:09 +00:00
Boog900
066bb4eda1
wait for all blocks to download before starting the syncer again.
2025-03-04 01:18:16 +00:00
Boog900
ca4f95e414
add docs
2025-03-03 03:29:37 +00:00
Boog900
5d67c15ec3
add fast sync config options
2025-03-03 02:21:39 +00:00
Boog900
619040beda
fix start_height check
2025-03-01 02:38:41 +00:00
Boog900
67dcc4ac15
add fast sync
2025-02-28 23:17:28 +00:00
Boog900
c9261b3eb0
fix tests
2025-02-26 00:30:34 +00:00
Boog900
c43fab3970
fmt & fix cache
2025-02-25 15:49:53 +00:00
Boog900
e1d1f616f1
update to new monero oxide API
2025-02-25 01:59:27 +00:00
Boog900
dfdd8f4850
fmt
2025-02-25 01:34:37 +00:00
Boog900
eedbd559a3
fix reorgs
2025-02-22 01:46:18 +00:00
Boog900
5054f4aa26
clean up
2025-02-22 00:03:31 +00:00
Boog900
6cb3ec15bc
Merge branch 'main' into batch-outputs
2025-02-09 23:58:23 +00:00
Boog900
241b7fce65
use indexmap to request outputs
2025-02-09 19:05:43 +00:00
Boog900
4e805b30fe
Revert "new monero-serai"
...
This reverts commit fe3f6acc67
.
2025-01-29 15:11:23 +00:00
d8d1e34266
Consensus: Improve API ( #366 )
...
* add specific method for context
* add new statemachine for tx verification
* fix consensus crates build
* working builds
* fix CI
* add docs
* fix CI
* fix docs
* fix clippy
* cleanup
* add docs to `blockchain_context`
* fix doc tests
* review fixes
* fix cargo doc
2025-01-28 22:25:20 +00:00
Boog900
51b4a3e495
todo
2025-01-26 23:20:00 +00:00
Boog900
26fbde22d8
todo
2025-01-25 22:36:09 +00:00
Boog900
fe3f6acc67
new monero-serai
2025-01-25 21:25:56 +00:00
Boog900
918d818581
add output cache
2025-01-24 03:39:57 +00:00
Boog900
a425713f87
add docs to blockchain_context
2025-01-21 02:09:50 +00:00
Boog900
caab94c1ad
cleanup
2025-01-21 02:02:42 +00:00
Boog900
e884cd1c99
fix clippy
2025-01-20 22:19:46 +00:00
Boog900
dc639503f5
fix docs
2025-01-20 22:05:14 +00:00
Boog900
b680d8d270
fix CI
2025-01-20 21:54:35 +00:00
Boog900
6e8e580061
add docs
2025-01-20 21:52:34 +00:00
Boog900
da938b928b
fix CI
2025-01-19 23:31:46 +00:00
Boog900
7228bda806
working builds
2025-01-19 22:15:30 +00:00
Boog900
7a0f015e72
fix consensus crates build
2025-01-19 03:38:24 +00:00
Boog900
14a53ca618
add new statemachine for tx verification
2025-01-19 02:17:44 +00:00
Boog900
cb8c48210c
add specific method for context
2025-01-17 17:19:16 +00:00
hinto-janai
38541dbfda
workspace: add/fix 1.83 lints ( #353 )
...
* 1.83 `cargo clippy --fix`
* fix type complexity, add `DbResult`
* clippy fix
* redb fix
* Update consensus/context/src/difficulty.rs
Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
---------
Co-authored-by: Boog900 <boog900@tutanota.com>
2024-11-28 19:53:59 +00:00
525e20e841
Fix ci and loosen version requirements ( #335 )
...
* add deny exception + loosen version requirements
* add a comment
* remove `expect`
2024-11-04 15:22:43 +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
SyntheticBird
63216aecae
workspace: Defines cuprate members as workspace dependencies ( #326 )
...
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
hinto-janai
4b350e897d
consensus-context: enable workspace lints ( #321 )
...
enable lints, fix 1.82 clippy
2024-10-22 17:35:54 +01:00
SyntheticBird
978d72b6c1
Move consensus context service into a subcrate. ( #318 )
...
Co-authored-by: Boog900 <boog900@tutanota.com>
2024-10-17 00:17:58 +01:00
hinto-janai
9923d8d69d
cuprated: internal signatures required for RPC ( #297 )
...
* add request methods
* add p2p messages
* add txpool msgs
* add blockchain_context msgs
* add blockchain msgs
* fmt
* blockchain_manager msgs
* blockchain manager msg types
* add DB fn signatures
* add statics module
* p2p msg changes, docs
* txpool docs/types
* blockchain docs/types
* `AlternateChains`, docs
* fixes
* remove blockchain write handle, fix docs
* remove `BlockchainReadRequest::Difficulty`
* remove `BlockchainReadRequest::MinerData`
* fix p2p ban types
* `CurrentRxVm` -> `CurrentRxVms`
* storage: remove `Clone` off write handle
* Update p2p/p2p-core/src/ban.rs
Co-authored-by: Boog900 <boog900@tutanota.com>
* fix merge
---------
Co-authored-by: Boog900 <boog900@tutanota.com>
2024-10-08 22:57:09 +01:00
8be369846e
cuprated: Blockchain Manager ( #274 )
...
* 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
* improve interface globals
* manger -> manager
* enums instead of bools
* move chain service to separate file
* more review fixes
* add link to issue
* fix syncer + update comment
* fmt
2024-10-08 18:26:07 +01:00
hinto-janai
a003e0588d
Add constants/
crate ( #280 )
...
* add `constants/`
* ci: add `A-constants` labeler
* add modules, move `cuprate_helper::constants`
* add `genesis.rs`
* `rpc.rs` docs
* remove todos
* `CRYPTONOTE_MAX_BLOCK_HEIGHT`
* add genesis data for all networks
* features
* fix feature cfgs
* test fixes
* add to architecture book
* fix comment
* remove `genesis` add other constants
* fixes
* revert
* fix
2024-10-02 18:51:58 +01:00
hinto-janai
5eb712f4de
cargo upgrade
(#296 )
...
cargo upgrade
Co-authored-by: Boog900 <boog900@tutanota.com>
2024-09-22 19:34:20 +01:00
hinto-janai
c840053854
consensus: enable workspace lints ( #295 )
...
* consensus: enable workspace lints
* rules/fast-sync: enable workspace lints
* typos
* fixes
* `PoW` -> proof-of-work
2024-09-21 01:32:03 +01:00
90027143f0
consensus: misc fixes ( #276 )
...
* fix decoy checks + fee calculation
* fmt
2024-09-10 01:18:26 +01:00