Boog900
d2ab8e20c4
add fluffy block handler
2024-09-15 01:20:24 +01:00
Asurar
2291a96795
P2P: Add latest clearnet mainnet seed nodes. ( #281 )
...
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
CI / ci (windows-latest, stable-x86_64-pc-windows-gnu, msys2 {0}) (push) Has been cancelled
Doc / build (push) Has been cancelled
Doc / deploy (push) Has been cancelled
Add Monerod latest clearnet mainnet seed nodes
2024-09-14 14:01:43 +01:00
Boog900
a16381ea61
broadcast new blocks + add commands
2024-09-14 13:49:41 +01:00
Boog900
90beed1590
add docs to handler functions
2024-09-13 03:17:30 +01:00
Boog900
6ec5bc37a9
add function for incoming blocks
2024-09-13 00:03:03 +01:00
Boog900
01a3065cc8
clean up handler code
2024-09-12 22:17:44 +01:00
Boog900
915633fe70
handle more p2p requests + alt blocks
Audit / audit (push) Has been cancelled
Deny / audit (push) Has been cancelled
2024-09-12 02:24:07 +01:00
90027143f0
consensus: misc fixes ( #276 )
...
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
CI / ci (windows-latest, stable-x86_64-pc-windows-gnu, msys2 {0}) (push) Has been cancelled
Doc / build (push) Has been cancelled
Doc / deploy (push) Has been cancelled
* fix decoy checks + fee calculation
* fmt
2024-09-10 01:18:26 +01:00
49d1344aa1
Storage: use saturating_add
for cumulative_generated_coins
( #275 )
...
* use `saturating_add` for `cumulative_generated_coins`
* cargo fmt
2024-09-10 01:15:04 +01:00
Asurar
967537fae1
P2P: Implement incoming ping request handling over maximum inbound limit ( #277 )
...
Implement incoming ping request handling over maximum inbound limit
- If the maximum inbound connection semaphore reach its limit, `inbound_server` fn will
open a tokio task to check if the node wanted to ping us. If it is the case we respond, otherwise
drop the connection.
- Added some documentation to the `inbound_server` fn.
2024-09-09 23:12:06 +01:00
Boog900
d4e0e30133
fix generated coins
Audit / audit (push) Has been cancelled
Deny / audit (push) Has been cancelled
2024-09-09 20:13:22 +01:00
Boog900
b5f8475250
Merge branch 'storage-alt-blocks' into cuprated-blockchain
2024-09-09 17:04:50 +01:00
Boog900
da78cbdb7a
fix merge errors
2024-09-09 17:04:45 +01:00
Boog900
20033eedb0
Merge branch 'main' into cuprated-blockchain
2024-09-09 16:59:34 +01:00
Boog900
1831fa6274
remove config files
2024-09-09 01:14:00 +01:00
Boog900
c03065bcd5
fix imports
2024-09-08 18:42:25 +01:00
hinto-janai
01625535fa
book/architecture: add resource index ( #268 )
...
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
CI / ci (macos-latest, stable, bash) (push) Has been cancelled
Deny / audit (push) Has been cancelled
Doc / build (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
* resource index
* index
* cap
* cleanup
2024-09-08 18:31:58 +01:00
hinto-janai
92800810d9
cuprated: initial RPC module skeleton ( #262 )
...
* readme
* cuprated: add all workspace deps
* cuprated: add lints
* !!
* add state, fn signatures
* fixes
* error signatures
* interface: handle json-rpc concepts
* split rpc calls into 3 `Service`s
* interface: extract out to `RpcService`
* fix merge
* remove crate lints
* use `BoxFuture`
* rpc/interface: impl `thiserror::Error`
* split state from main handler struct
* cleanup
* fix imports
* replace `RpcError` with `anyhow::Error`
* interface: update error
* cuprated: update error type
2024-09-08 15:52:17 +01:00
Boog900
68807e7563
fmt
2024-09-08 15:37:01 +01:00
Boog900
b211210fa2
more doc updates
2024-09-08 15:34:30 +01:00
Boog900
6119972fe8
move tx_fee to helper
Deny / audit (push) Has been cancelled
Audit / audit (push) Has been cancelled
2024-09-08 02:08:20 +01:00
Boog900
a864f934be
document types
2024-09-07 02:45:45 +01:00
Boog900
f92375f6a6
clippy + fmt
2024-09-07 02:07:23 +01:00
Boog900
ba5c5ac45d
more docs + cleanup + alt blocks request
2024-09-07 02:02:19 +01:00
Boog900
123aedd6a9
add test
Audit / audit (push) Has been cancelled
Deny / audit (push) Has been cancelled
2024-09-06 02:39:40 +01:00
Boog900
a9d8eee373
Merge branch 'main' into storage-alt-blocks
2024-09-06 00:28:54 +01:00
Boog900
21e4b3a20a
commit Cargo.lock
2024-09-06 00:26:36 +01:00
Boog900
6927b05f81
add last service request
2024-09-06 00:23:55 +01:00
hinto-janai
4653ac5884
rpc/interface: separate RpcHandler
into 3 tower::Service
s ( #266 )
...
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
CI / ci (windows-latest, stable-x86_64-pc-windows-gnu, msys2 {0}) (push) Has been cancelled
Doc / build (push) Has been cancelled
Doc / deploy (push) Has been cancelled
* apply diff
* cleanup
* fix test
2024-09-05 16:53:16 +01:00
hinto-janai
0941f68efc
helper: fix clippy ( #265 )
...
Audit / audit (push) Has been cancelled
CI / fmt (push) Has been cancelled
CI / typo (push) Has been cancelled
Deny / audit (push) Has been cancelled
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
* helper: fix lints
* fix tests
2024-09-02 22:46:11 +01:00
hinto-janai
eead49beb0
lints: opt in manual lint crates ( #263 )
...
* cargo.toml: transfer existing lints
* rpc/interface: lints
* rpc/json-rpc: lints
* rpc/types: lints
* storage/blockchain: lints
* rpc/types: fix lints
* cargo.toml: fix lint group priority
* storage/blockchain: fix lints
* fix misc lints
* storage/database: fixes
* storage/txpool: opt in lints + fixes
* types: opt in + fixes
* helper: opt in + fixes
* types: remove borsh
* rpc/interface: fix test
* test fixes
* database: fix lints
* fix lint
* tabs -> spaces
* blockchain: `config/` -> `config.rs`
2024-09-02 18:12:54 +01:00
hinto-janai
b837d350a4
workspace: add naming convention lints ( #261 )
...
* add lint to {Cargo,clippy}.toml
* `RandomXVM` -> `RandomXVm`
* epee: `TT` -> `T2`
2024-09-02 18:10:45 +01:00
hinto-janai
bec8cc0aa4
helper: add and use cast
module ( #264 )
...
* helper: add `cast` module
* fix crates
* spacing
2024-09-02 18:09:52 +01:00
Boog900
029f439f0b
WIP: starting re-orgs
2024-09-01 02:15:16 +01:00
Boog900
bc619b61eb
add new requests
2024-08-31 01:22:30 +01:00
Boog900
ed887a7c85
resolve current todo!s
2024-08-30 23:06:30 +01:00
Boog900
e1ae848369
add function to fully add an alt block
2024-08-30 03:02:24 +01:00
Boog900
d648871966
add new tables & types
2024-08-29 18:44:34 +01:00
Boog900
05d0cf2295
move more config values
2024-08-29 16:04:17 +01:00
Boog900
1c93ea14b4
misc changes
Audit / audit (push) Has been cancelled
Deny / audit (push) Has been cancelled
2024-08-29 01:58:10 +01:00
Boog900
f25588d348
very rough block manager
Audit / audit (push) Has been cancelled
Deny / audit (push) Has been cancelled
2024-08-23 23:55:54 +01:00
fdd1689665
Storage: tx-pool database ( #238 )
...
Audit / audit (push) Has been cancelled
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
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
* split the DB service abstraction
* fix ci
* misc changes
* init tx-pool DBs
* add some comments
* move more types to `/types`
* add some ops
* add config & more ops functions & open function
* add read & write svcs
* add more docs
* add write functions + docs
* fix merge
* fix test
* fix ci
* move `TxPoolWriteError`
* add more docs
* fix toml formatting
* fix some docs
* fix clippy
* review fixes
* update docs
* fix merge
* fix docs
* fix tests
* fix tests
* add back lints
* Update storage/txpool/README.md
Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
---------
Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
2024-08-22 02:09:07 +01:00
8655a3f5e5
dandelion-tower: improve API ( #257 )
...
* init
* reduce the jobs handled by the dandelion pool
* fix docs
* resolve todo
* review changes
* Update p2p/dandelion-tower/src/pool/incoming_tx.rs
Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
* Update p2p/dandelion-tower/src/pool/incoming_tx.rs
Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
* `PId` -> `PeerId`
---------
Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
2024-08-22 01:18:44 +01:00
SyntheticBird
ccff75057e
Update Zed in ENVIRONMENT-ADVICE.md ( #259 )
...
Update ENVIRONMENT-ADVICE.md
Updated information on Zed editor
2024-08-22 00:33:21 +01:00
Boog900
f909c262fa
add blockchain init
2024-08-21 16:02:00 +01:00
7207fbd17b
Binaries: add cuprated skeleton ( #258 )
...
Audit / audit (push) Has been cancelled
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
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
* add cuprated skeleton
* fmt and add deny exception
2024-08-20 23:56:18 +01:00
hinto-janai
5648bf0da0
rpc: remove temporary lints ( #255 )
...
* rpc: remove temporary lints for types
* rpc: remove temporary lints for json-rpc
* rpc: remove temporary lints for interface
* cfgs `1 tab` -> `4 spaces`
2024-08-20 23:50:31 +01:00
hinto-janai
aeb070ae8d
Replace OnceLock
+ fn
with LazyLock
( #256 )
...
* `consensus/`
* `helper/`
* `test-utils/`
* `storage/`
* fix docs + tests + lints
* decomposed_amount: remove `LazyLock`
* clippy
2024-08-20 22:53:32 +01:00
Boog900
a01846954d
add main chain batch handler
2024-08-20 16:39:23 +01:00
Boog900
39d48fe9fc
fmt and add deny exception
2024-08-16 15:01:42 +01:00