protected override void DestroyNativeList() { //Logger.Log("Destroying block list " + NativeInstance.ToString("X")); BlockListNative.kth_chain_block_list_destruct(NativeInstance); }
protected override void AddElement(Block element) { BlockListNative.kth_chain_block_list_push_back(NativeInstance, element.NativeInstance); }
protected override Block GetNthNativeElement(UInt64 n) { return(new Block(BlockListNative.kth_chain_block_list_nth(NativeInstance, n), false)); }
protected override UInt64 GetCount() { return(BlockListNative.kth_chain_block_list_count(NativeInstance)); }
protected override IntPtr CreateNativeList() { return(BlockListNative.kth_chain_block_list_construct_default()); }