Commit graph

37 commits

Author SHA1 Message Date
hinto.janai
0d0a544e68
add CumulativeBlockWeightLimit, submit_block 2024-09-11 20:29:58 -04:00
hinto.janai
6dc85c606f
bin: get_blocks_by_height, get_hashes 2024-09-11 18:42:40 -04:00
hinto.janai
4f738eef38
handler: add write handlers, impl Clone 2024-09-11 16:58:33 -04:00
hinto.janai
e15b7d42c0
pop_blocks 2024-09-10 21:00:05 -04:00
hinto.janai
3b36c10231
unsupported requests, get_outs 2024-09-10 20:47:33 -04:00
hinto.janai
0ab7fe1c46
key_image_spent 2024-09-09 18:19:00 -04:00
hinto.janai
b6e8b3a08e
cuprated: version constants 2024-09-09 17:50:11 -04:00
hinto.janai
6dc38a401d
add todo!() returns 2024-09-09 17:37:01 -04:00
hinto.janai
f41e6aa99e
add monerod code link docs 2024-09-09 17:31:22 -04:00
hinto.janai
b93d2275f8
get_last_block_header 2024-09-09 17:13:44 -04:00
hinto.janai
136e9b70a6
split blockchain/helper functions 2024-09-08 20:48:31 -04:00
hinto.janai
06b583e97d
use helpers, get_block, add return struct todos 2024-09-08 20:33:16 -04:00
hinto.janai
f86baa2eef
add helper.rs 2024-09-08 20:32:52 -04:00
hinto.janai
f1dea834b0
get_block_headers_range 2024-09-08 18:33:30 -04:00
hinto.janai
2d52c26bdc
get_block_header_by_height, use anyhow!() 2024-09-08 18:03:47 -04:00
hinto.janai
6c7b5be94e
cuprated: use From when mapping types 2024-09-06 20:59:14 -04:00
hinto.janai
81d8d2baa6
Merge branch 'rpc-handler' into rpc-handler-json 2024-09-06 20:18:09 -04:00
hinto.janai
6b16fb5688
cuprated: update error type 2024-09-06 20:09:42 -04:00
hinto.janai
98eb2f642b
get_block_count, on_get_block_hash, get_block_header_by_hash todo 2024-09-06 17:58:40 -04:00
hinto.janai
ae074d6f57
rpc handler constants 2024-09-06 17:58:20 -04:00
hinto.janai
1b94435952
fix imports 2024-09-06 16:54:28 -04:00
hinto.janai
9f8f2c7edf
cleanup 2024-09-05 18:23:39 -04:00
hinto.janai
d443cfb9b7
split state from main handler struct 2024-09-05 18:11:27 -04:00
hinto.janai
7406afb910
use BoxFuture 2024-09-05 18:06:07 -04:00
hinto.janai
29afe237d5
remove crate lints 2024-09-05 17:38:57 -04:00
hinto.janai
7487aa4779
interface: extract out to RpcService 2024-09-02 20:34:02 -04:00
hinto.janai
68ba5f4781
split rpc calls into 3 Services 2024-09-02 20:15:12 -04:00
hinto.janai
c57020d805
interface: handle json-rpc concepts 2024-09-02 19:58:38 -04:00
hinto.janai
5f37771729
error signatures 2024-09-02 18:08:52 -04:00
hinto.janai
f89e29eeba
fixes 2024-09-02 17:47:23 -04:00
hinto.janai
abfc3c503c
add state, fn signatures 2024-09-02 17:37:18 -04:00
hinto.janai
5b0e56f711
!! 2024-09-01 16:59:33 -04:00
hinto.janai
d83a93fc31
cuprated: add lints 2024-09-01 16:38:17 -04:00
hinto.janai
ac1815a8c9
cuprated: add all workspace deps 2024-09-01 16:38:02 -04:00
hinto.janai
b28c52a8c0
readme 2024-09-01 16:33:23 -04:00
7207fbd17b
Binaries: add cuprated skeleton (#258)
Some checks failed
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
4876e159e7
repo: add skeleton directories, fix labels (#139)
* `database/` -> `storage/`, create skeleton `storage/` crates

* add skeleton root directories

* books: add skeleton

* ci: fix labeler.yml

* fix CONTRIBUTING.md

* fix workspace Cargo.toml

* fix `storage/`

* rename helper fs fn, `cuprate_database` -> `cuprate_blockchain`

* fix Cargo.toml

* cuprate-blockchain: revert find-and-replace

Since it has to be ported to the book anyway, there's not much
reason to update this and create review diffs.

* labeler.yml: remove `A-docs` from `books/` changes

Although books are documentation,
the `A-books` label already exists for this
2024-05-29 02:18:30 +01:00