- public void block_connected(Uint8Array header, TwoTuple<Number, Uint8Array>[] txdata, number height) {
- bindings.ChainMonitor_block_connected(this.ptr, header, Arrays.stream(txdata).map(txdata_conv_30 -> bindings.C2Tuple_usizeTransactionZ_new(txdata_conv_30.a, txdata_conv_30.b)).toArray(number[]::new), height);
- /* TODO 2 TwoTuple<Number, Uint8Array> */;
- }
-
- public void transactions_confirmed(Uint8Array header, TwoTuple<Number, Uint8Array>[] txdata, number height) {
- bindings.ChainMonitor_transactions_confirmed(this.ptr, header, Arrays.stream(txdata).map(txdata_conv_30 -> bindings.C2Tuple_usizeTransactionZ_new(txdata_conv_30.a, txdata_conv_30.b)).toArray(number[]::new), height);
- /* TODO 2 TwoTuple<Number, Uint8Array> */;
- }
-
- public void update_best_block(Uint8Array header, number height) {
- bindings.ChainMonitor_update_best_block(this.ptr, header, height);
- }
-
- public void block_disconnected(Uint8Array header, number disconnected_height) {
- bindings.ChainMonitor_block_disconnected(this.ptr, header, disconnected_height);
- }
-
- public void transaction_unconfirmed(Uint8Array txid) {
- bindings.ChainMonitor_transaction_unconfirmed(this.ptr, txid);
- }
-
- public Uint8Array[] get_relevant_txids() {
- Uint8Array[] ret = bindings.ChainMonitor_get_relevant_txids(this.ptr);
- return ret;
- }
-