cuprate_test_utils/rpc/data/
bin.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//! Binary data from [`.bin` endpoints](https://www.getmonero.org/resources/developer-guides/daemon-rpc.html#get_blocksbin).
//!
//! TODO: Not implemented yet.

//---------------------------------------------------------------------------------------------------- Import
use crate::rpc::data::macros::define_request_and_response;

//---------------------------------------------------------------------------------------------------- TODO
define_request_and_response! {
    get_blocksbin,
    GET_BLOCKS: &[u8],
    Request = &[];
    Response = &[];
}

define_request_and_response! {
    get_blocks_by_heightbin,
    GET_BLOCKS_BY_HEIGHT: &[u8],
    Request = &[];
    Response = &[];
}

define_request_and_response! {
    get_hashesbin,
    GET_HASHES: &[u8],
    Request = &[];
    Response = &[];
}

define_request_and_response! {
    get_o_indexesbin,
    GET_O_INDEXES: &[u8],
    Request = &[];
    Response = &[];
}

define_request_and_response! {
    get_outsbin,
    GET_OUTS: &[u8],
    Request = &[];
    Response = &[];
}

define_request_and_response! {
    get_transaction_pool_hashesbin,
    GET_TRANSACTION_POOL_HASHES: &[u8],
    Request = &[];
    Response = &[];
}

//---------------------------------------------------------------------------------------------------- Tests
#[cfg(test)]
mod test {
    // use super::*;
}