Exemplo n.º 1
0
 internal static extern unsafe ReturnCode cashdb_utxo_set_coins(
     SafeConnectionHandle connection,
     BlockHandle context,
     int coinLength,
     Coin *coins,
     int storageLength,
     byte *storage
     );
Exemplo n.º 2
0
 internal static extern ReturnCode cashdb_utxo_get_blockinfo(
     SafeConnectionHandle connection,
     BlockHandle handle,
     ref BlockInfo info);
Exemplo n.º 3
0
 internal static extern ReturnCode cashdb_utxo_get_uncommitted_block(
     SafeConnectionHandle connection,
     ref UncommittedBlockId blockUcid,
     out BlockHandle handle);
Exemplo n.º 4
0
 internal static extern ReturnCode cashdb_utxo_commit_block(
     SafeConnectionHandle connection,
     BlockHandle handle,
     ref CommittedBlockId blockId);
Exemplo n.º 5
0
 internal static extern ReturnCode cashdb_utxo_open_block(
     SafeConnectionHandle connection,
     ref CommittedBlockId parentId,
     out BlockHandle handle,
     ref UncommittedBlockId ucid);
Exemplo n.º 6
0
 internal static extern ReturnCode cashdb_disconnect(SafeConnectionHandle connectionHandle,
                                                     [MarshalAs(UnmanagedType.LPStr)] string reason);
Exemplo n.º 7
0
 internal static extern ReturnCode cashdb_connect([MarshalAs(UnmanagedType.LPStr)] string cnxString,
                                                  out SafeConnectionHandle connectionHandle);