2018-08-01 23:06:03 -07:00
|
|
|
// Copyright (c) 2018 The Bitcoin Private developers
|
|
|
|
// Copyright (c) 2016 The Zcash developers
|
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
#ifndef BITCOIN_ZCASH_ZCASH_H
|
|
|
|
#define BITCOIN_ZCASH_ZCASH_H
|
2018-03-31 06:39:58 -07:00
|
|
|
|
|
|
|
#define ZC_NUM_JS_INPUTS 2
|
|
|
|
#define ZC_NUM_JS_OUTPUTS 2
|
|
|
|
#define INCREMENTAL_MERKLE_TREE_DEPTH 29
|
|
|
|
#define INCREMENTAL_MERKLE_TREE_DEPTH_TESTING 4
|
|
|
|
|
|
|
|
#define ZC_NOTEPLAINTEXT_LEADING 1
|
|
|
|
#define ZC_V_SIZE 8
|
|
|
|
#define ZC_RHO_SIZE 32
|
|
|
|
#define ZC_R_SIZE 32
|
|
|
|
#define ZC_MEMO_SIZE 512
|
|
|
|
|
|
|
|
#define ZC_NOTEPLAINTEXT_SIZE (ZC_NOTEPLAINTEXT_LEADING + ZC_V_SIZE + ZC_RHO_SIZE + ZC_R_SIZE + ZC_MEMO_SIZE)
|
|
|
|
|
2018-08-01 23:06:03 -07:00
|
|
|
#endif // BITCOIN_ZCASH_ZCASH_H
|