mirror of
https://github.com/mimblewimble/grin-wallet.git
synced 2025-02-01 08:51:09 +03:00
parent
bc9d7ebe49
commit
0d512114a3
4 changed files with 3 additions and 5 deletions
|
@ -1570,7 +1570,7 @@ pub trait OwnerRpc {
|
||||||
"params": {
|
"params": {
|
||||||
"token": "d202964900000000d302964900000000d402964900000000d502964900000000",
|
"token": "d202964900000000d302964900000000d402964900000000d502964900000000",
|
||||||
"secret_indices": [0],
|
"secret_indices": [0],
|
||||||
"message": "BEGINSLATEPACK. t9EcGgrKr1GFCQB SK2jPCxME6Hgpqx bntpQm3zKFycoPY nW4UeoL4KQ7ExNK At6EQsvpz6MjUs8 6WG8KHEbMfqufJQ ZJTw2gkcdJmJjiJ f29oGgYqqXDZox4 ujPSjrtoxCN4h3e i1sZ8dYsm3dPeXL 7VQLsYNjAefciqj ZJXPm4Pqd7VDdd4 okGBGBu3YJvYzT6 arAxeCEx66us31h AJLcDweFwyWBkW5 J1DLiYAjt5ftFTo CjpfW9KjiLq2LM5 jepXWEHJPSDAYVK 4macDZUhRbJiG6E hrQcPrJBVC716mb Hw5E1PFrE6on5wq oEmrS4j9vaB5nw8 Z9ZyXvPc2LN7tER yt6pSHZeY9EpYdY zv4bthzfRfF8ePT TMeMpV2gpgyRXQa CPD2TR. ENDSLATEPACK.\n"
|
"message": "BEGINSLATEPACK. t9EcGgrKr1GFCQB SK2jPCxME6Hgpqx bntpQm3zKFycoPY nW4UeoL4KQ7ExNK At6EQsvpz6MjUs8 6WG8KHEbMfqufJQ ZJTw2gkcdJmJjiJ f29oGgYqqXDZox4 ujPSjrtoxCN4h3e i1sZ8dYsm3dPeXL 7VQLsYNjAefciqj ZJXPm4Pqd7VDdd4 okGBGBu3YJvYzT6 arAxeCEx66us31h AJLcDweFwyWBkW5 J1DLiYAjt5ftFTo CjpfW9KjiLq2LM5 jepXWEHJPSDAYVK 4macDZUhRbJiG6E hrQcPrJBVC716mb Hw5E1PFrE6on5wq oEmrS4j9vaB5nw8 Z9ZyXvPc2LN7tER yt6pSHZeY9EpYdY zv4bthzfRfF8ePT TMeMpV2gpgyRXQa CPD2TR. ENDSLATEPACK."
|
||||||
},
|
},
|
||||||
"id": 1
|
"id": 1
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,7 +76,6 @@ where
|
||||||
|
|
||||||
/// Retrieve the slatepack address for the current parent key at
|
/// Retrieve the slatepack address for the current parent key at
|
||||||
/// the given index
|
/// the given index
|
||||||
/// set active account
|
|
||||||
pub fn get_slatepack_address<'a, L, C, K>(
|
pub fn get_slatepack_address<'a, L, C, K>(
|
||||||
wallet_inst: Arc<Mutex<Box<dyn WalletInst<'a, L, C, K>>>>,
|
wallet_inst: Arc<Mutex<Box<dyn WalletInst<'a, L, C, K>>>>,
|
||||||
keychain_mask: Option<&SecretKey>,
|
keychain_mask: Option<&SecretKey>,
|
||||||
|
@ -96,7 +95,6 @@ where
|
||||||
|
|
||||||
/// Retrieve the decryption key for the current parent key
|
/// Retrieve the decryption key for the current parent key
|
||||||
/// the given index
|
/// the given index
|
||||||
/// set active account
|
|
||||||
pub fn get_slatepack_secret_key<'a, L, C, K>(
|
pub fn get_slatepack_secret_key<'a, L, C, K>(
|
||||||
wallet_inst: Arc<Mutex<Box<dyn WalletInst<'a, L, C, K>>>>,
|
wallet_inst: Arc<Mutex<Box<dyn WalletInst<'a, L, C, K>>>>,
|
||||||
keychain_mask: Option<&SecretKey>,
|
keychain_mask: Option<&SecretKey>,
|
||||||
|
|
|
@ -82,7 +82,7 @@ pub struct InitTxArgs {
|
||||||
pub struct InitTxSendArgs {
|
pub struct InitTxSendArgs {
|
||||||
/// The destination, contents will depend on the particular method
|
/// The destination, contents will depend on the particular method
|
||||||
pub dest: String,
|
pub dest: String,
|
||||||
/// Whether to post the transasction if the send and finalize were successful
|
/// Whether to post the transaction if the send and finalize were successful
|
||||||
pub post_tx: bool,
|
pub post_tx: bool,
|
||||||
/// Whether to use dandelion when posting. If false, skip the dandelion relay
|
/// Whether to use dandelion when posting. If false, skip the dandelion relay
|
||||||
pub fluff: bool,
|
pub fluff: bool,
|
||||||
|
|
|
@ -120,7 +120,7 @@ pub struct Slate {
|
||||||
/// 2: height_locked
|
/// 2: height_locked
|
||||||
/// 3: NRD
|
/// 3: NRD
|
||||||
pub kernel_features: u8,
|
pub kernel_features: u8,
|
||||||
/// Offset, needed when posting of tranasction is deferred
|
/// Offset, needed when posting of transasction is deferred
|
||||||
pub offset: BlindingFactor,
|
pub offset: BlindingFactor,
|
||||||
/// Participant data, each participant in the transaction will
|
/// Participant data, each participant in the transaction will
|
||||||
/// insert their public data here. For now, 0 is sender and 1
|
/// insert their public data here. For now, 0 is sender and 1
|
||||||
|
|
Loading…
Reference in a new issue