Java Code Examples for org.bitcoinj.signers.TransactionSigner#MissingSignatureException
The following examples show how to use
org.bitcoinj.signers.TransactionSigner#MissingSignatureException .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: WalletTest.java From bcm-android with GNU General Public License v3.0 | 5 votes |
@Test(expected = TransactionSigner.MissingSignatureException.class) public void completeTxPartiallySignedMarriedThrowsByDefault() throws Exception { createMarriedWallet(2, 2, false); myAddress = wallet.currentAddress(KeyChain.KeyPurpose.RECEIVE_FUNDS); sendMoneyToWallet(AbstractBlockChain.NewBlockType.BEST_CHAIN, COIN, myAddress); SendRequest req = SendRequest.emptyWallet(OTHER_ADDRESS); wallet.completeTx(req); }
Example 2
Source File: WalletTest.java From green_android with GNU General Public License v3.0 | 5 votes |
@Test (expected = TransactionSigner.MissingSignatureException.class) public void completeTxPartiallySignedMarriedThrowsByDefault() throws Exception { createMarriedWallet(2, 2, false); myAddress = wallet.currentAddress(KeyChain.KeyPurpose.RECEIVE_FUNDS); sendMoneyToWallet(AbstractBlockChain.NewBlockType.BEST_CHAIN, COIN, myAddress); SendRequest req = SendRequest.emptyWallet(OTHER_ADDRESS); wallet.completeTx(req); }
Example 3
Source File: WalletTest.java From GreenBits with GNU General Public License v3.0 | 5 votes |
@Test (expected = TransactionSigner.MissingSignatureException.class) public void completeTxPartiallySignedMarriedThrowsByDefault() throws Exception { createMarriedWallet(2, 2, false); myAddress = wallet.currentAddress(KeyChain.KeyPurpose.RECEIVE_FUNDS); sendMoneyToWallet(AbstractBlockChain.NewBlockType.BEST_CHAIN, COIN, myAddress); SendRequest req = SendRequest.emptyWallet(OTHER_ADDRESS); wallet.completeTx(req); }
Example 4
Source File: WalletTest.java From bcm-android with GNU General Public License v3.0 | 4 votes |
@Test(expected = TransactionSigner.MissingSignatureException.class) public void completeTxPartiallySignedMarriedThrows() throws Exception { completeTxPartiallySignedMarried(Wallet.MissingSigsMode.THROW, EMPTY_SIG); }
Example 5
Source File: WalletTest.java From green_android with GNU General Public License v3.0 | 4 votes |
@Test (expected = TransactionSigner.MissingSignatureException.class) public void completeTxPartiallySignedMarriedThrows() throws Exception { byte[] emptySig = {}; completeTxPartiallySignedMarried(Wallet.MissingSigsMode.THROW, emptySig); }
Example 6
Source File: WalletTest.java From GreenBits with GNU General Public License v3.0 | 4 votes |
@Test (expected = TransactionSigner.MissingSignatureException.class) public void completeTxPartiallySignedMarriedThrows() throws Exception { byte[] emptySig = {}; completeTxPartiallySignedMarried(Wallet.MissingSigsMode.THROW, emptySig); }