]>
Commit | Line | Data |
---|---|---|
20c3ac51 SS |
1 | #ifndef CROSSCHAIN_H |
2 | #define CROSSCHAIN_H | |
3 | ||
4 | #include "cc/eval.h" | |
5 | ||
6 | ||
7 | /* On assetchain */ | |
e4f943d8 | 8 | TxProof GetAssetchainProof(uint256 hash); |
20c3ac51 SS |
9 | |
10 | /* On KMD */ | |
e4f943d8 SS |
11 | uint256 CalculateProofRoot(const char* symbol, uint32_t targetCCid, int kmdHeight, |
12 | std::vector<uint256> &moms, uint256 &destNotarisationTxid); | |
e4f943d8 SS |
13 | TxProof GetCrossChainProof(const uint256 txid, const char* targetSymbol, uint32_t targetCCid, |
14 | const TxProof assetChainProof); | |
0b485d3c | 15 | void CompleteImportTransaction(CTransaction &importTx); |
20c3ac51 SS |
16 | |
17 | /* On assetchain */ | |
e4f943d8 | 18 | bool GetNextBacknotarisation(uint256 txid, std::pair<uint256,NotarisationData> &bn); |
20c3ac51 SS |
19 | |
20 | ||
21 | #endif /* CROSSCHAIN_H */ |