Module hb_client.erl¶
Function Index¶
add_route/3 | |
arweave_timestamp/0 | Grab the latest block information from the Arweave gateway node. |
prefix_keys/3* | |
resolve/4 | Resolve a message pair on a remote node. |
routes/2 | |
upload/2 | Upload a data item to the bundler node. |
upload/3 | |
upload_empty_message_test/0* | |
upload_empty_raw_ans104_test/0* | |
upload_raw_ans104_test/0* | |
upload_raw_ans104_with_anchor_test/0* | |
upload_single_layer_message_test/0* |
Function Details¶
add_route/3¶
add_route(Node, Route, Opts) -> any()
arweave_timestamp/0¶
arweave_timestamp() -> any()
Grab the latest block information from the Arweave gateway node.
prefix_keys/3 *¶
prefix_keys(Prefix, Message, Opts) -> any()
resolve/4¶
resolve(Node, Msg1, Msg2, Opts) -> any()
Resolve a message pair on a remote node. The message pair is first transformed into a singleton request, by prefixing the keys in both messages for the path segment that they relate to, and then adjusting the "Path" field from the second message.
routes/2¶
routes(Node, Opts) -> any()
upload/2¶
upload(Msg, Opts) -> any()
Upload a data item to the bundler node. Note: Uploads once per commitment device. Callers should filter the commitments to only include the ones they are interested in, if this is not the desired behavior.
upload/3¶
upload(Msg, Opts, X3) -> any()
upload_empty_message_test/0 *¶
upload_empty_message_test() -> any()
upload_empty_raw_ans104_test/0 *¶
upload_empty_raw_ans104_test() -> any()
upload_raw_ans104_test/0 *¶
upload_raw_ans104_test() -> any()
upload_raw_ans104_with_anchor_test/0 *¶
upload_raw_ans104_with_anchor_test() -> any()
upload_single_layer_message_test/0 *¶
upload_single_layer_message_test() -> any()