]> Git Repo - VerusCoin.git/blob - src/cc/CCchannels.h
Add support for new identity "i" address as CtxDestination, which can specify global...
[VerusCoin.git] / src / cc / CCchannels.h
1 /******************************************************************************
2  * Copyright © 2014-2018 The SuperNET Developers.                             *
3  *                                                                            *
4  * See the AUTHORS, DEVELOPER-AGREEMENT and LICENSE files at                  *
5  * the top-level directory of this distribution for the individual copyright  *
6  * holder information and the developer policies on copyright and licensing.  *
7  *                                                                            *
8  * Unless otherwise agreed in a custom licensing agreement, no part of the    *
9  * SuperNET software, including this file may be copied, modified, propagated *
10  * or distributed except according to the terms contained in the LICENSE file *
11  *                                                                            *
12  * Removal or modification of this copyright notice is prohibited.            *
13  *                                                                            *
14  ******************************************************************************/
15
16
17 #ifndef CC_CHANNELS_H
18 #define CC_CHANNELS_H
19
20 #include "CCinclude.h"
21 #define CHANNELS_MAXPAYMENTS 1000
22
23 bool ChannelsValidate(struct CCcontract_info *cp,Eval* eval,const CTransaction &tx, uint32_t nIn);
24 std::string ChannelOpen(uint64_t txfee,CPubKey destpub,int32_t numpayments,int64_t payment);
25 std::string ChannelStop(uint64_t txfee,CPubKey destpub,uint256 origtxid);
26 std::string ChannelPayment(uint64_t txfee,uint256 prevtxid,uint256 origtxid,int32_t n,int64_t amount);
27 std::string ChannelCollect(uint64_t txfee,uint256 paytxid,uint256 origtxid,int32_t n,int64_t amount);
28 std::string ChannelRefund(uint64_t txfee,uint256 stoptxid,uint256 origtxid);
29
30 // CCcustom
31 UniValue ChannelsInfo();
32
33 #endif
This page took 0.026392 seconds and 4 git commands to generate.