Exemplo n.º 1
0
        private void GetHistory(PaymentAddress address, UInt64 limit, UInt64 fromHeight, Action <ErrorCode, HistoryCompactList> handler)
        {
            GCHandle handlerHandle = GCHandle.Alloc(handler);
            IntPtr   handlerPtr    = (IntPtr)handlerHandle;

            ChainNative.kth_chain_async_history(nativeInstance_, handlerPtr, address.NativeInstance, limit, fromHeight, internalGetHistoryHandler_);
        }