We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a584a5 commit 6812a11Copy full SHA for 6812a11
integration_test/src/main.rs
@@ -215,6 +215,7 @@ fn main() {
215
test_disconnect_node(&cl);
216
test_add_ban(&cl);
217
test_set_network_active(&cl);
218
+ test_get_index_info(&cl);
219
test_stop(cl);
220
}
221
@@ -1262,6 +1263,13 @@ fn test_getblocktemplate(cl: &Client) {
1262
1263
cl.generate_to_address(2, &RANDOM_ADDRESS).unwrap();
1264
1265
1266
+fn test_get_index_info(cl: &Client) {
1267
+ let gii = cl.get_index_info().unwrap();
1268
+ assert!(gii.txindex.is_some());
1269
+ assert!(gii.coinstatsindex.is_none());
1270
+ assert!(gii.basic_block_filter_index.is_some());
1271
+}
1272
+
1273
fn test_stop(cl: Client) {
1274
println!("Stopping: '{}'", cl.stop().unwrap());
1275
0 commit comments