From cda772d8ec7febefa98775f615f5b7ac9617cd37 Mon Sep 17 00:00:00 2001 From: langerhans Date: Sat, 18 Oct 2014 20:02:01 +0200 Subject: [PATCH] Step 2: Move and refactor packages --- core/findbugs.xml | 6 +- .../dogecoinj}/core/AbstractBlockChain.java | 14 +- .../core/AbstractBlockChainListener.java | 2 +- .../core/AbstractPeerEventListener.java | 2 +- .../core/AbstractWalletEventListener.java | 6 +- .../dogecoin/dogecoinj}/core/Address.java | 6 +- .../core/AddressFormatException.java | 2 +- .../dogecoinj}/core/AddressMessage.java | 2 +- .../dogecoinj}/core/AlertMessage.java | 2 +- .../dogecoin/dogecoinj}/core/Base58.java | 2 +- .../dogecoinj}/core/BitcoinSerializer.java | 4 +- .../dogecoin/dogecoinj}/core/Block.java | 16 +- .../dogecoin/dogecoinj}/core/BlockChain.java | 10 +- .../dogecoinj}/core/BlockChainListener.java | 6 +- .../dogecoin/dogecoinj}/core/BloomFilter.java | 10 +- .../dogecoinj}/core/CheckpointManager.java | 10 +- .../dogecoinj}/core/ChildMessage.java | 2 +- .../dogecoin/dogecoinj}/core/Coin.java | 4 +- .../dogecoinj}/core/DownloadListener.java | 2 +- .../dogecoinj}/core/DumpedPrivateKey.java | 2 +- .../dogecoin/dogecoinj}/core/ECKey.java | 16 +- .../dogecoinj}/core/EmptyMessage.java | 2 +- .../dogecoinj}/core/FilteredBlock.java | 2 +- .../dogecoinj}/core/FullPrunedBlockChain.java | 12 +- .../dogecoinj}/core/GetAddrMessage.java | 2 +- .../dogecoinj}/core/GetBlocksMessage.java | 2 +- .../dogecoinj}/core/GetDataMessage.java | 2 +- .../dogecoinj}/core/GetHeadersMessage.java | 2 +- .../dogecoinj}/core/GetUTXOsMessage.java | 2 +- .../dogecoinj}/core/HeadersMessage.java | 2 +- .../core/InsufficientMoneyException.java | 2 +- .../dogecoinj}/core/InventoryItem.java | 2 +- .../dogecoinj}/core/InventoryMessage.java | 2 +- .../dogecoin/dogecoinj}/core/ListMessage.java | 2 +- .../dogecoin/dogecoinj}/core/MemoryPool.java | 4 +- .../dogecoinj}/core/MemoryPoolMessage.java | 2 +- .../dogecoin/dogecoinj}/core/Message.java | 2 +- .../dogecoin/dogecoinj}/core/Monetary.java | 2 +- .../dogecoinj}/core/NetworkParameters.java | 16 +- .../dogecoinj}/core/NotFoundMessage.java | 2 +- .../dogecoinj}/core/PartialMerkleTree.java | 4 +- .../dogecoin/dogecoinj}/core/Peer.java | 36 +- .../dogecoin/dogecoinj}/core/PeerAddress.java | 8 +- .../dogecoinj}/core/PeerEventListener.java | 6 +- .../dogecoinj}/core/PeerException.java | 2 +- .../dogecoinj}/core/PeerFilterProvider.java | 6 +- .../dogecoin/dogecoinj}/core/PeerGroup.java | 40 +- .../dogecoinj}/core/PeerSocketHandler.java | 16 +- .../dogecoin/dogecoinj}/core/Ping.java | 2 +- .../dogecoin/dogecoinj}/core/Pong.java | 2 +- .../dogecoinj}/core/ProtocolException.java | 2 +- .../dogecoinj}/core/PrunedException.java | 2 +- .../dogecoinj}/core/RejectMessage.java | 2 +- .../dogecoinj}/core/ScriptException.java | 2 +- .../dogecoin/dogecoinj}/core/Sha256Hash.java | 2 +- .../dogecoin/dogecoinj}/core/StoredBlock.java | 6 +- .../core/StoredTransactionOutput.java | 2 +- .../dogecoinj}/core/StoredUndoableBlock.java | 2 +- .../dogecoin/dogecoinj}/core/Transaction.java | 24 +- .../dogecoinj}/core/TransactionBag.java | 8 +- .../dogecoinj}/core/TransactionBroadcast.java | 4 +- .../core/TransactionBroadcaster.java | 4 +- .../core/TransactionConfidence.java | 18 +- .../dogecoinj}/core/TransactionInput.java | 12 +- .../dogecoinj}/core/TransactionOutPoint.java | 10 +- .../dogecoinj}/core/TransactionOutput.java | 8 +- .../core/TransactionOutputChanges.java | 2 +- .../dogecoinj}/core/UTXOsMessage.java | 2 +- .../dogecoinj}/core/UnknownMessage.java | 2 +- .../core/UnsafeByteArrayOutputStream.java | 2 +- .../dogecoin/dogecoinj}/core/Utils.java | 2 +- .../dogecoin/dogecoinj}/core/VarInt.java | 6 +- .../core/VerificationException.java | 2 +- .../dogecoin/dogecoinj}/core/VersionAck.java | 2 +- .../dogecoinj}/core/VersionMessage.java | 2 +- .../core/VersionedChecksummedBytes.java | 2 +- .../dogecoin/dogecoinj}/core/Wallet.java | 104 +- .../dogecoinj}/core/WalletEventListener.java | 8 +- .../dogecoinj}/core/WalletExtension.java | 2 +- .../core/WrongNetworkException.java | 2 +- .../dogecoin/dogecoinj/core/package-info.java | 8 + .../dogecoinj}/crypto/BIP38PrivateKey.java | 4 +- .../dogecoinj}/crypto/ChildNumber.java | 2 +- .../dogecoinj}/crypto/DRMWorkaround.java | 4 +- .../crypto/DeterministicHierarchy.java | 2 +- .../dogecoinj}/crypto/DeterministicKey.java | 10 +- .../dogecoinj}/crypto/EncryptableItem.java | 6 +- .../dogecoinj}/crypto/EncryptedData.java | 2 +- .../crypto/EncryptedPrivateKey.java | 2 +- .../crypto/HDDerivationException.java | 2 +- .../dogecoinj}/crypto/HDKeyDerivation.java | 6 +- .../dogecoin/dogecoinj}/crypto/HDUtils.java | 4 +- .../dogecoinj}/crypto/KeyCrypter.java | 4 +- .../crypto/KeyCrypterException.java | 2 +- .../dogecoinj}/crypto/KeyCrypterScrypt.java | 8 +- .../dogecoinj}/crypto/MnemonicCode.java | 8 +- .../dogecoinj}/crypto/MnemonicException.java | 2 +- .../dogecoinj}/crypto/PBKDF2SHA512.java | 2 +- .../crypto/TransactionSignature.java | 10 +- .../dogecoinj}/crypto/TrustStoreLoader.java | 2 +- .../dogecoin/dogecoinj}/crypto/X509Utils.java | 4 +- .../dogecoinj}/crypto/package-info.java | 2 +- .../jni/NativeBlockChainListener.java | 4 +- .../dogecoinj}/jni/NativeFutureCallback.java | 2 +- .../NativePaymentChannelHandlerFactory.java | 6 +- ...ntChannelServerConnectionEventHandler.java | 8 +- .../jni/NativePeerEventListener.java | 4 +- .../NativeTransactionConfidenceListener.java | 6 +- .../jni/NativeWalletEventListener.java | 14 +- .../dogecoinj}/kits/WalletAppKit.java | 22 +- .../dogecoinj}/kits/package-info.java | 2 +- .../net/AbstractTimeoutHandler.java | 2 +- .../dogecoinj}/net/BlockingClient.java | 2 +- .../dogecoinj}/net/BlockingClientManager.java | 2 +- .../net/ClientConnectionManager.java | 2 +- .../dogecoinj}/net/ConnectionHandler.java | 6 +- .../dogecoin/dogecoinj}/net/FilterMerger.java | 12 +- .../dogecoinj}/net/MessageWriteTarget.java | 2 +- .../dogecoin/dogecoinj}/net/NioClient.java | 2 +- .../dogecoinj}/net/NioClientManager.java | 2 +- .../dogecoin/dogecoinj}/net/NioServer.java | 2 +- .../dogecoinj}/net/ProtobufParser.java | 6 +- .../dogecoin/dogecoinj}/net/StreamParser.java | 2 +- .../dogecoinj}/net/StreamParserFactory.java | 2 +- .../net/discovery/DnsDiscovery.java | 6 +- .../net/discovery/IrcDiscovery.java | 8 +- .../net/discovery/PeerDiscovery.java | 2 +- .../net/discovery/PeerDiscoveryException.java | 2 +- .../dogecoinj}/net/discovery/SeedPeers.java | 4 +- .../net/discovery/TorDiscovery.java | 6 +- .../net/discovery/package-info.java | 2 +- .../dogecoin/dogecoinj}/net/package-info.java | 2 +- .../dogecoinj}/params/MainNetParams.java | 8 +- .../dogecoin/dogecoinj}/params/Networks.java | 4 +- .../dogecoinj}/params/RegTestParams.java | 4 +- .../dogecoinj}/params/TestNet2Params.java | 6 +- .../dogecoinj}/params/TestNet3Params.java | 6 +- .../dogecoinj}/params/UnitTestParams.java | 8 +- .../dogecoinj}/params/package-info.java | 2 +- .../protocols/channels/ClientState.java | 196 +- .../channels/IPaymentChannelClient.java | 26 +- .../channels/PaymentChannelClient.java | 12 +- .../PaymentChannelClientConnection.java | 20 +- .../channels/PaymentChannelClientState.java | 16 +- .../PaymentChannelCloseException.java | 6 +- .../channels/PaymentChannelServer.java | 8 +- .../PaymentChannelServerListener.java | 16 +- .../channels/PaymentChannelServerState.java | 10 +- .../channels/PaymentIncrementAck.java | 4 +- .../ServerConnectionEventHandler.java | 12 +- .../protocols/channels/ServerState.java | 196 +- .../channels/Simple channels protocol.txt | 0 .../StoredPaymentChannelClientStates.java | 6 +- .../StoredPaymentChannelServerStates.java | 6 +- .../channels/StoredServerChannel.java | 6 +- .../channels/ValueOutOfRangeException.java | 2 +- .../protocols/channels/package-info.java | 2 +- .../dogecoinj}/protocols/package-info.java | 2 +- .../protocols/payments/PaymentProtocol.java | 8 +- .../payments/PaymentProtocolException.java | 2 +- .../protocols/payments/PaymentSession.java | 14 +- .../protocols/payments/package-info.java | 2 +- .../dogecoin/dogecoinj}/script/Script.java | 12 +- .../dogecoinj}/script/ScriptBuilder.java | 14 +- .../dogecoinj}/script/ScriptChunk.java | 6 +- .../dogecoinj}/script/ScriptOpCodes.java | 4 +- .../dogecoinj}/script/package-info.java | 2 +- .../signers/CustomTransactionSigner.java | 16 +- .../signers/LocalTransactionSigner.java | 24 +- .../signers/MissingSigResolutionSigner.java | 18 +- .../signers/StatelessTransactionSigner.java | 2 +- .../dogecoinj}/signers/TransactionSigner.java | 12 +- .../dogecoinj}/signers/package-info.java | 4 +- .../dogecoin/dogecoinj}/store/BlockStore.java | 10 +- .../dogecoinj}/store/BlockStoreException.java | 2 +- .../store/FullPrunedBlockStore.java | 10 +- .../store/H2FullPrunedBlockStore.java | 4 +- .../dogecoinj}/store/MemoryBlockStore.java | 6 +- .../store/MemoryFullPrunedBlockStore.java | 4 +- .../store/PostgresFullPrunedBlockStore.java | 8 +- .../dogecoinj}/store/SPVBlockStore.java | 6 +- .../store/UnreadableWalletException.java | 2 +- .../store/WalletProtobufSerializer.java | 30 +- .../dogecoinj}/store/package-info.java | 2 +- .../dogecoinj}/testing/FakeTxBuilder.java | 10 +- .../testing/InboundMessageQueuer.java | 6 +- .../testing/KeyChainTransactionSigner.java | 12 +- .../testing/MockTransactionBroadcaster.java | 12 +- .../testing/NopTransactionSigner.java | 6 +- .../testing/TestWithNetworkConnections.java | 16 +- .../dogecoinj}/testing/TestWithPeerGroup.java | 14 +- .../dogecoinj}/testing/TestWithWallet.java | 16 +- .../dogecoinj}/testing/package-info.java | 2 +- .../dogecoin/dogecoinj}/uri/BitcoinURI.java | 10 +- .../uri/BitcoinURIParseException.java | 2 +- .../uri/OptionalFieldValidationException.java | 2 +- .../uri/RequiredFieldValidationException.java | 2 +- .../dogecoin/dogecoinj}/uri/package-info.java | 2 +- .../dogecoinj}/utils/BaseTaggableObject.java | 2 +- .../dogecoinj}/utils/BlockFileLoader.java | 10 +- .../dogecoinj}/utils/BriefLogFormatter.java | 2 +- .../dogecoinj}/utils/BtcAutoFormat.java | 6 +- .../dogecoinj}/utils/BtcFixedFormat.java | 6 +- .../dogecoin/dogecoinj}/utils/BtcFormat.java | 14 +- .../dogecoinj}/utils/DaemonThreadFactory.java | 2 +- .../dogecoinj}/utils/ExchangeRate.java | 4 +- .../dogecoinj}/utils/ExponentialBackoff.java | 4 +- .../dogecoin/dogecoinj}/utils/Fiat.java | 4 +- .../utils/ListenerRegistration.java | 2 +- .../dogecoinj}/utils/MonetaryFormat.java | 10 +- .../dogecoinj}/utils/TaggableObject.java | 2 +- .../dogecoin/dogecoinj}/utils/Threading.java | 2 +- .../dogecoinj}/utils/package-info.java | 2 +- .../wallet/AbstractKeyChainEventListener.java | 4 +- .../wallet/AllowUnconfirmedCoinSelector.java | 4 +- .../dogecoinj}/wallet/BasicKeyChain.java | 22 +- .../dogecoinj}/wallet/CoinSelection.java | 6 +- .../dogecoinj}/wallet/CoinSelector.java | 6 +- .../dogecoinj}/wallet/DecryptingKeyBag.java | 6 +- .../wallet/DefaultCoinSelector.java | 14 +- .../wallet/DefaultRiskAnalysis.java | 20 +- .../wallet/DeterministicKeyChain.java | 36 +- .../dogecoinj}/wallet/DeterministicSeed.java | 16 +- ...DeterministicUpgradeRequiredException.java | 2 +- .../DeterministicUpgradeRequiresPassword.java | 2 +- .../wallet/EncryptableKeyChain.java | 12 +- .../wallet/FilteringCoinSelector.java | 4 +- .../dogecoin/dogecoinj}/wallet/KeyBag.java | 4 +- .../dogecoin/dogecoinj}/wallet/KeyChain.java | 10 +- .../wallet/KeyChainEventListener.java | 4 +- .../dogecoinj}/wallet/KeyChainGroup.java | 32 +- .../wallet/KeyTimeCoinSelector.java | 8 +- .../dogecoinj}/wallet/MarriedKeyChain.java | 18 +- .../dogecoin/dogecoinj}/wallet/Protos.java | 1952 ++++++++--------- .../dogecoinj}/wallet/RedeemData.java | 6 +- .../dogecoinj}/wallet/RiskAnalysis.java | 6 +- .../dogecoinj}/wallet/WalletFiles.java | 6 +- .../dogecoinj}/wallet/WalletTransaction.java | 6 +- .../dogecoinj}/wallet/package-info.java | 4 +- .../java/org/bitcoinj/core/package-info.java | 8 - .../dogecoin/dogecoinj}/crypto/cacerts | Bin .../crypto/mnemonic/wordlist/english.txt | 0 core/src/storedclientpaymentchannel.proto | 2 +- core/src/storedserverpaymentchannel.proto | 2 +- .../AbstractFullPrunedBlockChainTest.java | 18 +- .../dogecoin/dogecoinj}/core/AddressTest.java | 14 +- .../dogecoinj}/core/AlertMessageTest.java | 6 +- .../dogecoin/dogecoinj}/core/Base58Test.java | 2 +- .../core/BitcoinSerializerTest.java | 6 +- .../core/BitcoindComparisonTool.java | 24 +- .../dogecoinj}/core/BlockChainTest.java | 24 +- .../dogecoin/dogecoinj}/core/BlockTest.java | 10 +- .../dogecoinj}/core/BloomFilterTest.java | 8 +- .../dogecoinj}/core/ChainSplitTest.java | 16 +- .../dogecoin/dogecoinj}/core/CoinTest.java | 6 +- .../dogecoinj}/core/CoinbaseBlockTest.java | 8 +- .../dogecoinj}/core/DumpedPrivateKeyTest.java | 4 +- .../dogecoin/dogecoinj}/core/ECKeyTest.java | 26 +- ...ilteredBlockAndPartialMerkleTreeTests.java | 18 +- .../core/FullBlockTestGenerator.java | 14 +- .../core/H2FullPrunedBlockChainTest.java | 8 +- .../core/LazyParseByteCacheTest.java | 18 +- .../core/MemoryFullPrunedBlockChainTest.java | 8 +- .../dogecoinj}/core/MemoryPoolTest.java | 10 +- .../dogecoin/dogecoinj}/core/MessageTest.java | 4 +- .../dogecoinj}/core/PeerAddressTest.java | 6 +- .../dogecoinj}/core/PeerGroupTest.java | 20 +- .../dogecoin/dogecoinj}/core/PeerTest.java | 16 +- .../PostgresFullPrunedBlockChainTest.java | 10 +- .../core/TransactionBroadcastTest.java | 14 +- .../dogecoinj}/core/TransactionTest.java | 8 +- .../dogecoin/dogecoinj}/core/UtilsTest.java | 5 +- .../dogecoin/dogecoinj}/core/VarIntTest.java | 2 +- .../dogecoinj}/core/VersionMessageTest.java | 6 +- .../dogecoin/dogecoinj}/core/WalletTest.java | 42 +- .../dogecoin/dogecoinj}/crypto/BIP32Test.java | 8 +- .../crypto/BIP38PrivateKeyTest.java | 10 +- .../crypto/ChildKeyDerivationTest.java | 8 +- .../dogecoinj}/crypto/HDUtilsTest.java | 4 +- .../crypto/KeyCrypterScryptTest.java | 10 +- .../dogecoinj}/crypto/MnemonicCodeTest.java | 4 +- .../dogecoinj}/crypto/X509UtilsTest.java | 2 +- .../net/NetworkAbstractionTests.java | 4 +- .../net/discovery/SeedPeersTest.java | 4 +- .../channels/ChannelConnectionTest.java | 22 +- .../protocols/channels/ChannelTestUtils.java | 10 +- .../channels/PaymentChannelClientTest.java | 4 +- .../channels/PaymentChannelServerTest.java | 10 +- .../channels/PaymentChannelStateTest.java | 16 +- .../payments/PaymentProtocolTest.java | 20 +- .../payments/PaymentSessionTest.java | 12 +- .../dogecoinj}/script/ScriptChunkTest.java | 8 +- .../dogecoinj}/script/ScriptTest.java | 20 +- .../dogecoinj}/store/SPVBlockStoreTest.java | 12 +- .../store/WalletProtobufSerializerTest.java | 33 +- .../dogecoinj}/uri/BitcoinURITest.java | 10 +- .../utils/BaseTaggableObjectTest.java | 2 +- .../dogecoinj}/utils/BtcFormatTest.java | 16 +- .../dogecoinj}/utils/ExchangeRateTest.java | 4 +- .../utils/ExponentialBackoffTest.java | 6 +- .../dogecoin/dogecoinj}/utils/FiatTest.java | 4 +- .../dogecoinj}/utils/MonetaryFormatTest.java | 12 +- .../dogecoinj}/wallet/BasicKeyChainTest.java | 22 +- .../wallet/DefaultCoinSelectorTest.java | 16 +- .../wallet/DefaultRiskAnalysisTest.java | 16 +- .../wallet/DeterministicKeyChainTest.java | 20 +- .../dogecoinj}/wallet/KeyChainGroupTest.java | 16 +- .../dogecoin/dogecoinj}/core/block169482.dat | Bin .../dogecoinj}/core/first-100k-blocks.dat | Bin .../dogecoinj}/core/sig_canonical.json | 0 .../dogecoinj}/core/sig_noncanonical.json | 0 .../dogecoinj}/crypto/comodo-smime.crt | 0 .../dogecoinj}/crypto/startssl-client.crt | 0 .../dogecoinj}/crypto/startssl-smime.crt | 0 .../dogecoinj}/protocols/payments/README | 0 .../payments/pki_test.bitcoinpaymentrequest | Bin .../protocols/payments/test-cacert.key | 0 .../protocols/payments/test-cacerts | Bin .../protocols/payments/test-expired-cert | Bin .../protocols/payments/test-valid-cert | Bin .../dogecoinj}/script/script_invalid.json | 0 .../dogecoinj}/script/script_valid.json | 0 .../dogecoinj}/script/tx_invalid.json | 0 .../dogecoin/dogecoinj}/script/tx_valid.json | 0 .../deterministic-wallet-serialization.txt | 0 .../wallet/watching-wallet-serialization.txt | 0 core/src/wallet.proto | 2 +- .../examples/BackupToMnemonicSeed.java | 10 +- .../dogecoinj}/examples/DoubleSpend.java | 14 +- .../dogecoinj}/examples/DumpWallet.java | 4 +- .../examples/ExamplePaymentChannelClient.java | 20 +- .../examples/ExamplePaymentChannelServer.java | 20 +- .../dogecoinj}/examples/FetchBlock.java | 12 +- .../examples/FetchTransactions.java | 12 +- .../examples/ForwardingService.java | 18 +- .../dogecoin/dogecoinj}/examples/Kit.java | 22 +- .../dogecoinj}/examples/PeerMonitor.java | 16 +- .../dogecoinj}/examples/PrintPeers.java | 22 +- .../dogecoinj}/examples/PrivateKeys.java | 8 +- .../dogecoinj}/examples/RefreshWallet.java | 10 +- .../dogecoinj}/examples/RestoreFromSeed.java | 14 +- .../dogecoinj}/examples/SendRequest.java | 12 +- examples/src/main/javascript/demo.js | 10 +- .../dogecoinj}/tools/BlockImporter.java | 16 +- .../dogecoinj}/tools/BuildCheckpoints.java | 16 +- .../dogecoinj}/tools/PaymentProtocolTool.java | 14 +- .../dogecoinj}/tools/TestFeeLevel.java | 10 +- .../dogecoin/dogecoinj}/tools/WalletTool.java | 46 +- .../dogecoinj}/tools/WatchMempool.java | 10 +- .../dogecoinj}/tools/wallet-tool-help.txt | 0 .../src/main/java/wallettemplate/Main.java | 18 +- .../java/wallettemplate/MainController.java | 6 +- .../wallettemplate/SendMoneyController.java | 2 +- .../WalletPasswordController.java | 2 +- .../WalletSetPasswordController.java | 2 +- .../WalletSettingsController.java | 6 +- .../controls/BitcoinAddressValidator.java | 6 +- .../controls/ClickableBitcoinAddress.java | 4 +- .../wallettemplate/utils/BitcoinUIModel.java | 2 +- .../utils/KeyDerivationTasks.java | 2 +- 360 files changed, 2569 insertions(+), 2579 deletions(-) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/AbstractBlockChain.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/AbstractBlockChainListener.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/AbstractPeerEventListener.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/AbstractWalletEventListener.java (91%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/Address.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/AddressFormatException.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/AddressMessage.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/AlertMessage.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/Base58.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/BitcoinSerializer.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/Block.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/BlockChain.java (93%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/BlockChainListener.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/BloomFilter.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/CheckpointManager.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/ChildMessage.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/Coin.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/DownloadListener.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/DumpedPrivateKey.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/ECKey.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/EmptyMessage.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/FilteredBlock.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/FullPrunedBlockChain.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/GetAddrMessage.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/GetBlocksMessage.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/GetDataMessage.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/GetHeadersMessage.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/GetUTXOsMessage.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/HeadersMessage.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/InsufficientMoneyException.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/InventoryItem.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/InventoryMessage.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/ListMessage.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/MemoryPool.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/MemoryPoolMessage.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/Message.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/Monetary.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/NetworkParameters.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/NotFoundMessage.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/PartialMerkleTree.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/Peer.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/PeerAddress.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/PeerEventListener.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/PeerException.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/PeerFilterProvider.java (91%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/PeerGroup.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/PeerSocketHandler.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/Ping.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/Pong.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/ProtocolException.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/PrunedException.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/RejectMessage.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/ScriptException.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/Sha256Hash.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/StoredBlock.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/StoredTransactionOutput.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/StoredUndoableBlock.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/Transaction.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/TransactionBag.java (83%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/TransactionBroadcast.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/TransactionBroadcaster.java (91%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/TransactionConfidence.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/TransactionInput.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/TransactionOutPoint.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/TransactionOutput.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/TransactionOutputChanges.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/UTXOsMessage.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/UnknownMessage.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/UnsafeByteArrayOutputStream.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/Utils.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/VarInt.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/VerificationException.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/VersionAck.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/VersionMessage.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/VersionedChecksummedBytes.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/Wallet.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/WalletEventListener.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/WalletExtension.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/WrongNetworkException.java (97%) create mode 100644 core/src/main/java/com/dogecoin/dogecoinj/core/package-info.java rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/BIP38PrivateKey.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/ChildNumber.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/DRMWorkaround.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/DeterministicHierarchy.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/DeterministicKey.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/EncryptableItem.java (88%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/EncryptedData.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/EncryptedPrivateKey.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/HDDerivationException.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/HDKeyDerivation.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/HDUtils.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/KeyCrypter.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/KeyCrypterException.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/KeyCrypterScrypt.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/MnemonicCode.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/MnemonicException.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/PBKDF2SHA512.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/TransactionSignature.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/TrustStoreLoader.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/X509Utils.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/package-info.java (93%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/jni/NativeBlockChainListener.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/jni/NativeFutureCallback.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/jni/NativePaymentChannelHandlerFactory.java (74%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/jni/NativePaymentChannelServerConnectionEventHandler.java (76%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/jni/NativePeerEventListener.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/jni/NativeTransactionConfidenceListener.java (88%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/jni/NativeWalletEventListener.java (83%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/kits/WalletAppKit.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/kits/package-info.java (81%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/AbstractTimeoutHandler.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/BlockingClient.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/BlockingClientManager.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/ClientConnectionManager.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/ConnectionHandler.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/FilterMerger.java (92%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/MessageWriteTarget.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/NioClient.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/NioClientManager.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/NioServer.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/ProtobufParser.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/StreamParser.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/StreamParserFactory.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/discovery/DnsDiscovery.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/discovery/IrcDiscovery.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/discovery/PeerDiscovery.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/discovery/PeerDiscoveryException.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/discovery/SeedPeers.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/discovery/TorDiscovery.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/discovery/package-info.java (70%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/package-info.java (90%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/params/MainNetParams.java (94%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/params/Networks.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/params/RegTestParams.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/params/TestNet2Params.java (93%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/params/TestNet3Params.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/params/UnitTestParams.java (88%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/params/package-info.java (83%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/ClientState.java (81%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/IPaymentChannelClient.java (82%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/PaymentChannelClient.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/PaymentChannelClientConnection.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/PaymentChannelClientState.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/PaymentChannelCloseException.java (91%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/PaymentChannelServer.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/PaymentChannelServerListener.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/PaymentChannelServerState.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/PaymentIncrementAck.java (84%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/ServerConnectionEventHandler.java (90%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/ServerState.java (79%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/Simple channels protocol.txt (100%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/StoredPaymentChannelClientStates.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/StoredPaymentChannelServerStates.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/StoredServerChannel.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/ValueOutOfRangeException.java (94%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/package-info.java (78%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/package-info.java (83%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/payments/PaymentProtocol.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/payments/PaymentProtocolException.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/payments/PaymentSession.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/payments/package-info.java (75%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/script/Script.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/script/ScriptBuilder.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/script/ScriptChunk.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/script/ScriptOpCodes.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/script/package-info.java (74%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/signers/CustomTransactionSigner.java (91%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/signers/LocalTransactionSigner.java (89%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/signers/MissingSigResolutionSigner.java (89%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/signers/StatelessTransactionSigner.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/signers/TransactionSigner.java (89%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/signers/package-info.java (68%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/store/BlockStore.java (87%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/store/BlockStoreException.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/store/FullPrunedBlockStore.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/store/H2FullPrunedBlockStore.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/store/MemoryBlockStore.java (93%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/store/MemoryFullPrunedBlockStore.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/store/PostgresFullPrunedBlockStore.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/store/SPVBlockStore.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/store/UnreadableWalletException.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/store/WalletProtobufSerializer.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/store/package-info.java (92%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/testing/FakeTxBuilder.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/testing/InboundMessageQueuer.java (86%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/testing/KeyChainTransactionSigner.java (84%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/testing/MockTransactionBroadcaster.java (93%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/testing/NopTransactionSigner.java (89%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/testing/TestWithNetworkConnections.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/testing/TestWithPeerGroup.java (93%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/testing/TestWithWallet.java (90%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/testing/package-info.java (87%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/uri/BitcoinURI.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/uri/BitcoinURIParseException.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/uri/OptionalFieldValidationException.java (94%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/uri/RequiredFieldValidationException.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/uri/package-info.java (72%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/BaseTaggableObject.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/BlockFileLoader.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/BriefLogFormatter.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/BtcAutoFormat.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/BtcFixedFormat.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/BtcFormat.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/DaemonThreadFactory.java (92%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/ExchangeRate.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/ExponentialBackoff.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/Fiat.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/ListenerRegistration.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/MonetaryFormat.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/TaggableObject.java (98%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/Threading.java (99%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/package-info.java (86%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/AbstractKeyChainEventListener.java (68%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/AllowUnconfirmedCoinSelector.java (90%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/BasicKeyChain.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/CoinSelection.java (83%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/CoinSelector.java (85%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/DecryptingKeyBag.java (94%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/DefaultCoinSelector.java (93%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/DefaultRiskAnalysis.java (93%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/DeterministicKeyChain.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/DeterministicSeed.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/DeterministicUpgradeRequiredException.java (87%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/DeterministicUpgradeRequiresPassword.java (91%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/EncryptableKeyChain.java (84%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/FilteringCoinSelector.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/KeyBag.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/KeyChain.java (93%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/KeyChainEventListener.java (92%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/KeyChainGroup.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/KeyTimeCoinSelector.java (93%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/MarriedKeyChain.java (96%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/Protos.java (85%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/RedeemData.java (95%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/RiskAnalysis.java (92%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/WalletFiles.java (97%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/WalletTransaction.java (90%) rename core/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/package-info.java (55%) delete mode 100644 core/src/main/java/org/bitcoinj/core/package-info.java rename core/src/main/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/cacerts (100%) rename core/src/main/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/mnemonic/wordlist/english.txt (100%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/AbstractFullPrunedBlockChainTest.java (94%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/AddressTest.java (95%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/AlertMessageTest.java (94%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/Base58Test.java (98%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/BitcoinSerializerTest.java (98%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/BitcoindComparisonTool.java (95%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/BlockChainTest.java (96%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/BlockTest.java (98%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/BloomFilterTest.java (95%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/ChainSplitTest.java (98%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/CoinTest.java (97%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/CoinbaseBlockTest.java (94%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/DumpedPrivateKeyTest.java (93%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/ECKeyTest.java (96%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/FilteredBlockAndPartialMerkleTreeTests.java (97%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/FullBlockTestGenerator.java (99%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/H2FullPrunedBlockChainTest.java (80%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/LazyParseByteCacheTest.java (97%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/MemoryFullPrunedBlockChainTest.java (71%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/MemoryPoolTest.java (92%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/MessageTest.java (95%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/PeerAddressTest.java (91%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/PeerGroupTest.java (98%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/PeerTest.java (98%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/PostgresFullPrunedBlockChainTest.java (85%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/TransactionBroadcastTest.java (95%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/TransactionTest.java (94%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/UtilsTest.java (94%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/VarIntTest.java (98%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/VersionMessageTest.java (94%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/core/WalletTest.java (99%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/BIP32Test.java (98%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/BIP38PrivateKeyTest.java (96%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/ChildKeyDerivationTest.java (98%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/HDUtilsTest.java (98%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/KeyCrypterScryptTest.java (96%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/MnemonicCodeTest.java (99%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/X509UtilsTest.java (97%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/NetworkAbstractionTests.java (99%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/net/discovery/SeedPeersTest.java (94%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/ChannelConnectionTest.java (98%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/ChannelTestUtils.java (96%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/PaymentChannelClientTest.java (97%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/PaymentChannelServerTest.java (96%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/channels/PaymentChannelStateTest.java (98%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/payments/PaymentProtocolTest.java (91%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/payments/PaymentSessionTest.java (97%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/script/ScriptChunkTest.java (88%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/script/ScriptTest.java (97%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/store/SPVBlockStoreTest.java (87%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/store/WalletProtobufSerializerTest.java (95%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/uri/BitcoinURITest.java (98%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/BaseTaggableObjectTest.java (94%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/BtcFormatTest.java (99%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/ExchangeRateTest.java (97%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/ExponentialBackoffTest.java (94%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/FiatTest.java (96%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/utils/MonetaryFormatTest.java (97%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/BasicKeyChainTest.java (95%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/DefaultCoinSelectorTest.java (92%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/DefaultRiskAnalysisTest.java (94%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/DeterministicKeyChainTest.java (96%) rename core/src/test/java/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/KeyChainGroupTest.java (98%) rename core/src/test/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/core/block169482.dat (100%) rename core/src/test/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/core/first-100k-blocks.dat (100%) rename core/src/test/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/core/sig_canonical.json (100%) rename core/src/test/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/core/sig_noncanonical.json (100%) rename core/src/test/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/comodo-smime.crt (100%) rename core/src/test/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/startssl-client.crt (100%) rename core/src/test/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/crypto/startssl-smime.crt (100%) rename core/src/test/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/payments/README (100%) rename core/src/test/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/payments/pki_test.bitcoinpaymentrequest (100%) rename core/src/test/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/payments/test-cacert.key (100%) rename core/src/test/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/payments/test-cacerts (100%) rename core/src/test/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/payments/test-expired-cert (100%) rename core/src/test/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/protocols/payments/test-valid-cert (100%) rename core/src/test/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/script/script_invalid.json (100%) rename core/src/test/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/script/script_valid.json (100%) rename core/src/test/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/script/tx_invalid.json (100%) rename core/src/test/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/script/tx_valid.json (100%) rename core/src/test/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/deterministic-wallet-serialization.txt (100%) rename core/src/test/resources/{org/bitcoinj => com/dogecoin/dogecoinj}/wallet/watching-wallet-serialization.txt (100%) rename examples/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/examples/BackupToMnemonicSeed.java (81%) rename examples/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/examples/DoubleSpend.java (83%) rename examples/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/examples/DumpWallet.java (92%) rename examples/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/examples/ExamplePaymentChannelClient.java (93%) rename examples/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/examples/ExamplePaymentChannelServer.java (91%) rename examples/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/examples/FetchBlock.java (86%) rename examples/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/examples/FetchTransactions.java (88%) rename examples/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/examples/ForwardingService.java (93%) rename examples/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/examples/Kit.java (81%) rename examples/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/examples/PeerMonitor.java (96%) rename examples/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/examples/PrintPeers.java (89%) rename examples/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/examples/PrivateKeys.java (94%) rename examples/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/examples/RefreshWallet.java (89%) rename examples/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/examples/RestoreFromSeed.java (90%) rename examples/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/examples/SendRequest.java (90%) rename tools/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/tools/BlockImporter.java (84%) rename tools/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/tools/BuildCheckpoints.java (93%) rename tools/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/tools/PaymentProtocolTool.java (92%) rename tools/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/tools/TestFeeLevel.java (91%) rename tools/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/tools/WalletTool.java (97%) rename tools/src/main/java/{org/bitcoinj => com/dogecoin/dogecoinj}/tools/WatchMempool.java (86%) rename tools/src/main/resources/{org/bitcoinj => com/dogecoinj}/tools/wallet-tool-help.txt (100%) diff --git a/core/findbugs.xml b/core/findbugs.xml index 1fbc59d8..6a3610d9 100644 --- a/core/findbugs.xml +++ b/core/findbugs.xml @@ -16,11 +16,11 @@ - + - + @@ -38,7 +38,7 @@ - + diff --git a/core/src/main/java/org/bitcoinj/core/AbstractBlockChain.java b/core/src/main/java/com/dogecoin/dogecoinj/core/AbstractBlockChain.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/AbstractBlockChain.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/AbstractBlockChain.java index 7b28eff4..2932c557 100644 --- a/core/src/main/java/org/bitcoinj/core/AbstractBlockChain.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/AbstractBlockChain.java @@ -15,12 +15,12 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.store.BlockStore; -import org.bitcoinj.store.BlockStoreException; -import org.bitcoinj.utils.ListenerRegistration; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.store.BlockStore; +import com.dogecoin.dogecoinj.store.BlockStoreException; +import com.dogecoin.dogecoinj.utils.ListenerRegistration; +import com.dogecoin.dogecoinj.utils.Threading; import com.google.common.base.Preconditions; import com.google.common.collect.Sets; import com.google.common.util.concurrent.ListenableFuture; @@ -47,7 +47,7 @@ import static com.google.common.base.Preconditions.*; *

An AbstractBlockChain implementation must be connected to a {@link BlockStore} implementation. The chain object * by itself doesn't store any data, that's delegated to the store. Which store you use is a decision best made by * reading the getting started guide, but briefly, fully validating block chains need fully validating stores. In - * the lightweight SPV mode, a {@link org.bitcoinj.store.SPVBlockStore} is the right choice.

+ * the lightweight SPV mode, a {@link com.dogecoin.dogecoinj.store.SPVBlockStore} is the right choice.

* *

This class implements an abstract class which makes it simple to create a BlockChain that does/doesn't do full * verification. It verifies headers and is implements most of what is required to implement SPV mode, but @@ -56,7 +56,7 @@ import static com.google.common.base.Preconditions.*; *

There are two subclasses of AbstractBlockChain that are useful: {@link BlockChain}, which is the simplest * class and implements simplified payment verification. This is a lightweight and efficient mode that does * not verify the contents of blocks, just their headers. A {@link FullPrunedBlockChain} paired with a - * {@link org.bitcoinj.store.H2FullPrunedBlockStore} implements full verification, which is equivalent to the + * {@link com.dogecoin.dogecoinj.store.H2FullPrunedBlockStore} implements full verification, which is equivalent to the * original Satoshi client. To learn more about the alternative security models, please consult the articles on the * website.

* diff --git a/core/src/main/java/org/bitcoinj/core/AbstractBlockChainListener.java b/core/src/main/java/com/dogecoin/dogecoinj/core/AbstractBlockChainListener.java similarity index 97% rename from core/src/main/java/org/bitcoinj/core/AbstractBlockChainListener.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/AbstractBlockChainListener.java index a3e95495..bf7fa6a2 100644 --- a/core/src/main/java/org/bitcoinj/core/AbstractBlockChainListener.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/AbstractBlockChainListener.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.util.List; diff --git a/core/src/main/java/org/bitcoinj/core/AbstractPeerEventListener.java b/core/src/main/java/com/dogecoin/dogecoinj/core/AbstractPeerEventListener.java similarity index 97% rename from core/src/main/java/org/bitcoinj/core/AbstractPeerEventListener.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/AbstractPeerEventListener.java index 65866b18..0487c75d 100644 --- a/core/src/main/java/org/bitcoinj/core/AbstractPeerEventListener.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/AbstractPeerEventListener.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.util.List; import java.util.Set; diff --git a/core/src/main/java/org/bitcoinj/core/AbstractWalletEventListener.java b/core/src/main/java/com/dogecoin/dogecoinj/core/AbstractWalletEventListener.java similarity index 91% rename from core/src/main/java/org/bitcoinj/core/AbstractWalletEventListener.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/AbstractWalletEventListener.java index 3162a64c..298917e2 100644 --- a/core/src/main/java/org/bitcoinj/core/AbstractWalletEventListener.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/AbstractWalletEventListener.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.script.Script; -import org.bitcoinj.wallet.AbstractKeyChainEventListener; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.wallet.AbstractKeyChainEventListener; import java.util.List; diff --git a/core/src/main/java/org/bitcoinj/core/Address.java b/core/src/main/java/com/dogecoin/dogecoinj/core/Address.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/Address.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/Address.java index 7c8a0cf1..7db1d62f 100644 --- a/core/src/main/java/org/bitcoinj/core/Address.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/Address.java @@ -15,10 +15,10 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.params.Networks; -import org.bitcoinj.script.Script; +import com.dogecoin.dogecoinj.params.Networks; +import com.dogecoin.dogecoinj.script.Script; import javax.annotation.Nullable; diff --git a/core/src/main/java/org/bitcoinj/core/AddressFormatException.java b/core/src/main/java/com/dogecoin/dogecoinj/core/AddressFormatException.java similarity index 95% rename from core/src/main/java/org/bitcoinj/core/AddressFormatException.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/AddressFormatException.java index 37a2bdef..dde0de4d 100644 --- a/core/src/main/java/org/bitcoinj/core/AddressFormatException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/AddressFormatException.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; @SuppressWarnings("serial") public class AddressFormatException extends Exception { diff --git a/core/src/main/java/org/bitcoinj/core/AddressMessage.java b/core/src/main/java/com/dogecoin/dogecoinj/core/AddressMessage.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/AddressMessage.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/AddressMessage.java index b9a22977..99c173e4 100644 --- a/core/src/main/java/org/bitcoinj/core/AddressMessage.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/AddressMessage.java @@ -1,4 +1,4 @@ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.io.IOException; import java.io.OutputStream; diff --git a/core/src/main/java/org/bitcoinj/core/AlertMessage.java b/core/src/main/java/com/dogecoin/dogecoinj/core/AlertMessage.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/AlertMessage.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/AlertMessage.java index ed26389a..f53347ab 100644 --- a/core/src/main/java/org/bitcoinj/core/AlertMessage.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/AlertMessage.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.util.Date; import java.util.HashSet; diff --git a/core/src/main/java/org/bitcoinj/core/Base58.java b/core/src/main/java/com/dogecoin/dogecoinj/core/Base58.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/Base58.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/Base58.java index 913d20ba..1baec16b 100644 --- a/core/src/main/java/org/bitcoinj/core/Base58.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/Base58.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.io.UnsupportedEncodingException; import java.math.BigInteger; diff --git a/core/src/main/java/org/bitcoinj/core/BitcoinSerializer.java b/core/src/main/java/com/dogecoin/dogecoinj/core/BitcoinSerializer.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/BitcoinSerializer.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/BitcoinSerializer.java index 547207b5..b1d7f678 100644 --- a/core/src/main/java/org/bitcoinj/core/BitcoinSerializer.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/BitcoinSerializer.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -28,7 +28,7 @@ import java.nio.ByteBuffer; import java.util.HashMap; import java.util.Map; -import static org.bitcoinj.core.Utils.*; +import static com.dogecoin.dogecoinj.core.Utils.*; /** *

Methods to serialize and de-serialize messages to the Bitcoin network format as defined in diff --git a/core/src/main/java/org/bitcoinj/core/Block.java b/core/src/main/java/com/dogecoin/dogecoinj/core/Block.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/Block.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/Block.java index 22b9effb..5127cfbd 100644 --- a/core/src/main/java/org/bitcoinj/core/Block.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/Block.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.script.Script; -import org.bitcoinj.script.ScriptBuilder; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.script.ScriptBuilder; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableList; @@ -35,9 +35,9 @@ import java.util.Date; import java.util.LinkedList; import java.util.List; -import static org.bitcoinj.core.Coin.FIFTY_COINS; -import static org.bitcoinj.core.Utils.doubleDigest; -import static org.bitcoinj.core.Utils.doubleDigestTwoBuffers; +import static com.dogecoin.dogecoinj.core.Coin.FIFTY_COINS; +import static com.dogecoin.dogecoinj.core.Utils.doubleDigest; +import static com.dogecoin.dogecoinj.core.Utils.doubleDigestTwoBuffers; /** *

A block is a group of transactions, and is one of the fundamental data structures of the Bitcoin system. @@ -164,7 +164,7 @@ public class Block extends Message { * the system it was 50 coins per block, in late 2012 it went to 25 coins per block, and so on. The size of * a coinbase transaction is inflation plus fees.

* - *

The half-life is controlled by {@link org.bitcoinj.core.NetworkParameters#getSubsidyDecreaseBlockCount()}. + *

The half-life is controlled by {@link com.dogecoin.dogecoinj.core.NetworkParameters#getSubsidyDecreaseBlockCount()}. *

*/ public Coin getBlockInflation(int height) { @@ -915,7 +915,7 @@ public class Block extends Message { * Returns the difficulty of the proof of work that this block should meet encoded in compact form. The {@link * BlockChain} verifies that this is not too easy by looking at the length of the chain when the block is added. * To find the actual value the hash should be compared against, use - * {@link org.bitcoinj.core.Block#getDifficultyTargetAsInteger()}. Note that this is not the same as + * {@link com.dogecoin.dogecoinj.core.Block#getDifficultyTargetAsInteger()}. Note that this is not the same as * the difficulty value reported by the Bitcoin "getdifficulty" RPC that you may see on various block explorers. * That number is the result of applying a formula to the underlying difficulty to normalize the minimum to 1. * Calculating the difficulty that way is currently unsupported. diff --git a/core/src/main/java/org/bitcoinj/core/BlockChain.java b/core/src/main/java/com/dogecoin/dogecoinj/core/BlockChain.java similarity index 93% rename from core/src/main/java/org/bitcoinj/core/BlockChain.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/BlockChain.java index 48f7b941..e0a3350f 100644 --- a/core/src/main/java/org/bitcoinj/core/BlockChain.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/BlockChain.java @@ -15,12 +15,12 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import static com.google.common.base.Preconditions.checkArgument; -import org.bitcoinj.store.BlockStore; -import org.bitcoinj.store.BlockStoreException; +import com.dogecoin.dogecoinj.store.BlockStore; +import com.dogecoin.dogecoinj.store.BlockStoreException; import java.util.ArrayList; import java.util.List; @@ -40,8 +40,8 @@ public class BlockChain extends AbstractBlockChain { * one from scratch, or you can deserialize a saved wallet from disk using {@link Wallet#loadFromFile(java.io.File)} *

* - *

For the store, you should use {@link org.bitcoinj.store.SPVBlockStore} or you could also try a - * {@link org.bitcoinj.store.MemoryBlockStore} if you want to hold all headers in RAM and don't care about + *

For the store, you should use {@link com.dogecoin.dogecoinj.store.SPVBlockStore} or you could also try a + * {@link com.dogecoin.dogecoinj.store.MemoryBlockStore} if you want to hold all headers in RAM and don't care about * disk serialization (this is rare).

*/ public BlockChain(NetworkParameters params, Wallet wallet, BlockStore blockStore) throws BlockStoreException { diff --git a/core/src/main/java/org/bitcoinj/core/BlockChainListener.java b/core/src/main/java/com/dogecoin/dogecoinj/core/BlockChainListener.java similarity index 96% rename from core/src/main/java/org/bitcoinj/core/BlockChainListener.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/BlockChainListener.java index 2f591e7c..52397092 100644 --- a/core/src/main/java/org/bitcoinj/core/BlockChainListener.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/BlockChainListener.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.util.List; @@ -26,8 +26,8 @@ import java.util.List; public interface BlockChainListener { /** * Called when a new block on the best chain is seen, after relevant transactions are extracted and sent to - * us via either {@link #receiveFromBlock(Transaction, StoredBlock, org.bitcoinj.core.BlockChain.NewBlockType, int)} - * or {@link #notifyTransactionIsInBlock(Sha256Hash, StoredBlock, org.bitcoinj.core.BlockChain.NewBlockType, int)}. + * us via either {@link #receiveFromBlock(Transaction, StoredBlock, com.dogecoin.dogecoinj.core.BlockChain.NewBlockType, int)} + * or {@link #notifyTransactionIsInBlock(Sha256Hash, StoredBlock, com.dogecoin.dogecoinj.core.BlockChain.NewBlockType, int)}. * If this block is causing a re-organise to a new chain, this method is NOT called even though the block may be * the new best block: your reorganize implementation is expected to do whatever would normally be done do for a new * best block in this case. diff --git a/core/src/main/java/org/bitcoinj/core/BloomFilter.java b/core/src/main/java/com/dogecoin/dogecoinj/core/BloomFilter.java similarity index 97% rename from core/src/main/java/org/bitcoinj/core/BloomFilter.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/BloomFilter.java index 715d7726..efefb674 100644 --- a/core/src/main/java/org/bitcoinj/core/BloomFilter.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/BloomFilter.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.script.Script; -import org.bitcoinj.script.ScriptChunk; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.script.ScriptChunk; import com.google.common.base.Objects; import com.google.common.collect.Lists; @@ -100,7 +100,7 @@ public class BloomFilter extends Message { * It should be a random value, however secureness of the random value is of no great consequence.

* *

updateFlag is used to control filter behaviour on the server (remote node) side when it encounters a hit. - * See {@link org.bitcoinj.core.BloomFilter.BloomUpdate} for a brief description of each mode. The purpose + * See {@link com.dogecoin.dogecoinj.core.BloomFilter.BloomUpdate} for a brief description of each mode. The purpose * of this flag is to reduce network round-tripping and avoid over-dirtying the filter for the most common * wallet configurations.

*/ @@ -270,7 +270,7 @@ public class BloomFilter extends Message { } /** - * Returns true if this filter will match anything. See {@link org.bitcoinj.core.BloomFilter#setMatchAll()} + * Returns true if this filter will match anything. See {@link com.dogecoin.dogecoinj.core.BloomFilter#setMatchAll()} * for when this can be a useful thing to do. */ public synchronized boolean matchesAll() { diff --git a/core/src/main/java/org/bitcoinj/core/CheckpointManager.java b/core/src/main/java/com/dogecoin/dogecoinj/core/CheckpointManager.java similarity index 96% rename from core/src/main/java/org/bitcoinj/core/CheckpointManager.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/CheckpointManager.java index 844a86b8..3e1fd293 100644 --- a/core/src/main/java/org/bitcoinj/core/CheckpointManager.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/CheckpointManager.java @@ -14,11 +14,11 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.store.BlockStore; -import org.bitcoinj.store.BlockStoreException; -import org.bitcoinj.store.FullPrunedBlockStore; +import com.dogecoin.dogecoinj.store.BlockStore; +import com.dogecoin.dogecoinj.store.BlockStoreException; +import com.dogecoin.dogecoinj.store.FullPrunedBlockStore; import com.google.common.base.Charsets; import com.google.common.hash.HashCode; import com.google.common.hash.Hasher; @@ -55,7 +55,7 @@ import static com.google.common.base.Preconditions.*; * * *

Checkpoints are used by the SPV {@link BlockChain} to initialize fresh - * {@link org.bitcoinj.store.SPVBlockStore}s. They are not used by fully validating mode, which instead has a + * {@link com.dogecoin.dogecoinj.store.SPVBlockStore}s. They are not used by fully validating mode, which instead has a * different concept of checkpoints that are used to hard-code the validity of blocks that violate BIP30 (duplicate * coinbase transactions). Those "checkpoints" can be found in NetworkParameters.

* diff --git a/core/src/main/java/org/bitcoinj/core/ChildMessage.java b/core/src/main/java/com/dogecoin/dogecoinj/core/ChildMessage.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/ChildMessage.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/ChildMessage.java index 6d38c6a7..a58505bf 100644 --- a/core/src/main/java/org/bitcoinj/core/ChildMessage.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/ChildMessage.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import javax.annotation.Nullable; diff --git a/core/src/main/java/org/bitcoinj/core/Coin.java b/core/src/main/java/com/dogecoin/dogecoinj/core/Coin.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/Coin.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/Coin.java index 4d8728a9..c7bc06b7 100644 --- a/core/src/main/java/org/bitcoinj/core/Coin.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/Coin.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.utils.MonetaryFormat; +import com.dogecoin.dogecoinj.utils.MonetaryFormat; import com.google.common.math.LongMath; import java.io.Serializable; diff --git a/core/src/main/java/org/bitcoinj/core/DownloadListener.java b/core/src/main/java/com/dogecoin/dogecoinj/core/DownloadListener.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/DownloadListener.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/DownloadListener.java index cda3e28b..13e09a68 100644 --- a/core/src/main/java/org/bitcoinj/core/DownloadListener.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/DownloadListener.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/core/src/main/java/org/bitcoinj/core/DumpedPrivateKey.java b/core/src/main/java/com/dogecoin/dogecoinj/core/DumpedPrivateKey.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/DumpedPrivateKey.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/DumpedPrivateKey.java index ac7cc387..160e62b7 100644 --- a/core/src/main/java/org/bitcoinj/core/DumpedPrivateKey.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/DumpedPrivateKey.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import com.google.common.base.Objects; import com.google.common.base.Preconditions; diff --git a/core/src/main/java/org/bitcoinj/core/ECKey.java b/core/src/main/java/com/dogecoin/dogecoinj/core/ECKey.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/ECKey.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/ECKey.java index 52523c72..ea0921f9 100644 --- a/core/src/main/java/org/bitcoinj/core/ECKey.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/ECKey.java @@ -15,16 +15,16 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.crypto.*; +import com.dogecoin.dogecoinj.crypto.*; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Objects; import com.google.common.base.Objects.ToStringHelper; import com.google.common.base.Preconditions; import com.google.common.primitives.UnsignedBytes; import org.bitcoin.NativeSecp256k1; -import org.bitcoinj.wallet.Protos; +import com.dogecoin.dogecoinj.wallet.Protos; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.spongycastle.asn1.*; @@ -380,7 +380,7 @@ public class ECKey implements EncryptableItem, Serializable { /** * Output this ECKey as an ASN.1 encoded private key, as understood by OpenSSL or used by the Bitcoin reference * implementation in its wallet storage format. - * @throws org.bitcoinj.core.ECKey.MissingPrivateKeyException if the private key is missing or encrypted. + * @throws com.dogecoin.dogecoinj.core.ECKey.MissingPrivateKeyException if the private key is missing or encrypted. */ public byte[] toASN1() { try { @@ -565,7 +565,7 @@ public class ECKey implements EncryptableItem, Serializable { /** * Signs the given hash and returns the R and S components as BigIntegers. In the Bitcoin protocol, they are - * usually encoded using ASN.1 format, so you want {@link org.bitcoinj.core.ECKey.ECDSASignature#toASN1()} + * usually encoded using ASN.1 format, so you want {@link com.dogecoin.dogecoinj.core.ECKey.ECDSASignature#toASN1()} * instead. However sometimes the independent components can be useful, for instance, if you're going to do * further EC maths on them. * @throws KeyCrypterException if this ECKey doesn't have a private part. @@ -584,7 +584,7 @@ public class ECKey implements EncryptableItem, Serializable { /** * Signs the given hash and returns the R and S components as BigIntegers. In the Bitcoin protocol, they are - * usually encoded using DER format, so you want {@link org.bitcoinj.core.ECKey.ECDSASignature#encodeToDER()} + * usually encoded using DER format, so you want {@link com.dogecoin.dogecoinj.core.ECKey.ECDSASignature#encodeToDER()} * instead. However sometimes the independent components can be useful, for instance, if you're doing to do further * EC maths on them. * @@ -909,7 +909,7 @@ public class ECKey implements EncryptableItem, Serializable { /** * Returns a 32 byte array containing the private key. - * @throws org.bitcoinj.core.ECKey.MissingPrivateKeyException if the private key bytes are missing/encrypted. + * @throws com.dogecoin.dogecoinj.core.ECKey.MissingPrivateKeyException if the private key bytes are missing/encrypted. */ public byte[] getPrivKeyBytes() { return Utils.bigIntegerToBytes(getPrivKey(), 32); @@ -917,7 +917,7 @@ public class ECKey implements EncryptableItem, Serializable { /** * Exports the private key in the form used by the Satoshi client "dumpprivkey" and "importprivkey" commands. Use - * the {@link org.bitcoinj.core.DumpedPrivateKey#toString()} method to get the string. + * the {@link com.dogecoin.dogecoinj.core.DumpedPrivateKey#toString()} method to get the string. * * @param params The network this key is intended for use on. * @return Private key bytes as a {@link DumpedPrivateKey}. diff --git a/core/src/main/java/org/bitcoinj/core/EmptyMessage.java b/core/src/main/java/com/dogecoin/dogecoinj/core/EmptyMessage.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/EmptyMessage.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/EmptyMessage.java index deb0cadc..45676497 100644 --- a/core/src/main/java/org/bitcoinj/core/EmptyMessage.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/EmptyMessage.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.io.IOException; import java.io.OutputStream; diff --git a/core/src/main/java/org/bitcoinj/core/FilteredBlock.java b/core/src/main/java/com/dogecoin/dogecoinj/core/FilteredBlock.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/FilteredBlock.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/FilteredBlock.java index aa3eb80c..db1058b6 100644 --- a/core/src/main/java/org/bitcoinj/core/FilteredBlock.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/FilteredBlock.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.io.IOException; import java.io.OutputStream; diff --git a/core/src/main/java/org/bitcoinj/core/FullPrunedBlockChain.java b/core/src/main/java/com/dogecoin/dogecoinj/core/FullPrunedBlockChain.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/FullPrunedBlockChain.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/FullPrunedBlockChain.java index ebbc3cab..000b8adb 100644 --- a/core/src/main/java/org/bitcoinj/core/FullPrunedBlockChain.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/FullPrunedBlockChain.java @@ -15,13 +15,13 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.script.Script; -import org.bitcoinj.script.Script.VerifyFlag; -import org.bitcoinj.store.BlockStoreException; -import org.bitcoinj.store.FullPrunedBlockStore; -import org.bitcoinj.utils.DaemonThreadFactory; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.script.Script.VerifyFlag; +import com.dogecoin.dogecoinj.store.BlockStoreException; +import com.dogecoin.dogecoinj.store.FullPrunedBlockStore; +import com.dogecoin.dogecoinj.utils.DaemonThreadFactory; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/core/src/main/java/org/bitcoinj/core/GetAddrMessage.java b/core/src/main/java/com/dogecoin/dogecoinj/core/GetAddrMessage.java similarity index 96% rename from core/src/main/java/org/bitcoinj/core/GetAddrMessage.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/GetAddrMessage.java index 54339c04..56e59682 100644 --- a/core/src/main/java/org/bitcoinj/core/GetAddrMessage.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/GetAddrMessage.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; /** * Represents the "getaddr" P2P protocol message, which requests network {@link AddressMessage}s from a peer. Not to diff --git a/core/src/main/java/org/bitcoinj/core/GetBlocksMessage.java b/core/src/main/java/com/dogecoin/dogecoinj/core/GetBlocksMessage.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/GetBlocksMessage.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/GetBlocksMessage.java index 0f3765fc..5ae66c71 100644 --- a/core/src/main/java/org/bitcoinj/core/GetBlocksMessage.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/GetBlocksMessage.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.io.IOException; import java.io.OutputStream; diff --git a/core/src/main/java/org/bitcoinj/core/GetDataMessage.java b/core/src/main/java/com/dogecoin/dogecoinj/core/GetDataMessage.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/GetDataMessage.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/GetDataMessage.java index 2848a525..378cca37 100644 --- a/core/src/main/java/org/bitcoinj/core/GetDataMessage.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/GetDataMessage.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; /** * Represents the "getdata" P2P network message, which requests the contents of blocks or transactions given their diff --git a/core/src/main/java/org/bitcoinj/core/GetHeadersMessage.java b/core/src/main/java/com/dogecoin/dogecoinj/core/GetHeadersMessage.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/GetHeadersMessage.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/GetHeadersMessage.java index 5f0d89f0..e35d8e04 100644 --- a/core/src/main/java/org/bitcoinj/core/GetHeadersMessage.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/GetHeadersMessage.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.util.List; diff --git a/core/src/main/java/org/bitcoinj/core/GetUTXOsMessage.java b/core/src/main/java/com/dogecoin/dogecoinj/core/GetUTXOsMessage.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/GetUTXOsMessage.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/GetUTXOsMessage.java index 08f5c9f3..6602e3d8 100644 --- a/core/src/main/java/org/bitcoinj/core/GetUTXOsMessage.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/GetUTXOsMessage.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import com.google.common.collect.ImmutableList; diff --git a/core/src/main/java/org/bitcoinj/core/HeadersMessage.java b/core/src/main/java/com/dogecoin/dogecoinj/core/HeadersMessage.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/HeadersMessage.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/HeadersMessage.java index 3953af85..3ae9cc06 100644 --- a/core/src/main/java/org/bitcoinj/core/HeadersMessage.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/HeadersMessage.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/core/src/main/java/org/bitcoinj/core/InsufficientMoneyException.java b/core/src/main/java/com/dogecoin/dogecoinj/core/InsufficientMoneyException.java similarity index 97% rename from core/src/main/java/org/bitcoinj/core/InsufficientMoneyException.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/InsufficientMoneyException.java index da3d5278..ce1d304e 100644 --- a/core/src/main/java/org/bitcoinj/core/InsufficientMoneyException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/InsufficientMoneyException.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import javax.annotation.Nullable; diff --git a/core/src/main/java/org/bitcoinj/core/InventoryItem.java b/core/src/main/java/com/dogecoin/dogecoinj/core/InventoryItem.java similarity index 97% rename from core/src/main/java/org/bitcoinj/core/InventoryItem.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/InventoryItem.java index 63320703..4441b0ef 100644 --- a/core/src/main/java/org/bitcoinj/core/InventoryItem.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/InventoryItem.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; public class InventoryItem { diff --git a/core/src/main/java/org/bitcoinj/core/InventoryMessage.java b/core/src/main/java/com/dogecoin/dogecoinj/core/InventoryMessage.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/InventoryMessage.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/InventoryMessage.java index ac8685a3..0b318361 100644 --- a/core/src/main/java/org/bitcoinj/core/InventoryMessage.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/InventoryMessage.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import static com.google.common.base.Preconditions.checkArgument; diff --git a/core/src/main/java/org/bitcoinj/core/ListMessage.java b/core/src/main/java/com/dogecoin/dogecoinj/core/ListMessage.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/ListMessage.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/ListMessage.java index 0ec4d959..38dee710 100644 --- a/core/src/main/java/org/bitcoinj/core/ListMessage.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/ListMessage.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.io.IOException; import java.io.OutputStream; diff --git a/core/src/main/java/org/bitcoinj/core/MemoryPool.java b/core/src/main/java/com/dogecoin/dogecoinj/core/MemoryPool.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/MemoryPool.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/MemoryPool.java index 8b9f9452..78252fc3 100644 --- a/core/src/main/java/org/bitcoinj/core/MemoryPool.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/MemoryPool.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.utils.Threading; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/core/src/main/java/org/bitcoinj/core/MemoryPoolMessage.java b/core/src/main/java/com/dogecoin/dogecoinj/core/MemoryPoolMessage.java similarity index 97% rename from core/src/main/java/org/bitcoinj/core/MemoryPoolMessage.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/MemoryPoolMessage.java index 5c90fbbd..c0b75d33 100644 --- a/core/src/main/java/org/bitcoinj/core/MemoryPoolMessage.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/MemoryPoolMessage.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.io.IOException; import java.io.OutputStream; diff --git a/core/src/main/java/org/bitcoinj/core/Message.java b/core/src/main/java/com/dogecoin/dogecoinj/core/Message.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/Message.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/Message.java index 26cf995a..e50025ef 100644 --- a/core/src/main/java/org/bitcoinj/core/Message.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/Message.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/core/src/main/java/org/bitcoinj/core/Monetary.java b/core/src/main/java/com/dogecoin/dogecoinj/core/Monetary.java similarity index 96% rename from core/src/main/java/org/bitcoinj/core/Monetary.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/Monetary.java index 26bf479e..6f61f010 100644 --- a/core/src/main/java/org/bitcoinj/core/Monetary.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/Monetary.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.io.Serializable; diff --git a/core/src/main/java/org/bitcoinj/core/NetworkParameters.java b/core/src/main/java/com/dogecoin/dogecoinj/core/NetworkParameters.java similarity index 95% rename from core/src/main/java/org/bitcoinj/core/NetworkParameters.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/NetworkParameters.java index 2efd3420..e0c4be90 100644 --- a/core/src/main/java/org/bitcoinj/core/NetworkParameters.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/NetworkParameters.java @@ -15,11 +15,11 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.params.*; -import org.bitcoinj.script.Script; -import org.bitcoinj.script.ScriptOpCodes; +import com.dogecoin.dogecoinj.params.*; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.script.ScriptOpCodes; import com.google.common.base.Objects; import javax.annotation.Nullable; @@ -28,7 +28,7 @@ import java.io.Serializable; import java.math.BigInteger; import java.util.*; -import static org.bitcoinj.core.Coin.*; +import static com.dogecoin.dogecoinj.core.Coin.*; /** *

NetworkParameters contains the data needed for working with an instantiation of a Bitcoin chain.

@@ -282,7 +282,7 @@ public abstract class NetworkParameters implements Serializable { } /** - * First byte of a base58 encoded address. See {@link org.bitcoinj.core.Address}. This is the same as acceptableAddressCodes[0] and + * First byte of a base58 encoded address. See {@link com.dogecoin.dogecoinj.core.Address}. This is the same as acceptableAddressCodes[0] and * is the one used for "normal" addresses. Other types of address may be encountered with version codes found in * the acceptableAddressCodes array. */ @@ -297,7 +297,7 @@ public abstract class NetworkParameters implements Serializable { return p2shHeader; } - /** First byte of a base58 encoded dumped private key. See {@link org.bitcoinj.core.DumpedPrivateKey}. */ + /** First byte of a base58 encoded dumped private key. See {@link com.dogecoin.dogecoinj.core.DumpedPrivateKey}. */ public int getDumpedPrivateKeyHeader() { return dumpedPrivateKeyHeader; } @@ -338,7 +338,7 @@ public abstract class NetworkParameters implements Serializable { } /** - * The key used to sign {@link org.bitcoinj.core.AlertMessage}s. You can use {@link org.bitcoinj.core.ECKey#verify(byte[], byte[], byte[])} to verify + * The key used to sign {@link com.dogecoin.dogecoinj.core.AlertMessage}s. You can use {@link com.dogecoin.dogecoinj.core.ECKey#verify(byte[], byte[], byte[])} to verify * signatures using it. */ public byte[] getAlertSigningKey() { diff --git a/core/src/main/java/org/bitcoinj/core/NotFoundMessage.java b/core/src/main/java/com/dogecoin/dogecoinj/core/NotFoundMessage.java similarity index 97% rename from core/src/main/java/org/bitcoinj/core/NotFoundMessage.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/NotFoundMessage.java index ea1319d0..072e9647 100644 --- a/core/src/main/java/org/bitcoinj/core/NotFoundMessage.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/NotFoundMessage.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.util.ArrayList; import java.util.List; diff --git a/core/src/main/java/org/bitcoinj/core/PartialMerkleTree.java b/core/src/main/java/com/dogecoin/dogecoinj/core/PartialMerkleTree.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/PartialMerkleTree.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/PartialMerkleTree.java index 511f2437..06750eef 100644 --- a/core/src/main/java/org/bitcoinj/core/PartialMerkleTree.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/PartialMerkleTree.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.io.IOException; import java.io.OutputStream; @@ -23,7 +23,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import static org.bitcoinj.core.Utils.*; +import static com.dogecoin.dogecoinj.core.Utils.*; /** *

A data structure that contains proofs of block inclusion for one or more transactions, in an efficient manner.

diff --git a/core/src/main/java/org/bitcoinj/core/Peer.java b/core/src/main/java/com/dogecoin/dogecoinj/core/Peer.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/Peer.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/Peer.java index 9bee391f..00535b93 100644 --- a/core/src/main/java/org/bitcoinj/core/Peer.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/Peer.java @@ -14,12 +14,12 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.store.BlockStore; -import org.bitcoinj.store.BlockStoreException; -import org.bitcoinj.utils.ListenerRegistration; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.store.BlockStore; +import com.dogecoin.dogecoinj.store.BlockStoreException; +import com.dogecoin.dogecoinj.utils.ListenerRegistration; +import com.dogecoin.dogecoinj.utils.Threading; import com.google.common.base.Objects; import com.google.common.base.Preconditions; import com.google.common.collect.Lists; @@ -47,8 +47,8 @@ import static com.google.common.base.Preconditions.checkState; * handles low-level message (de)serialization.

* *

Note that timeouts are handled by the extended - * {@link org.bitcoinj.net.AbstractTimeoutHandler} and timeout is automatically disabled (using - * {@link org.bitcoinj.net.AbstractTimeoutHandler#setTimeoutEnabled(boolean)}) once the version + * {@link com.dogecoin.dogecoinj.net.AbstractTimeoutHandler} and timeout is automatically disabled (using + * {@link com.dogecoin.dogecoinj.net.AbstractTimeoutHandler#setTimeoutEnabled(boolean)}) once the version * handshake completes.

*/ public class Peer extends PeerSocketHandler { @@ -157,9 +157,9 @@ public class Peer extends PeerSocketHandler { * *

Note that this does NOT make a connection to the given remoteAddress, it only creates a handler for a * connection. If you want to create a one-off connection, create a Peer and pass it to - * {@link org.bitcoinj.net.NioClientManager#openConnection(java.net.SocketAddress, org.bitcoinj.net.StreamParser)} + * {@link com.dogecoin.dogecoinj.net.NioClientManager#openConnection(java.net.SocketAddress, com.dogecoin.dogecoinj.net.StreamParser)} * or - * {@link org.bitcoinj.net.NioClient#NioClient(java.net.SocketAddress, org.bitcoinj.net.StreamParser, int)}.

+ * {@link com.dogecoin.dogecoinj.net.NioClient#NioClient(java.net.SocketAddress, com.dogecoin.dogecoinj.net.StreamParser, int)}.

* *

The remoteAddress provided should match the remote address of the peer which is being connected to, and is * used to keep track of which peers relayed transactions and offer more descriptive logging.

@@ -175,9 +175,9 @@ public class Peer extends PeerSocketHandler { * *

Note that this does NOT make a connection to the given remoteAddress, it only creates a handler for a * connection. If you want to create a one-off connection, create a Peer and pass it to - * {@link org.bitcoinj.net.NioClientManager#openConnection(java.net.SocketAddress, org.bitcoinj.net.StreamParser)} + * {@link com.dogecoin.dogecoinj.net.NioClientManager#openConnection(java.net.SocketAddress, com.dogecoin.dogecoinj.net.StreamParser)} * or - * {@link org.bitcoinj.net.NioClient#NioClient(java.net.SocketAddress, org.bitcoinj.net.StreamParser, int)}.

+ * {@link com.dogecoin.dogecoinj.net.NioClient#NioClient(java.net.SocketAddress, com.dogecoin.dogecoinj.net.StreamParser, int)}.

* *

The remoteAddress provided should match the remote address of the peer which is being connected to, and is * used to keep track of which peers relayed transactions and offer more descriptive logging.

@@ -194,9 +194,9 @@ public class Peer extends PeerSocketHandler { * *

Note that this does NOT make a connection to the given remoteAddress, it only creates a handler for a * connection. If you want to create a one-off connection, create a Peer and pass it to - * {@link org.bitcoinj.net.NioClientManager#openConnection(java.net.SocketAddress, org.bitcoinj.net.StreamParser)} + * {@link com.dogecoin.dogecoinj.net.NioClientManager#openConnection(java.net.SocketAddress, com.dogecoin.dogecoinj.net.StreamParser)} * or - * {@link org.bitcoinj.net.NioClient#NioClient(java.net.SocketAddress, org.bitcoinj.net.StreamParser, int)}.

+ * {@link com.dogecoin.dogecoinj.net.NioClient#NioClient(java.net.SocketAddress, com.dogecoin.dogecoinj.net.StreamParser, int)}.

* *

The remoteAddress provided should match the remote address of the peer which is being connected to, and is * used to keep track of which peers relayed transactions and offer more descriptive logging.

@@ -225,9 +225,9 @@ public class Peer extends PeerSocketHandler { * *

Note that this does NOT make a connection to the given remoteAddress, it only creates a handler for a * connection. If you want to create a one-off connection, create a Peer and pass it to - * {@link org.bitcoinj.net.NioClientManager#openConnection(java.net.SocketAddress, org.bitcoinj.net.StreamParser)} + * {@link com.dogecoin.dogecoinj.net.NioClientManager#openConnection(java.net.SocketAddress, com.dogecoin.dogecoinj.net.StreamParser)} * or - * {@link org.bitcoinj.net.NioClient#NioClient(java.net.SocketAddress, org.bitcoinj.net.StreamParser, int)}.

+ * {@link com.dogecoin.dogecoinj.net.NioClient#NioClient(java.net.SocketAddress, com.dogecoin.dogecoinj.net.StreamParser, int)}.

* *

The remoteAddress provided should match the remote address of the peer which is being connected to, and is * used to keep track of which peers relayed transactions and offer more descriptive logging.

@@ -1406,7 +1406,7 @@ public class Peer extends PeerSocketHandler { /** * Sends the peer a ping message and returns a future that will be invoked when the pong is received back. * The future provides a number which is the number of milliseconds elapsed between the ping and the pong. - * Once the pong is received the value returned by {@link org.bitcoinj.core.Peer#getLastPingTime()} is + * Once the pong is received the value returned by {@link com.dogecoin.dogecoinj.core.Peer#getLastPingTime()} is * updated. * @throws ProtocolException if the peer version is too low to support measurable pings. */ @@ -1425,7 +1425,7 @@ public class Peer extends PeerSocketHandler { } /** - * Returns the elapsed time of the last ping/pong cycle. If {@link org.bitcoinj.core.Peer#ping()} has never + * Returns the elapsed time of the last ping/pong cycle. If {@link com.dogecoin.dogecoinj.core.Peer#ping()} has never * been called or we did not hear back the "pong" message yet, returns {@link Long#MAX_VALUE}. */ public long getLastPingTime() { @@ -1440,7 +1440,7 @@ public class Peer extends PeerSocketHandler { } /** - * Returns a moving average of the last N ping/pong cycles. If {@link org.bitcoinj.core.Peer#ping()} has never + * Returns a moving average of the last N ping/pong cycles. If {@link com.dogecoin.dogecoinj.core.Peer#ping()} has never * been called or we did not hear back the "pong" message yet, returns {@link Long#MAX_VALUE}. The moving average * window is 5 buckets. */ diff --git a/core/src/main/java/org/bitcoinj/core/PeerAddress.java b/core/src/main/java/com/dogecoin/dogecoinj/core/PeerAddress.java similarity index 97% rename from core/src/main/java/org/bitcoinj/core/PeerAddress.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/PeerAddress.java index a508b8e5..80328807 100644 --- a/core/src/main/java/org/bitcoinj/core/PeerAddress.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/PeerAddress.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.params.MainNetParams; +import com.dogecoin.dogecoinj.params.MainNetParams; import com.google.common.net.InetAddresses; import java.io.IOException; @@ -26,8 +26,8 @@ import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.UnknownHostException; -import static org.bitcoinj.core.Utils.uint32ToByteStreamLE; -import static org.bitcoinj.core.Utils.uint64ToByteStreamLE; +import static com.dogecoin.dogecoinj.core.Utils.uint32ToByteStreamLE; +import static com.dogecoin.dogecoinj.core.Utils.uint64ToByteStreamLE; import static com.google.common.base.Preconditions.checkNotNull; /** diff --git a/core/src/main/java/org/bitcoinj/core/PeerEventListener.java b/core/src/main/java/com/dogecoin/dogecoinj/core/PeerEventListener.java similarity index 95% rename from core/src/main/java/org/bitcoinj/core/PeerEventListener.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/PeerEventListener.java index 31f4e538..04c205d2 100644 --- a/core/src/main/java/org/bitcoinj/core/PeerEventListener.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/PeerEventListener.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import javax.annotation.Nullable; import java.util.List; @@ -79,7 +79,7 @@ public interface PeerEventListener { * callback is passed as "m" to the next, forming a chain.

* *

Note that this will never be called if registered with any executor other than - * {@link org.bitcoinj.utils.Threading#SAME_THREAD}

+ * {@link com.dogecoin.dogecoinj.utils.Threading#SAME_THREAD}

*/ public Message onPreMessageReceived(Peer peer, Message m); @@ -93,7 +93,7 @@ public interface PeerEventListener { * items as possible which appear in the {@link GetDataMessage}, or null if you're not interested in responding.

* *

Note that this will never be called if registered with any executor other than - * {@link org.bitcoinj.utils.Threading#SAME_THREAD}

+ * {@link com.dogecoin.dogecoinj.utils.Threading#SAME_THREAD}

*/ @Nullable public List getData(Peer peer, GetDataMessage m); diff --git a/core/src/main/java/org/bitcoinj/core/PeerException.java b/core/src/main/java/com/dogecoin/dogecoinj/core/PeerException.java similarity index 96% rename from core/src/main/java/org/bitcoinj/core/PeerException.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/PeerException.java index ac4ab5e3..f84010f4 100644 --- a/core/src/main/java/org/bitcoinj/core/PeerException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/PeerException.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; /** * Thrown when a problem occurs in communicating with a peer, and we should diff --git a/core/src/main/java/org/bitcoinj/core/PeerFilterProvider.java b/core/src/main/java/com/dogecoin/dogecoinj/core/PeerFilterProvider.java similarity index 91% rename from core/src/main/java/org/bitcoinj/core/PeerFilterProvider.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/PeerFilterProvider.java index 3af57b77..8f0f36b4 100644 --- a/core/src/main/java/org/bitcoinj/core/PeerFilterProvider.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/PeerFilterProvider.java @@ -14,13 +14,13 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.util.concurrent.locks.Lock; /** * An interface which provides the information required to properly filter data downloaded from Peers. - * Note that an implementer is responsible for calling {@link PeerGroup#recalculateFastCatchupAndFilter(org.bitcoinj.core.PeerGroup.FilterRecalculateMode)} + * Note that an implementer is responsible for calling {@link PeerGroup#recalculateFastCatchupAndFilter(com.dogecoin.dogecoinj.core.PeerGroup.FilterRecalculateMode)} * whenever a change occurs which effects the data provided via this interface. */ public interface PeerFilterProvider { @@ -49,7 +49,7 @@ public interface PeerFilterProvider { /** * Returns an object that will be locked before any other methods are called and unlocked afterwards. You must * provide one of these because the results from calling the above methods must be consistent. Otherwise it's - * possible for the {@link org.bitcoinj.net.FilterMerger} to request the counts of a bunch of providers + * possible for the {@link com.dogecoin.dogecoinj.net.FilterMerger} to request the counts of a bunch of providers * with {@link #getBloomFilterElementCount()}, create a filter of the right size, call {@link #getBloomFilter(int, double, long)} * and then the filter provider discovers it's been mutated in the mean time and now has a different number of * elements. For instance, a Wallet that has keys added to it whilst a filter recalc is in progress could cause diff --git a/core/src/main/java/org/bitcoinj/core/PeerGroup.java b/core/src/main/java/com/dogecoin/dogecoinj/core/PeerGroup.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/PeerGroup.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/PeerGroup.java index f2040a21..8ff03e36 100644 --- a/core/src/main/java/org/bitcoinj/core/PeerGroup.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/PeerGroup.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Preconditions; @@ -28,18 +28,18 @@ import com.google.common.primitives.Longs; import com.google.common.util.concurrent.*; import com.subgraph.orchid.TorClient; import net.jcip.annotations.GuardedBy; -import org.bitcoinj.crypto.DRMWorkaround; -import org.bitcoinj.net.BlockingClientManager; -import org.bitcoinj.net.ClientConnectionManager; -import org.bitcoinj.net.FilterMerger; -import org.bitcoinj.net.NioClientManager; -import org.bitcoinj.net.discovery.PeerDiscovery; -import org.bitcoinj.net.discovery.PeerDiscoveryException; -import org.bitcoinj.net.discovery.TorDiscovery; -import org.bitcoinj.script.Script; -import org.bitcoinj.utils.ExponentialBackoff; -import org.bitcoinj.utils.ListenerRegistration; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.crypto.DRMWorkaround; +import com.dogecoin.dogecoinj.net.BlockingClientManager; +import com.dogecoin.dogecoinj.net.ClientConnectionManager; +import com.dogecoin.dogecoinj.net.FilterMerger; +import com.dogecoin.dogecoinj.net.NioClientManager; +import com.dogecoin.dogecoinj.net.discovery.PeerDiscovery; +import com.dogecoin.dogecoinj.net.discovery.PeerDiscoveryException; +import com.dogecoin.dogecoinj.net.discovery.TorDiscovery; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.utils.ExponentialBackoff; +import com.dogecoin.dogecoinj.utils.ListenerRegistration; +import com.dogecoin.dogecoinj.utils.Threading; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -1005,7 +1005,7 @@ public class PeerGroup extends AbstractExecutionThreadService implements Transac * * @param address destination IP and port. * @return The newly created Peer object or null if the peer could not be connected. - * Use {@link org.bitcoinj.core.Peer#getConnectionOpenFuture()} if you + * Use {@link com.dogecoin.dogecoinj.core.Peer#getConnectionOpenFuture()} if you * want a future which completes when the connection is open. */ @Nullable @@ -1377,7 +1377,7 @@ public class PeerGroup extends AbstractExecutionThreadService implements Transac /** * Returns a future that is triggered when the number of connected peers is equal to the given number of - * peers. By using this with {@link org.bitcoinj.core.PeerGroup#getMaxConnections()} you can wait until the + * peers. By using this with {@link com.dogecoin.dogecoinj.core.PeerGroup#getMaxConnections()} you can wait until the * network is fully online. To block immediately, just call get() on the result. Just calls * {@link #waitForPeersOfVersion(int, long)} with zero as the protocol version. * @@ -1435,7 +1435,7 @@ public class PeerGroup extends AbstractExecutionThreadService implements Transac * enough, {@link PeerGroup#broadcastTransaction(Transaction)} will wait until the minimum number is reached so * propagation across the network can be observed. If no value has been set using * {@link PeerGroup#setMinBroadcastConnections(int)} a default of half of whatever - * {@link org.bitcoinj.core.PeerGroup#getMaxConnections()} returns is used. + * {@link com.dogecoin.dogecoinj.core.PeerGroup#getMaxConnections()} returns is used. */ public int getMinBroadcastConnections() { lock.lock(); @@ -1454,7 +1454,7 @@ public class PeerGroup extends AbstractExecutionThreadService implements Transac } /** - * See {@link org.bitcoinj.core.PeerGroup#getMinBroadcastConnections()}. + * See {@link com.dogecoin.dogecoinj.core.PeerGroup#getMinBroadcastConnections()}. */ public void setMinBroadcastConnections(int value) { lock.lock(); @@ -1537,7 +1537,7 @@ public class PeerGroup extends AbstractExecutionThreadService implements Transac /** * Returns the period between pings for an individual peer. Setting this lower means more accurate and timely ping - * times are available via {@link org.bitcoinj.core.Peer#getLastPingTime()} but it increases load on the + * times are available via {@link com.dogecoin.dogecoinj.core.Peer#getLastPingTime()} but it increases load on the * remote node. It defaults to 5000. */ public long getPingIntervalMsec() { @@ -1551,10 +1551,10 @@ public class PeerGroup extends AbstractExecutionThreadService implements Transac /** * Sets the period between pings for an individual peer. Setting this lower means more accurate and timely ping - * times are available via {@link org.bitcoinj.core.Peer#getLastPingTime()} but it increases load on the + * times are available via {@link com.dogecoin.dogecoinj.core.Peer#getLastPingTime()} but it increases load on the * remote node. It defaults to {@link PeerGroup#DEFAULT_PING_INTERVAL_MSEC}. * Setting the value to be <= 0 disables pinging entirely, although you can still request one yourself - * using {@link org.bitcoinj.core.Peer#ping()}. + * using {@link com.dogecoin.dogecoinj.core.Peer#ping()}. */ public void setPingIntervalMsec(long pingIntervalMsec) { lock.lock(); diff --git a/core/src/main/java/org/bitcoinj/core/PeerSocketHandler.java b/core/src/main/java/com/dogecoin/dogecoinj/core/PeerSocketHandler.java similarity index 95% rename from core/src/main/java/org/bitcoinj/core/PeerSocketHandler.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/PeerSocketHandler.java index 0ab9d53e..404139b0 100644 --- a/core/src/main/java/org/bitcoinj/core/PeerSocketHandler.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/PeerSocketHandler.java @@ -14,12 +14,12 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.net.AbstractTimeoutHandler; -import org.bitcoinj.net.MessageWriteTarget; -import org.bitcoinj.net.StreamParser; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.net.AbstractTimeoutHandler; +import com.dogecoin.dogecoinj.net.MessageWriteTarget; +import com.dogecoin.dogecoinj.net.StreamParser; +import com.dogecoin.dogecoinj.utils.Threading; import com.google.common.annotations.VisibleForTesting; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -37,7 +37,7 @@ import static com.google.common.base.Preconditions.*; /** * Handles high-level message (de)serialization for peers, acting as the bridge between the - * {@link org.bitcoinj.net} classes and {@link Peer}. + * {@link com.dogecoin.dogecoinj.net} classes and {@link Peer}. */ public abstract class PeerSocketHandler extends AbstractTimeoutHandler implements StreamParser { private static final Logger log = LoggerFactory.getLogger(PeerSocketHandler.class); @@ -185,8 +185,8 @@ public abstract class PeerSocketHandler extends AbstractTimeoutHandler implement /** * Sets the {@link MessageWriteTarget} used to write messages to the peer. This should almost never be called, it is - * called automatically by {@link org.bitcoinj.net.NioClient} or - * {@link org.bitcoinj.net.NioClientManager} once the socket finishes initialization. + * called automatically by {@link com.dogecoin.dogecoinj.net.NioClient} or + * {@link com.dogecoin.dogecoinj.net.NioClientManager} once the socket finishes initialization. */ @Override public void setWriteTarget(MessageWriteTarget writeTarget) { diff --git a/core/src/main/java/org/bitcoinj/core/Ping.java b/core/src/main/java/com/dogecoin/dogecoinj/core/Ping.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/Ping.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/Ping.java index b357daac..6afdbbc6 100644 --- a/core/src/main/java/org/bitcoinj/core/Ping.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/Ping.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.io.IOException; import java.io.OutputStream; diff --git a/core/src/main/java/org/bitcoinj/core/Pong.java b/core/src/main/java/com/dogecoin/dogecoinj/core/Pong.java similarity index 97% rename from core/src/main/java/org/bitcoinj/core/Pong.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/Pong.java index 09147555..43281973 100644 --- a/core/src/main/java/org/bitcoinj/core/Pong.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/Pong.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.io.IOException; import java.io.OutputStream; diff --git a/core/src/main/java/org/bitcoinj/core/ProtocolException.java b/core/src/main/java/com/dogecoin/dogecoinj/core/ProtocolException.java similarity index 96% rename from core/src/main/java/org/bitcoinj/core/ProtocolException.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/ProtocolException.java index 898c1bc8..6b694aa9 100644 --- a/core/src/main/java/org/bitcoinj/core/ProtocolException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/ProtocolException.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; @SuppressWarnings("serial") public class ProtocolException extends VerificationException { diff --git a/core/src/main/java/org/bitcoinj/core/PrunedException.java b/core/src/main/java/com/dogecoin/dogecoinj/core/PrunedException.java similarity index 97% rename from core/src/main/java/org/bitcoinj/core/PrunedException.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/PrunedException.java index df67dafd..4dda824a 100644 --- a/core/src/main/java/org/bitcoinj/core/PrunedException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/PrunedException.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; // TODO: Rename PrunedException to something like RequiredDataWasPrunedException diff --git a/core/src/main/java/org/bitcoinj/core/RejectMessage.java b/core/src/main/java/com/dogecoin/dogecoinj/core/RejectMessage.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/RejectMessage.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/RejectMessage.java index 660e4f0f..db5feae7 100644 --- a/core/src/main/java/org/bitcoinj/core/RejectMessage.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/RejectMessage.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.io.IOException; import java.io.OutputStream; diff --git a/core/src/main/java/org/bitcoinj/core/ScriptException.java b/core/src/main/java/com/dogecoin/dogecoinj/core/ScriptException.java similarity index 95% rename from core/src/main/java/org/bitcoinj/core/ScriptException.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/ScriptException.java index b578f0ed..031f4a3e 100644 --- a/core/src/main/java/org/bitcoinj/core/ScriptException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/ScriptException.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; @SuppressWarnings("serial") public class ScriptException extends VerificationException { diff --git a/core/src/main/java/org/bitcoinj/core/Sha256Hash.java b/core/src/main/java/com/dogecoin/dogecoinj/core/Sha256Hash.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/Sha256Hash.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/Sha256Hash.java index ea021a8c..3f17c8c8 100644 --- a/core/src/main/java/org/bitcoinj/core/Sha256Hash.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/Sha256Hash.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import com.google.common.io.ByteStreams; diff --git a/core/src/main/java/org/bitcoinj/core/StoredBlock.java b/core/src/main/java/com/dogecoin/dogecoinj/core/StoredBlock.java similarity index 97% rename from core/src/main/java/org/bitcoinj/core/StoredBlock.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/StoredBlock.java index de1e9352..04856bfa 100644 --- a/core/src/main/java/org/bitcoinj/core/StoredBlock.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/StoredBlock.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.store.BlockStore; -import org.bitcoinj.store.BlockStoreException; +import com.dogecoin.dogecoinj.store.BlockStore; +import com.dogecoin.dogecoinj.store.BlockStoreException; import java.io.*; import java.math.BigInteger; diff --git a/core/src/main/java/org/bitcoinj/core/StoredTransactionOutput.java b/core/src/main/java/com/dogecoin/dogecoinj/core/StoredTransactionOutput.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/StoredTransactionOutput.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/StoredTransactionOutput.java index 75637a71..6a9339b9 100644 --- a/core/src/main/java/org/bitcoinj/core/StoredTransactionOutput.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/StoredTransactionOutput.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.io.*; import java.math.BigInteger; diff --git a/core/src/main/java/org/bitcoinj/core/StoredUndoableBlock.java b/core/src/main/java/com/dogecoin/dogecoinj/core/StoredUndoableBlock.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/StoredUndoableBlock.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/StoredUndoableBlock.java index 3a4b24f1..d323ff9d 100644 --- a/core/src/main/java/org/bitcoinj/core/StoredUndoableBlock.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/StoredUndoableBlock.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.io.Serializable; import java.util.List; diff --git a/core/src/main/java/org/bitcoinj/core/Transaction.java b/core/src/main/java/com/dogecoin/dogecoinj/core/Transaction.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/Transaction.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/Transaction.java index 28702b03..ec7205fe 100644 --- a/core/src/main/java/org/bitcoinj/core/Transaction.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/Transaction.java @@ -15,15 +15,15 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.core.TransactionConfidence.ConfidenceType; -import org.bitcoinj.crypto.TransactionSignature; -import org.bitcoinj.script.Script; -import org.bitcoinj.script.ScriptBuilder; -import org.bitcoinj.script.ScriptOpCodes; -import org.bitcoinj.utils.ExchangeRate; -import org.bitcoinj.wallet.WalletTransaction.Pool; +import com.dogecoin.dogecoinj.core.TransactionConfidence.ConfidenceType; +import com.dogecoin.dogecoinj.crypto.TransactionSignature; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.script.ScriptBuilder; +import com.dogecoin.dogecoinj.script.ScriptOpCodes; +import com.dogecoin.dogecoinj.utils.ExchangeRate; +import com.dogecoin.dogecoinj.wallet.WalletTransaction.Pool; import com.google.common.collect.ImmutableMap; import com.google.common.primitives.Ints; import com.google.common.primitives.Longs; @@ -36,7 +36,7 @@ import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.*; -import static org.bitcoinj.core.Utils.*; +import static com.dogecoin.dogecoinj.core.Utils.*; import static com.google.common.base.Preconditions.checkState; /** @@ -772,7 +772,7 @@ public class Transaction extends ChildMessage implements Serializable { } /** - * Same as {@link #addSignedInput(TransactionOutPoint, org.bitcoinj.script.Script, ECKey, org.bitcoinj.core.Transaction.SigHash, boolean)} + * Same as {@link #addSignedInput(TransactionOutPoint, com.dogecoin.dogecoinj.script.Script, ECKey, com.dogecoin.dogecoinj.core.Transaction.SigHash, boolean)} * but defaults to {@link SigHash#ALL} and "false" for the anyoneCanPay flag. This is normally what you want. */ public TransactionInput addSignedInput(TransactionOutPoint prevOut, Script scriptPubKey, ECKey sigKey) throws ScriptException { @@ -846,7 +846,7 @@ public class Transaction extends ChildMessage implements Serializable { /** * Calculates a signature that is valid for being inserted into the input at the given position. This is simply - * a wrapper around calling {@link Transaction#hashForSignature(int, byte[], org.bitcoinj.core.Transaction.SigHash, boolean)} + * a wrapper around calling {@link Transaction#hashForSignature(int, byte[], com.dogecoin.dogecoinj.core.Transaction.SigHash, boolean)} * followed by {@link ECKey#sign(Sha256Hash)} and then returning a new {@link TransactionSignature}. The key * must be usable for signing as-is: if the key is encrypted it must be decrypted first external to this method. * @@ -866,7 +866,7 @@ public class Transaction extends ChildMessage implements Serializable { /** * Calculates a signature that is valid for being inserted into the input at the given position. This is simply - * a wrapper around calling {@link Transaction#hashForSignature(int, byte[], org.bitcoinj.core.Transaction.SigHash, boolean)} + * a wrapper around calling {@link Transaction#hashForSignature(int, byte[], com.dogecoin.dogecoinj.core.Transaction.SigHash, boolean)} * followed by {@link ECKey#sign(Sha256Hash)} and then returning a new {@link TransactionSignature}. * * @param inputIndex Which input to calculate the signature for, as an index. diff --git a/core/src/main/java/org/bitcoinj/core/TransactionBag.java b/core/src/main/java/com/dogecoin/dogecoinj/core/TransactionBag.java similarity index 83% rename from core/src/main/java/org/bitcoinj/core/TransactionBag.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/TransactionBag.java index a5149f8b..641e0545 100644 --- a/core/src/main/java/org/bitcoinj/core/TransactionBag.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/TransactionBag.java @@ -14,15 +14,15 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.script.Script; -import org.bitcoinj.wallet.WalletTransaction; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.wallet.WalletTransaction; import java.util.Map; /** - * This interface is used to abstract the {@link org.bitcoinj.core.Wallet} and the {@link org.bitcoinj.core.Transaction} + * This interface is used to abstract the {@link com.dogecoin.dogecoinj.core.Wallet} and the {@link com.dogecoin.dogecoinj.core.Transaction} */ public interface TransactionBag { /** Returns true if this wallet contains a public key which hashes to the given hash. */ diff --git a/core/src/main/java/org/bitcoinj/core/TransactionBroadcast.java b/core/src/main/java/com/dogecoin/dogecoinj/core/TransactionBroadcast.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/TransactionBroadcast.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/TransactionBroadcast.java index 14afd04b..c7fa268a 100644 --- a/core/src/main/java/org/bitcoinj/core/TransactionBroadcast.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/TransactionBroadcast.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.utils.Threading; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Joiner; import com.google.common.util.concurrent.ListenableFuture; diff --git a/core/src/main/java/org/bitcoinj/core/TransactionBroadcaster.java b/core/src/main/java/com/dogecoin/dogecoinj/core/TransactionBroadcaster.java similarity index 91% rename from core/src/main/java/org/bitcoinj/core/TransactionBroadcaster.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/TransactionBroadcaster.java index 3ba6e3bf..809aecb0 100644 --- a/core/src/main/java/org/bitcoinj/core/TransactionBroadcaster.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/TransactionBroadcaster.java @@ -14,13 +14,13 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import com.google.common.util.concurrent.ListenableFuture; /** * A general interface which declares the ability to broadcast transactions. This is implemented - * by {@link org.bitcoinj.core.PeerGroup}. + * by {@link com.dogecoin.dogecoinj.core.PeerGroup}. */ public interface TransactionBroadcaster { /** Broadcast the given transaction on the network */ diff --git a/core/src/main/java/org/bitcoinj/core/TransactionConfidence.java b/core/src/main/java/com/dogecoin/dogecoinj/core/TransactionConfidence.java similarity index 95% rename from core/src/main/java/org/bitcoinj/core/TransactionConfidence.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/TransactionConfidence.java index 766fa5cc..b4e31a88 100644 --- a/core/src/main/java/org/bitcoinj/core/TransactionConfidence.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/TransactionConfidence.java @@ -15,11 +15,11 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import com.google.common.collect.Sets; -import org.bitcoinj.utils.ListenerRegistration; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.utils.ListenerRegistration; +import com.dogecoin.dogecoinj.utils.Threading; import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.SettableFuture; @@ -56,9 +56,9 @@ import static com.google.common.base.Preconditions.*; *

Alternatively, you may know that the transaction is "dead", that is, one or more of its inputs have * been double spent and will never confirm unless there is another re-org.

* - *

TransactionConfidence is updated via the {@link org.bitcoinj.core.TransactionConfidence#incrementDepthInBlocks()} + *

TransactionConfidence is updated via the {@link com.dogecoin.dogecoinj.core.TransactionConfidence#incrementDepthInBlocks()} * method to ensure the block depth is up to date.

- * To make a copy that won't be changed, use {@link org.bitcoinj.core.TransactionConfidence#duplicate()}. + * To make a copy that won't be changed, use {@link com.dogecoin.dogecoinj.core.TransactionConfidence#duplicate()}. */ public class TransactionConfidence implements Serializable { private static final long serialVersionUID = 4577920141400556444L; @@ -87,7 +87,7 @@ public class TransactionConfidence implements Serializable { * announced and is considered valid by the network. A pending transaction will be announced if the containing * wallet has been attached to a live {@link PeerGroup} using {@link PeerGroup#addWallet(Wallet)}. * You can estimate how likely the transaction is to be included by connecting to a bunch of nodes then measuring - * how many announce it, using {@link org.bitcoinj.core.TransactionConfidence#numBroadcastPeers()}. + * how many announce it, using {@link com.dogecoin.dogecoinj.core.TransactionConfidence#numBroadcastPeers()}. * Or if you saw it from a trusted peer, you can assume it's valid and will get mined sooner or later as well. */ PENDING(2), @@ -155,7 +155,7 @@ public class TransactionConfidence implements Serializable { /** An enum that describes why a transaction confidence listener is being invoked (i.e. the class of change). */ public enum ChangeReason { /** - * Occurs when the type returned by {@link org.bitcoinj.core.TransactionConfidence#getConfidenceType()} + * Occurs when the type returned by {@link com.dogecoin.dogecoinj.core.TransactionConfidence#getConfidenceType()} * has changed. For example, if a PENDING transaction changes to BUILDING or DEAD, then this reason will * be given. It's a high level summary. */ @@ -413,7 +413,7 @@ public class TransactionConfidence implements Serializable { /** * The source of a transaction tries to identify where it came from originally. For instance, did we download it * from the peer to peer network, or make it ourselves, or receive it via Bluetooth, or import it from another app, - * and so on. This information is useful for {@link org.bitcoinj.wallet.CoinSelector} implementations to risk analyze + * and so on. This information is useful for {@link com.dogecoin.dogecoinj.wallet.CoinSelector} implementations to risk analyze * transactions and decide when to spend them. */ public synchronized Source getSource() { @@ -423,7 +423,7 @@ public class TransactionConfidence implements Serializable { /** * The source of a transaction tries to identify where it came from originally. For instance, did we download it * from the peer to peer network, or make it ourselves, or receive it via Bluetooth, or import it from another app, - * and so on. This information is useful for {@link org.bitcoinj.wallet.CoinSelector} implementations to risk analyze + * and so on. This information is useful for {@link com.dogecoin.dogecoinj.wallet.CoinSelector} implementations to risk analyze * transactions and decide when to spend them. */ public synchronized void setSource(Source source) { diff --git a/core/src/main/java/org/bitcoinj/core/TransactionInput.java b/core/src/main/java/com/dogecoin/dogecoinj/core/TransactionInput.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/TransactionInput.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/TransactionInput.java index ac41d0b8..ebd86120 100644 --- a/core/src/main/java/org/bitcoinj/core/TransactionInput.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/TransactionInput.java @@ -15,12 +15,12 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.script.Script; -import org.bitcoinj.wallet.DefaultRiskAnalysis; -import org.bitcoinj.wallet.KeyBag; -import org.bitcoinj.wallet.RedeemData; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.wallet.DefaultRiskAnalysis; +import com.dogecoin.dogecoinj.wallet.KeyBag; +import com.dogecoin.dogecoinj.wallet.RedeemData; import javax.annotation.Nullable; import java.io.IOException; @@ -308,7 +308,7 @@ public class TransactionInput extends ChildMessage implements Serializable { /** * Alias for getOutpoint().getConnectedRedeemData(keyBag) - * @see TransactionOutPoint#getConnectedRedeemData(org.bitcoinj.wallet.KeyBag) + * @see TransactionOutPoint#getConnectedRedeemData(com.dogecoin.dogecoinj.wallet.KeyBag) */ @Nullable public RedeemData getConnectedRedeemData(KeyBag keyBag) throws ScriptException { diff --git a/core/src/main/java/org/bitcoinj/core/TransactionOutPoint.java b/core/src/main/java/com/dogecoin/dogecoinj/core/TransactionOutPoint.java similarity index 97% rename from core/src/main/java/org/bitcoinj/core/TransactionOutPoint.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/TransactionOutPoint.java index 12677210..19096d3a 100644 --- a/core/src/main/java/org/bitcoinj/core/TransactionOutPoint.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/TransactionOutPoint.java @@ -14,11 +14,11 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.script.Script; -import org.bitcoinj.wallet.KeyBag; -import org.bitcoinj.wallet.RedeemData; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.wallet.KeyBag; +import com.dogecoin.dogecoinj.wallet.RedeemData; import javax.annotation.Nullable; import java.io.IOException; @@ -136,7 +136,7 @@ public class TransactionOutPoint extends ChildMessage implements Serializable { /** * Returns the ECKey identified in the connected output, for either pay-to-address scripts or pay-to-key scripts. - * For P2SH scripts you can use {@link #getConnectedRedeemData(org.bitcoinj.wallet.KeyBag)} and then get the + * For P2SH scripts you can use {@link #getConnectedRedeemData(com.dogecoin.dogecoinj.wallet.KeyBag)} and then get the * key from RedeemData. * If the script form cannot be understood, throws ScriptException. * diff --git a/core/src/main/java/org/bitcoinj/core/TransactionOutput.java b/core/src/main/java/com/dogecoin/dogecoinj/core/TransactionOutput.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/TransactionOutput.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/TransactionOutput.java index 7cf0579e..03f68a03 100644 --- a/core/src/main/java/org/bitcoinj/core/TransactionOutput.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/TransactionOutput.java @@ -15,10 +15,10 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.script.Script; -import org.bitcoinj.script.ScriptBuilder; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.script.ScriptBuilder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -234,7 +234,7 @@ public class TransactionOutput extends ChildMessage implements Serializable { * so we call them "dust outputs" and they're made non standard. The choice of one third is somewhat arbitrary and * may change in future.

* - *

You probably should use {@link org.bitcoinj.core.TransactionOutput#getMinNonDustValue()} which uses + *

You probably should use {@link com.dogecoin.dogecoinj.core.TransactionOutput#getMinNonDustValue()} which uses * a safe fee-per-kb by default.

* * @param feePerKbRequired The fee required per kilobyte. Note that this is the same as the reference client's -minrelaytxfee * 3 diff --git a/core/src/main/java/org/bitcoinj/core/TransactionOutputChanges.java b/core/src/main/java/com/dogecoin/dogecoinj/core/TransactionOutputChanges.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/TransactionOutputChanges.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/TransactionOutputChanges.java index 30ad7779..5e27aeef 100644 --- a/core/src/main/java/org/bitcoinj/core/TransactionOutputChanges.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/TransactionOutputChanges.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.io.IOException; import java.io.InputStream; diff --git a/core/src/main/java/org/bitcoinj/core/UTXOsMessage.java b/core/src/main/java/com/dogecoin/dogecoinj/core/UTXOsMessage.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/UTXOsMessage.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/UTXOsMessage.java index 7e30eabc..9bcfa0f5 100644 --- a/core/src/main/java/org/bitcoinj/core/UTXOsMessage.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/UTXOsMessage.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.io.IOException; import java.io.OutputStream; diff --git a/core/src/main/java/org/bitcoinj/core/UnknownMessage.java b/core/src/main/java/com/dogecoin/dogecoinj/core/UnknownMessage.java similarity index 96% rename from core/src/main/java/org/bitcoinj/core/UnknownMessage.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/UnknownMessage.java index 04649230..fc9a02b8 100644 --- a/core/src/main/java/org/bitcoinj/core/UnknownMessage.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/UnknownMessage.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; public class UnknownMessage extends EmptyMessage { private static final long serialVersionUID = 3614705938207918775L; diff --git a/core/src/main/java/org/bitcoinj/core/UnsafeByteArrayOutputStream.java b/core/src/main/java/com/dogecoin/dogecoinj/core/UnsafeByteArrayOutputStream.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/UnsafeByteArrayOutputStream.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/UnsafeByteArrayOutputStream.java index ad95cf3f..ec2b799d 100644 --- a/core/src/main/java/org/bitcoinj/core/UnsafeByteArrayOutputStream.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/UnsafeByteArrayOutputStream.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.io.ByteArrayOutputStream; import java.io.IOException; diff --git a/core/src/main/java/org/bitcoinj/core/Utils.java b/core/src/main/java/com/dogecoin/dogecoinj/core/Utils.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/Utils.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/Utils.java index ee2984d1..b5efe240 100644 --- a/core/src/main/java/org/bitcoinj/core/Utils.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/Utils.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import com.google.common.base.Charsets; import com.google.common.base.Joiner; diff --git a/core/src/main/java/org/bitcoinj/core/VarInt.java b/core/src/main/java/com/dogecoin/dogecoinj/core/VarInt.java similarity index 95% rename from core/src/main/java/org/bitcoinj/core/VarInt.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/VarInt.java index 1e4597bc..4747a21d 100644 --- a/core/src/main/java/org/bitcoinj/core/VarInt.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/VarInt.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import static org.bitcoinj.core.Utils.isLessThanUnsigned; -import static org.bitcoinj.core.Utils.isLessThanOrEqualToUnsigned; +import static com.dogecoin.dogecoinj.core.Utils.isLessThanUnsigned; +import static com.dogecoin.dogecoinj.core.Utils.isLessThanOrEqualToUnsigned; /** * A variable-length encoded integer using Satoshis encoding. diff --git a/core/src/main/java/org/bitcoinj/core/VerificationException.java b/core/src/main/java/com/dogecoin/dogecoinj/core/VerificationException.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/VerificationException.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/VerificationException.java index 5ddf2a87..5926d966 100644 --- a/core/src/main/java/org/bitcoinj/core/VerificationException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/VerificationException.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; @SuppressWarnings("serial") public class VerificationException extends RuntimeException { diff --git a/core/src/main/java/org/bitcoinj/core/VersionAck.java b/core/src/main/java/com/dogecoin/dogecoinj/core/VersionAck.java similarity index 96% rename from core/src/main/java/org/bitcoinj/core/VersionAck.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/VersionAck.java index e32a2530..20ee31e2 100644 --- a/core/src/main/java/org/bitcoinj/core/VersionAck.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/VersionAck.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; /** * The verack message, sent by a client accepting the version message they diff --git a/core/src/main/java/org/bitcoinj/core/VersionMessage.java b/core/src/main/java/com/dogecoin/dogecoinj/core/VersionMessage.java similarity index 99% rename from core/src/main/java/org/bitcoinj/core/VersionMessage.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/VersionMessage.java index f2fe025b..694aad8d 100644 --- a/core/src/main/java/org/bitcoinj/core/VersionMessage.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/VersionMessage.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import javax.annotation.Nullable; import java.io.IOException; diff --git a/core/src/main/java/org/bitcoinj/core/VersionedChecksummedBytes.java b/core/src/main/java/com/dogecoin/dogecoinj/core/VersionedChecksummedBytes.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/VersionedChecksummedBytes.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/VersionedChecksummedBytes.java index 4c4f9a49..23388555 100644 --- a/core/src/main/java/org/bitcoinj/core/VersionedChecksummedBytes.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/VersionedChecksummedBytes.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import static com.google.common.base.Preconditions.checkArgument; diff --git a/core/src/main/java/org/bitcoinj/core/Wallet.java b/core/src/main/java/com/dogecoin/dogecoinj/core/Wallet.java similarity index 97% rename from core/src/main/java/org/bitcoinj/core/Wallet.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/Wallet.java index 16fe2802..3347c7b1 100644 --- a/core/src/main/java/org/bitcoinj/core/Wallet.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/Wallet.java @@ -15,25 +15,25 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.core.TransactionConfidence.ConfidenceType; -import org.bitcoinj.crypto.*; -import org.bitcoinj.params.UnitTestParams; -import org.bitcoinj.script.Script; -import org.bitcoinj.script.ScriptBuilder; -import org.bitcoinj.script.ScriptChunk; -import org.bitcoinj.signers.MissingSigResolutionSigner; -import org.bitcoinj.signers.LocalTransactionSigner; -import org.bitcoinj.signers.TransactionSigner; -import org.bitcoinj.store.UnreadableWalletException; -import org.bitcoinj.store.WalletProtobufSerializer; -import org.bitcoinj.utils.BaseTaggableObject; -import org.bitcoinj.utils.ExchangeRate; -import org.bitcoinj.utils.ListenerRegistration; -import org.bitcoinj.utils.Threading; -import org.bitcoinj.wallet.*; -import org.bitcoinj.wallet.WalletTransaction.Pool; +import com.dogecoin.dogecoinj.core.TransactionConfidence.ConfidenceType; +import com.dogecoin.dogecoinj.crypto.*; +import com.dogecoin.dogecoinj.params.UnitTestParams; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.script.ScriptBuilder; +import com.dogecoin.dogecoinj.script.ScriptChunk; +import com.dogecoin.dogecoinj.signers.MissingSigResolutionSigner; +import com.dogecoin.dogecoinj.signers.LocalTransactionSigner; +import com.dogecoin.dogecoinj.signers.TransactionSigner; +import com.dogecoin.dogecoinj.store.UnreadableWalletException; +import com.dogecoin.dogecoinj.store.WalletProtobufSerializer; +import com.dogecoin.dogecoinj.utils.BaseTaggableObject; +import com.dogecoin.dogecoinj.utils.ExchangeRate; +import com.dogecoin.dogecoinj.utils.ListenerRegistration; +import com.dogecoin.dogecoinj.utils.Threading; +import com.dogecoin.dogecoinj.wallet.*; +import com.dogecoin.dogecoinj.wallet.WalletTransaction.Pool; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Objects; import com.google.common.base.Objects.ToStringHelper; @@ -46,7 +46,7 @@ import com.google.common.util.concurrent.SettableFuture; import com.google.protobuf.ByteString; import org.bitcoin.protocols.payments.Protos.PaymentDetails; -import org.bitcoinj.wallet.Protos.Wallet.EncryptionType; +import com.dogecoin.dogecoinj.wallet.Protos.Wallet.EncryptionType; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.spongycastle.crypto.params.KeyParameter; @@ -98,7 +98,7 @@ import static com.google.common.base.Preconditions.*; * that simplifies this for you although you're still responsible for manually triggering a save when your app is about * to quit because the auto-save feature waits a moment before actually committing to disk to avoid IO thrashing when * the wallet is changing very fast (eg due to a block chain sync). See - * {@link Wallet#autosaveToFile(java.io.File, long, java.util.concurrent.TimeUnit, org.bitcoinj.wallet.WalletFiles.Listener)} + * {@link Wallet#autosaveToFile(java.io.File, long, java.util.concurrent.TimeUnit, com.dogecoin.dogecoinj.wallet.WalletFiles.Listener)} * for more information about this.

*/ public class Wallet extends BaseTaggableObject implements Serializable, BlockChainListener, PeerFilterProvider, KeyBag, TransactionBag { @@ -333,7 +333,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha /** * Returns a key that hasn't been seen in a transaction yet, and which is suitable for displaying in a wallet * user interface as "a convenient key to receive funds on" when the purpose parameter is - * {@link org.bitcoinj.wallet.KeyChain.KeyPurpose#RECEIVE_FUNDS}. The returned key is stable until + * {@link com.dogecoin.dogecoinj.wallet.KeyChain.KeyPurpose#RECEIVE_FUNDS}. The returned key is stable until * it's actually seen in a pending or confirmed transaction, at which point this method will start returning * a different key (for each purpose independently). */ @@ -348,15 +348,15 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha } /** - * An alias for calling {@link #currentKey(org.bitcoinj.wallet.KeyChain.KeyPurpose)} with - * {@link org.bitcoinj.wallet.KeyChain.KeyPurpose#RECEIVE_FUNDS} as the parameter. + * An alias for calling {@link #currentKey(com.dogecoin.dogecoinj.wallet.KeyChain.KeyPurpose)} with + * {@link com.dogecoin.dogecoinj.wallet.KeyChain.KeyPurpose#RECEIVE_FUNDS} as the parameter. */ public DeterministicKey currentReceiveKey() { return currentKey(KeyChain.KeyPurpose.RECEIVE_FUNDS); } /** - * Returns address for a {@link #currentKey(org.bitcoinj.wallet.KeyChain.KeyPurpose)} + * Returns address for a {@link #currentKey(com.dogecoin.dogecoinj.wallet.KeyChain.KeyPurpose)} */ public Address currentAddress(KeyChain.KeyPurpose purpose) { lock.lock(); @@ -369,8 +369,8 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha } /** - * An alias for calling {@link #currentAddress(org.bitcoinj.wallet.KeyChain.KeyPurpose)} with - * {@link org.bitcoinj.wallet.KeyChain.KeyPurpose#RECEIVE_FUNDS} as the parameter. + * An alias for calling {@link #currentAddress(com.dogecoin.dogecoinj.wallet.KeyChain.KeyPurpose)} with + * {@link com.dogecoin.dogecoinj.wallet.KeyChain.KeyPurpose#RECEIVE_FUNDS} as the parameter. */ public Address currentReceiveAddress() { return currentAddress(KeyChain.KeyPurpose.RECEIVE_FUNDS); @@ -379,8 +379,8 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha /** * Returns a key that has not been returned by this method before (fresh). You can think of this as being * a newly created key, although the notion of "create" is not really valid for a - * {@link org.bitcoinj.wallet.DeterministicKeyChain}. When the parameter is - * {@link org.bitcoinj.wallet.KeyChain.KeyPurpose#RECEIVE_FUNDS} the returned key is suitable for being put + * {@link com.dogecoin.dogecoinj.wallet.DeterministicKeyChain}. When the parameter is + * {@link com.dogecoin.dogecoinj.wallet.KeyChain.KeyPurpose#RECEIVE_FUNDS} the returned key is suitable for being put * into a receive coins wizard type UI. You should use this when the user is definitely going to hand this key out * to someone who wishes to send money. */ @@ -391,8 +391,8 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha /** * Returns a key/s that has not been returned by this method before (fresh). You can think of this as being * a newly created key/s, although the notion of "create" is not really valid for a - * {@link org.bitcoinj.wallet.DeterministicKeyChain}. When the parameter is - * {@link org.bitcoinj.wallet.KeyChain.KeyPurpose#RECEIVE_FUNDS} the returned key is suitable for being put + * {@link com.dogecoin.dogecoinj.wallet.DeterministicKeyChain}. When the parameter is + * {@link com.dogecoin.dogecoinj.wallet.KeyChain.KeyPurpose#RECEIVE_FUNDS} the returned key is suitable for being put * into a receive coins wizard type UI. You should use this when the user is definitely going to hand this key/s out * to someone who wishes to send money. */ @@ -411,15 +411,15 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha } /** - * An alias for calling {@link #freshKey(org.bitcoinj.wallet.KeyChain.KeyPurpose)} with - * {@link org.bitcoinj.wallet.KeyChain.KeyPurpose#RECEIVE_FUNDS} as the parameter. + * An alias for calling {@link #freshKey(com.dogecoin.dogecoinj.wallet.KeyChain.KeyPurpose)} with + * {@link com.dogecoin.dogecoinj.wallet.KeyChain.KeyPurpose#RECEIVE_FUNDS} as the parameter. */ public DeterministicKey freshReceiveKey() { return freshKey(KeyChain.KeyPurpose.RECEIVE_FUNDS); } /** - * Returns address for a {@link #freshKey(org.bitcoinj.wallet.KeyChain.KeyPurpose)} + * Returns address for a {@link #freshKey(com.dogecoin.dogecoinj.wallet.KeyChain.KeyPurpose)} */ public Address freshAddress(KeyChain.KeyPurpose purpose) { lock.lock(); @@ -433,8 +433,8 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha } /** - * An alias for calling {@link #freshAddress(org.bitcoinj.wallet.KeyChain.KeyPurpose)} with - * {@link org.bitcoinj.wallet.KeyChain.KeyPurpose#RECEIVE_FUNDS} as the parameter. + * An alias for calling {@link #freshAddress(com.dogecoin.dogecoinj.wallet.KeyChain.KeyPurpose)} with + * {@link com.dogecoin.dogecoinj.wallet.KeyChain.KeyPurpose#RECEIVE_FUNDS} as the parameter. */ public Address freshReceiveAddress() { return freshAddress(KeyChain.KeyPurpose.RECEIVE_FUNDS); @@ -573,7 +573,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha /** * Imports the given keys to the wallet. - * If {@link Wallet#autosaveToFile(java.io.File, long, java.util.concurrent.TimeUnit, org.bitcoinj.wallet.WalletFiles.Listener)} + * If {@link Wallet#autosaveToFile(java.io.File, long, java.util.concurrent.TimeUnit, com.dogecoin.dogecoinj.wallet.WalletFiles.Listener)} * has been called, triggers an auto save bypassing the normal coalescing delay and event handlers. * Returns the number of keys added, after duplicates are ignored. The onKeyAdded event will be called for each key * in the list that was not already present. @@ -635,7 +635,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha keychain.addAndActivateHDChain(chain); } - /** See {@link org.bitcoinj.wallet.DeterministicKeyChain#setLookaheadSize(int)} for more info on this. */ + /** See {@link com.dogecoin.dogecoinj.wallet.DeterministicKeyChain#setLookaheadSize(int)} for more info on this. */ public void setKeychainLookaheadSize(int lookaheadSize) { lock.lock(); try { @@ -645,12 +645,12 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha } } - /** See {@link org.bitcoinj.wallet.DeterministicKeyChain#setLookaheadSize(int)} for more info on this. */ + /** See {@link com.dogecoin.dogecoinj.wallet.DeterministicKeyChain#setLookaheadSize(int)} for more info on this. */ public int getKeychainLookaheadSize() { return keychain.getLookaheadSize(); } - /** See {@link org.bitcoinj.wallet.DeterministicKeyChain#setLookaheadThreshold(int)} for more info on this. */ + /** See {@link com.dogecoin.dogecoinj.wallet.DeterministicKeyChain#setLookaheadThreshold(int)} for more info on this. */ public void setKeychainLookaheadThreshold(int num) { lock.lock(); try { @@ -661,7 +661,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha } } - /** See {@link org.bitcoinj.wallet.DeterministicKeyChain#setLookaheadThreshold(int)} for more info on this. */ + /** See {@link com.dogecoin.dogecoinj.wallet.DeterministicKeyChain#setLookaheadThreshold(int)} for more info on this. */ public int getKeychainLookaheadThreshold() { lock.lock(); try { @@ -861,7 +861,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha /** * Marks all keys used in the transaction output as used in the wallet. - * See {@link org.bitcoinj.wallet.DeterministicKeyChain#markKeyAsUsed(DeterministicKey)} for more info on this. + * See {@link com.dogecoin.dogecoinj.wallet.DeterministicKeyChain#markKeyAsUsed(DeterministicKey)} for more info on this. */ private void markKeysAsUsed(Transaction tx) { lock.lock(); @@ -888,7 +888,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha /** * Returns the immutable seed for the current active HD chain. - * @throws org.bitcoinj.core.ECKey.MissingPrivateKeyException if the seed is unavailable (watching wallet) + * @throws com.dogecoin.dogecoinj.core.ECKey.MissingPrivateKeyException if the seed is unavailable (watching wallet) */ public DeterministicSeed getKeyChainSeed() { lock.lock(); @@ -917,7 +917,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha } /** - * Convenience wrapper around {@link Wallet#encrypt(org.bitcoinj.crypto.KeyCrypter, + * Convenience wrapper around {@link Wallet#encrypt(com.dogecoin.dogecoinj.crypto.KeyCrypter, * org.spongycastle.crypto.params.KeyParameter)} which uses the default Scrypt key derivation algorithm and * parameters to derive a key from the given password. */ @@ -934,7 +934,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha /** * Encrypt the wallet using the KeyCrypter and the AES key. A good default KeyCrypter to use is - * {@link org.bitcoinj.crypto.KeyCrypterScrypt}. + * {@link com.dogecoin.dogecoinj.crypto.KeyCrypterScrypt}. * * @param keyCrypter The KeyCrypter that specifies how to encrypt/ decrypt a key * @param aesKey AES key to use (normally created using KeyCrypter#deriveKey and cached as it is time consuming to create from a password) @@ -1212,7 +1212,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha /** *

* Disables auto-saving, after it had been enabled with - * {@link Wallet#autosaveToFile(java.io.File, long, java.util.concurrent.TimeUnit, org.bitcoinj.wallet.WalletFiles.Listener)} + * {@link Wallet#autosaveToFile(java.io.File, long, java.util.concurrent.TimeUnit, com.dogecoin.dogecoinj.wallet.WalletFiles.Listener)} * before. This method blocks until finished. *

*/ @@ -2595,7 +2595,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha /** * Returns the earliest creation time of keys or watched scripts in this wallet, in seconds since the epoch, ie the min - * of {@link org.bitcoinj.core.ECKey#getCreationTimeSeconds()}. This can return zero if at least one key does + * of {@link com.dogecoin.dogecoinj.core.ECKey#getCreationTimeSeconds()}. This can return zero if at least one key does * not have that data (was created before key timestamping was implemented).

* * This method is most often used in conjunction with {@link PeerGroup#setFastCatchupTimeSecs(long)} in order to @@ -2848,7 +2848,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha * money to fail! Finally please be aware that any listeners on the future will run either on the calling thread * if it completes immediately, or eventually on a background thread if the balance is not yet at the right * level. If you do something that means you know the balance should be sufficient to trigger the future, - * you can use {@link org.bitcoinj.utils.Threading#waitForUserCode()} to block until the future had a + * you can use {@link com.dogecoin.dogecoinj.utils.Threading#waitForUserCode()} to block until the future had a * chance to be updated.

*/ public ListenableFuture getBalanceFuture(final Coin value, final BalanceType type) { @@ -2930,7 +2930,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha */ USE_DUMMY_SIG, /** - * If signature is missing, {@link org.bitcoinj.signers.TransactionSigner.MissingSignatureException} + * If signature is missing, {@link com.dogecoin.dogecoinj.signers.TransactionSigner.MissingSignatureException} * will be thrown for P2SH and {@link ECKey.MissingPrivateKeyException} for other tx types. */ THROW @@ -2961,7 +2961,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha /** * When emptyWallet is set, all coins selected by the coin selector are sent to the first output in tx - * (its value is ignored and set to {@link org.bitcoinj.core.Wallet#getBalance()} - the fees required + * (its value is ignored and set to {@link com.dogecoin.dogecoinj.core.Wallet#getBalance()} - the fees required * for the transaction). Any additional outputs are removed. */ public boolean emptyWallet = false; @@ -3035,7 +3035,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha public KeyParameter aesKey = null; /** - * If not null, the {@link org.bitcoinj.wallet.CoinSelector} to use instead of the wallets default. Coin selectors are + * If not null, the {@link com.dogecoin.dogecoinj.wallet.CoinSelector} to use instead of the wallets default. Coin selectors are * responsible for choosing which transaction outputs (coins) in a wallet to use given the desired send value * amount. */ @@ -4227,7 +4227,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha * re-organisation of the wallet contents on the block chain. For instance, in future the wallet may choose to * optimise itself to reduce fees or improve privacy.

*/ - public void setTransactionBroadcaster(@Nullable org.bitcoinj.core.TransactionBroadcaster broadcaster) { + public void setTransactionBroadcaster(@Nullable com.dogecoin.dogecoinj.core.TransactionBroadcaster broadcaster) { Transaction[] toBroadcast = {}; lock.lock(); try { @@ -4433,7 +4433,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha /** * Returns the wallet lock under which most operations happen. This is here to satisfy the - * {@link org.bitcoinj.core.PeerFilterProvider} interface and generally should not be used directly by apps. + * {@link com.dogecoin.dogecoinj.core.PeerFilterProvider} interface and generally should not be used directly by apps. * In particular, do not hold this lock if you're display a send confirm screen to the user or for any other * long length of time, as it may cause processing holdups elsewhere. Instead, for the "confirm payment screen" * use case you should complete a candidate transaction, present it to the user (e.g. for fee purposes) and then diff --git a/core/src/main/java/org/bitcoinj/core/WalletEventListener.java b/core/src/main/java/com/dogecoin/dogecoinj/core/WalletEventListener.java similarity index 96% rename from core/src/main/java/org/bitcoinj/core/WalletEventListener.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/WalletEventListener.java index ea4ee58b..75ba3885 100644 --- a/core/src/main/java/org/bitcoinj/core/WalletEventListener.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/WalletEventListener.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; -import org.bitcoinj.script.Script; -import org.bitcoinj.wallet.KeyChainEventListener; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.wallet.KeyChainEventListener; import java.util.List; @@ -31,7 +31,7 @@ public interface WalletEventListener extends KeyChainEventListener { * was broadcast across the network or because a block was received. If a transaction is seen when it was broadcast, * onCoinsReceived won't be called again when a block containing it is received. If you want to know when such a * transaction receives its first confirmation, register a {@link TransactionConfidence} event listener using - * the object retrieved via {@link org.bitcoinj.core.Transaction#getConfidence()}. It's safe to modify the + * the object retrieved via {@link com.dogecoin.dogecoinj.core.Transaction#getConfidence()}. It's safe to modify the * wallet in this callback, for example, by spending the transaction just received. * * @param wallet The wallet object that received the coins diff --git a/core/src/main/java/org/bitcoinj/core/WalletExtension.java b/core/src/main/java/com/dogecoin/dogecoinj/core/WalletExtension.java similarity index 98% rename from core/src/main/java/org/bitcoinj/core/WalletExtension.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/WalletExtension.java index cd36c1ea..1ace97ef 100644 --- a/core/src/main/java/org/bitcoinj/core/WalletExtension.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/WalletExtension.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; /** *

An object implementing this interface can be added to a {@link Wallet} and provide arbitrary byte arrays that will diff --git a/core/src/main/java/org/bitcoinj/core/WrongNetworkException.java b/core/src/main/java/com/dogecoin/dogecoinj/core/WrongNetworkException.java similarity index 97% rename from core/src/main/java/org/bitcoinj/core/WrongNetworkException.java rename to core/src/main/java/com/dogecoin/dogecoinj/core/WrongNetworkException.java index e49dd284..4e687832 100644 --- a/core/src/main/java/org/bitcoinj/core/WrongNetworkException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/WrongNetworkException.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.core; +package com.dogecoin.dogecoinj.core; import java.util.Arrays; diff --git a/core/src/main/java/com/dogecoin/dogecoinj/core/package-info.java b/core/src/main/java/com/dogecoin/dogecoinj/core/package-info.java new file mode 100644 index 00000000..8d3617f5 --- /dev/null +++ b/core/src/main/java/com/dogecoin/dogecoinj/core/package-info.java @@ -0,0 +1,8 @@ +/** + * The core package contains classes for network messages like {@link com.dogecoin.dogecoinj.core.Block} and + * {@link com.dogecoin.dogecoinj.core.Transaction}, peer connectivity via {@link com.dogecoin.dogecoinj.core.PeerGroup}, + * block chain management and the {@link com.dogecoin.dogecoinj.core.Wallet} class. + * If what you're doing can be described as basic bitcoin tasks, the code is probably found here. + * To learn more please consult the documentation on the website. + */ +package com.dogecoin.dogecoinj.core; \ No newline at end of file diff --git a/core/src/main/java/org/bitcoinj/crypto/BIP38PrivateKey.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/BIP38PrivateKey.java similarity index 99% rename from core/src/main/java/org/bitcoinj/crypto/BIP38PrivateKey.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/BIP38PrivateKey.java index 3b7d3e42..09b10678 100644 --- a/core/src/main/java/org/bitcoinj/crypto/BIP38PrivateKey.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/BIP38PrivateKey.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; -import org.bitcoinj.core.*; +import com.dogecoin.dogecoinj.core.*; import com.google.common.base.Charsets; import com.google.common.base.Objects; import com.google.common.primitives.Bytes; diff --git a/core/src/main/java/org/bitcoinj/crypto/ChildNumber.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/ChildNumber.java similarity index 98% rename from core/src/main/java/org/bitcoinj/crypto/ChildNumber.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/ChildNumber.java index 4e93f85e..798f9113 100644 --- a/core/src/main/java/org/bitcoinj/crypto/ChildNumber.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/ChildNumber.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; /** *

This is just a wrapper for the i (child number) as per BIP 32 with a boolean getter for the most significant bit diff --git a/core/src/main/java/org/bitcoinj/crypto/DRMWorkaround.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/DRMWorkaround.java similarity index 96% rename from core/src/main/java/org/bitcoinj/crypto/DRMWorkaround.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/DRMWorkaround.java index e250436c..fd4934c3 100644 --- a/core/src/main/java/org/bitcoinj/crypto/DRMWorkaround.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/DRMWorkaround.java @@ -1,6 +1,6 @@ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; -import org.bitcoinj.core.Utils; +import com.dogecoin.dogecoinj.core.Utils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/core/src/main/java/org/bitcoinj/crypto/DeterministicHierarchy.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/DeterministicHierarchy.java similarity index 99% rename from core/src/main/java/org/bitcoinj/crypto/DeterministicHierarchy.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/DeterministicHierarchy.java index 0f9cf2ef..4eb7af1b 100644 --- a/core/src/main/java/org/bitcoinj/crypto/DeterministicHierarchy.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/DeterministicHierarchy.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; import com.google.common.collect.ImmutableList; import com.google.common.collect.Maps; diff --git a/core/src/main/java/org/bitcoinj/crypto/DeterministicKey.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/DeterministicKey.java similarity index 98% rename from core/src/main/java/org/bitcoinj/crypto/DeterministicKey.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/DeterministicKey.java index ff49b71b..6e9a055f 100644 --- a/core/src/main/java/org/bitcoinj/crypto/DeterministicKey.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/DeterministicKey.java @@ -14,9 +14,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; -import org.bitcoinj.core.*; +import com.dogecoin.dogecoinj.core.*; import com.google.common.base.Objects; import com.google.common.base.Objects.ToStringHelper; import com.google.common.collect.ImmutableList; @@ -28,7 +28,7 @@ import java.math.BigInteger; import java.nio.ByteBuffer; import java.util.Arrays; -import static org.bitcoinj.core.Utils.HEX; +import static com.dogecoin.dogecoinj.core.Utils.HEX; import static com.google.common.base.Preconditions.*; /** @@ -204,7 +204,7 @@ public class DeterministicKey extends ECKey { } /** - * Returns this keys {@link org.bitcoinj.crypto.KeyCrypter} or the keycrypter of its parent key. + * Returns this keys {@link com.dogecoin.dogecoinj.crypto.KeyCrypter} or the keycrypter of its parent key. */ @Override @Nullable public KeyCrypter getKeyCrypter() { @@ -424,7 +424,7 @@ public class DeterministicKey extends ECKey { /** * The creation time of a deterministic key is equal to that of its parent, unless this key is the root of a tree - * in which case the time is stored alongside the key as per normal, see {@link org.bitcoinj.core.ECKey#getCreationTimeSeconds()}. + * in which case the time is stored alongside the key as per normal, see {@link com.dogecoin.dogecoinj.core.ECKey#getCreationTimeSeconds()}. */ @Override public long getCreationTimeSeconds() { diff --git a/core/src/main/java/org/bitcoinj/crypto/EncryptableItem.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/EncryptableItem.java similarity index 88% rename from core/src/main/java/org/bitcoinj/crypto/EncryptableItem.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/EncryptableItem.java index c860daed..38ec502c 100644 --- a/core/src/main/java/org/bitcoinj/crypto/EncryptableItem.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/EncryptableItem.java @@ -14,15 +14,15 @@ * limitations under the License. */ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; -import org.bitcoinj.wallet.Protos; +import com.dogecoin.dogecoinj.wallet.Protos; import javax.annotation.Nullable; /** * Provides a uniform way to access something that can be optionally encrypted with a - * {@link org.bitcoinj.crypto.KeyCrypter}, yielding an {@link org.bitcoinj.crypto.EncryptedData}, and + * {@link com.dogecoin.dogecoinj.crypto.KeyCrypter}, yielding an {@link com.dogecoin.dogecoinj.crypto.EncryptedData}, and * which can have a creation time associated with it. */ public interface EncryptableItem { diff --git a/core/src/main/java/org/bitcoinj/crypto/EncryptedData.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/EncryptedData.java similarity index 98% rename from core/src/main/java/org/bitcoinj/crypto/EncryptedData.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/EncryptedData.java index 040c9bbe..8f5b709e 100644 --- a/core/src/main/java/org/bitcoinj/crypto/EncryptedData.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/EncryptedData.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; import java.util.Arrays; diff --git a/core/src/main/java/org/bitcoinj/crypto/EncryptedPrivateKey.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/EncryptedPrivateKey.java similarity index 99% rename from core/src/main/java/org/bitcoinj/crypto/EncryptedPrivateKey.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/EncryptedPrivateKey.java index 022825ea..243b726e 100644 --- a/core/src/main/java/org/bitcoinj/crypto/EncryptedPrivateKey.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/EncryptedPrivateKey.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; import com.google.common.base.Objects; diff --git a/core/src/main/java/org/bitcoinj/crypto/HDDerivationException.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/HDDerivationException.java similarity index 95% rename from core/src/main/java/org/bitcoinj/crypto/HDDerivationException.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/HDDerivationException.java index 0bde8208..fde2621f 100644 --- a/core/src/main/java/org/bitcoinj/crypto/HDDerivationException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/HDDerivationException.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; public class HDDerivationException extends RuntimeException { public HDDerivationException(String message) { diff --git a/core/src/main/java/org/bitcoinj/crypto/HDKeyDerivation.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/HDKeyDerivation.java similarity index 98% rename from core/src/main/java/org/bitcoinj/crypto/HDKeyDerivation.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/HDKeyDerivation.java index 90a57117..6354506d 100644 --- a/core/src/main/java/org/bitcoinj/crypto/HDKeyDerivation.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/HDKeyDerivation.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; -import org.bitcoinj.core.ECKey; -import org.bitcoinj.core.Utils; +import com.dogecoin.dogecoinj.core.ECKey; +import com.dogecoin.dogecoinj.core.Utils; import com.google.common.collect.ImmutableList; import org.spongycastle.crypto.macs.HMac; import org.spongycastle.math.ec.ECPoint; diff --git a/core/src/main/java/org/bitcoinj/crypto/HDUtils.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/HDUtils.java similarity index 97% rename from core/src/main/java/org/bitcoinj/crypto/HDUtils.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/HDUtils.java index 111a7598..9f10dd38 100644 --- a/core/src/main/java/org/bitcoinj/crypto/HDUtils.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/HDUtils.java @@ -15,9 +15,9 @@ * limitations under the License. */ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; -import org.bitcoinj.core.ECKey; +import com.dogecoin.dogecoinj.core.ECKey; import com.google.common.base.Joiner; import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; diff --git a/core/src/main/java/org/bitcoinj/crypto/KeyCrypter.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/KeyCrypter.java similarity index 96% rename from core/src/main/java/org/bitcoinj/crypto/KeyCrypter.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/KeyCrypter.java index 67322351..a52b7be4 100644 --- a/core/src/main/java/org/bitcoinj/crypto/KeyCrypter.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/KeyCrypter.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; -import org.bitcoinj.wallet.Protos.Wallet.EncryptionType; +import com.dogecoin.dogecoinj.wallet.Protos.Wallet.EncryptionType; import org.spongycastle.crypto.params.KeyParameter; import java.io.Serializable; diff --git a/core/src/main/java/org/bitcoinj/crypto/KeyCrypterException.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/KeyCrypterException.java similarity index 95% rename from core/src/main/java/org/bitcoinj/crypto/KeyCrypterException.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/KeyCrypterException.java index a3386ba6..c71df795 100644 --- a/core/src/main/java/org/bitcoinj/crypto/KeyCrypterException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/KeyCrypterException.java @@ -1,4 +1,4 @@ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; /** *

Exception to provide the following to {@link EncrypterDecrypterOpenSSL}:

diff --git a/core/src/main/java/org/bitcoinj/crypto/KeyCrypterScrypt.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/KeyCrypterScrypt.java similarity index 97% rename from core/src/main/java/org/bitcoinj/crypto/KeyCrypterScrypt.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/KeyCrypterScrypt.java index cf595a2e..f493098e 100644 --- a/core/src/main/java/org/bitcoinj/crypto/KeyCrypterScrypt.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/KeyCrypterScrypt.java @@ -14,14 +14,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; import com.google.common.base.Objects; import com.google.protobuf.ByteString; import com.lambdaworks.crypto.SCrypt; -import org.bitcoinj.wallet.Protos; -import org.bitcoinj.wallet.Protos.ScryptParameters; -import org.bitcoinj.wallet.Protos.Wallet.EncryptionType; +import com.dogecoin.dogecoinj.wallet.Protos; +import com.dogecoin.dogecoinj.wallet.Protos.ScryptParameters; +import com.dogecoin.dogecoinj.wallet.Protos.Wallet.EncryptionType; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.spongycastle.crypto.BufferedBlockCipher; diff --git a/core/src/main/java/org/bitcoinj/crypto/MnemonicCode.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/MnemonicCode.java similarity index 98% rename from core/src/main/java/org/bitcoinj/crypto/MnemonicCode.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/MnemonicCode.java index 2b1272a4..2a00078f 100644 --- a/core/src/main/java/org/bitcoinj/crypto/MnemonicCode.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/MnemonicCode.java @@ -15,10 +15,10 @@ * limitations under the License. */ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; -import org.bitcoinj.core.Sha256Hash; -import org.bitcoinj.core.Utils; +import com.dogecoin.dogecoinj.core.Sha256Hash; +import com.dogecoin.dogecoinj.core.Utils; import com.google.common.base.Joiner; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -34,7 +34,7 @@ import java.util.ArrayList; import java.util.Collections; import java.util.List; -import static org.bitcoinj.core.Utils.HEX; +import static com.dogecoin.dogecoinj.core.Utils.HEX; /** * A MnemonicCode object may be used to convert between binary seed values and diff --git a/core/src/main/java/org/bitcoinj/crypto/MnemonicException.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/MnemonicException.java similarity index 97% rename from core/src/main/java/org/bitcoinj/crypto/MnemonicException.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/MnemonicException.java index ff862f49..b117f778 100644 --- a/core/src/main/java/org/bitcoinj/crypto/MnemonicException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/MnemonicException.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; /** * Exceptions thrown by the MnemonicCode module. diff --git a/core/src/main/java/org/bitcoinj/crypto/PBKDF2SHA512.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/PBKDF2SHA512.java similarity index 98% rename from core/src/main/java/org/bitcoinj/crypto/PBKDF2SHA512.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/PBKDF2SHA512.java index 03cfa419..103a18a1 100644 --- a/core/src/main/java/org/bitcoinj/crypto/PBKDF2SHA512.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/PBKDF2SHA512.java @@ -21,7 +21,7 @@ * */ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; import javax.crypto.Mac; import javax.crypto.spec.SecretKeySpec; diff --git a/core/src/main/java/org/bitcoinj/crypto/TransactionSignature.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/TransactionSignature.java similarity index 96% rename from core/src/main/java/org/bitcoinj/crypto/TransactionSignature.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/TransactionSignature.java index b260783a..2f4f259f 100644 --- a/core/src/main/java/org/bitcoinj/crypto/TransactionSignature.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/TransactionSignature.java @@ -14,18 +14,18 @@ * limitations under the License. */ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; -import org.bitcoinj.core.ECKey; -import org.bitcoinj.core.Transaction; -import org.bitcoinj.core.VerificationException; +import com.dogecoin.dogecoinj.core.ECKey; +import com.dogecoin.dogecoinj.core.Transaction; +import com.dogecoin.dogecoinj.core.VerificationException; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.math.BigInteger; /** - * A TransactionSignature wraps an {@link org.bitcoinj.core.ECKey.ECDSASignature} and adds methods for handling + * A TransactionSignature wraps an {@link com.dogecoin.dogecoinj.core.ECKey.ECDSASignature} and adds methods for handling * the additional SIGHASH mode byte that is used. */ public class TransactionSignature extends ECKey.ECDSASignature { diff --git a/core/src/main/java/org/bitcoinj/crypto/TrustStoreLoader.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/TrustStoreLoader.java similarity index 99% rename from core/src/main/java/org/bitcoinj/crypto/TrustStoreLoader.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/TrustStoreLoader.java index 6aa7331a..9d083678 100644 --- a/core/src/main/java/org/bitcoinj/crypto/TrustStoreLoader.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/TrustStoreLoader.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; import javax.annotation.Nonnull; import java.io.File; diff --git a/core/src/main/java/org/bitcoinj/crypto/X509Utils.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/X509Utils.java similarity index 96% rename from core/src/main/java/org/bitcoinj/crypto/X509Utils.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/X509Utils.java index 0d07ec22..ae06d75a 100644 --- a/core/src/main/java/org/bitcoinj/crypto/X509Utils.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/X509Utils.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.crypto; +package com.dogecoin.dogecoinj.crypto; import com.google.common.base.Joiner; import org.spongycastle.asn1.ASN1ObjectIdentifier; @@ -38,7 +38,7 @@ import java.util.List; /** * X509Utils provides tools for working with X.509 certificates and keystores, as used in the BIP 70 payment protocol. - * For more details on this, see {@link org.bitcoinj.protocols.payments.PaymentSession}, the article "Working with + * For more details on this, see {@link com.dogecoin.dogecoinj.protocols.payments.PaymentSession}, the article "Working with * the payment protocol" on the bitcoinj website, or the Bitcoin developer guide. */ public class X509Utils { diff --git a/core/src/main/java/org/bitcoinj/crypto/package-info.java b/core/src/main/java/com/dogecoin/dogecoinj/crypto/package-info.java similarity index 93% rename from core/src/main/java/org/bitcoinj/crypto/package-info.java rename to core/src/main/java/com/dogecoin/dogecoinj/crypto/package-info.java index 9c5bc84e..1e68c09d 100644 --- a/core/src/main/java/org/bitcoinj/crypto/package-info.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/crypto/package-info.java @@ -5,4 +5,4 @@ * on strong crypto. This is legal because Oracle got permission to ship strong AES to everyone years ago but hasn't * bothered to actually remove the logic barriers. */ -package org.bitcoinj.crypto; \ No newline at end of file +package com.dogecoin.dogecoinj.crypto; \ No newline at end of file diff --git a/core/src/main/java/org/bitcoinj/jni/NativeBlockChainListener.java b/core/src/main/java/com/dogecoin/dogecoinj/jni/NativeBlockChainListener.java similarity index 96% rename from core/src/main/java/org/bitcoinj/jni/NativeBlockChainListener.java rename to core/src/main/java/com/dogecoin/dogecoinj/jni/NativeBlockChainListener.java index 560f6cd3..6d69961a 100644 --- a/core/src/main/java/org/bitcoinj/jni/NativeBlockChainListener.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/jni/NativeBlockChainListener.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package org.bitcoinj.jni; +package com.dogecoin.dogecoinj.jni; -import org.bitcoinj.core.*; +import com.dogecoin.dogecoinj.core.*; import java.util.List; diff --git a/core/src/main/java/org/bitcoinj/jni/NativeFutureCallback.java b/core/src/main/java/com/dogecoin/dogecoinj/jni/NativeFutureCallback.java similarity index 96% rename from core/src/main/java/org/bitcoinj/jni/NativeFutureCallback.java rename to core/src/main/java/com/dogecoin/dogecoinj/jni/NativeFutureCallback.java index 67a47354..8109c64b 100644 --- a/core/src/main/java/org/bitcoinj/jni/NativeFutureCallback.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/jni/NativeFutureCallback.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.jni; +package com.dogecoin.dogecoinj.jni; import com.google.common.util.concurrent.FutureCallback; diff --git a/core/src/main/java/org/bitcoinj/jni/NativePaymentChannelHandlerFactory.java b/core/src/main/java/com/dogecoin/dogecoinj/jni/NativePaymentChannelHandlerFactory.java similarity index 74% rename from core/src/main/java/org/bitcoinj/jni/NativePaymentChannelHandlerFactory.java rename to core/src/main/java/com/dogecoin/dogecoinj/jni/NativePaymentChannelHandlerFactory.java index 88e394ac..155ac8ab 100644 --- a/core/src/main/java/org/bitcoinj/jni/NativePaymentChannelHandlerFactory.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/jni/NativePaymentChannelHandlerFactory.java @@ -1,7 +1,7 @@ -package org.bitcoinj.jni; +package com.dogecoin.dogecoinj.jni; -import org.bitcoinj.protocols.channels.PaymentChannelServerListener; -import org.bitcoinj.protocols.channels.ServerConnectionEventHandler; +import com.dogecoin.dogecoinj.protocols.channels.PaymentChannelServerListener; +import com.dogecoin.dogecoinj.protocols.channels.ServerConnectionEventHandler; import javax.annotation.Nullable; import java.net.SocketAddress; diff --git a/core/src/main/java/org/bitcoinj/jni/NativePaymentChannelServerConnectionEventHandler.java b/core/src/main/java/com/dogecoin/dogecoinj/jni/NativePaymentChannelServerConnectionEventHandler.java similarity index 76% rename from core/src/main/java/org/bitcoinj/jni/NativePaymentChannelServerConnectionEventHandler.java rename to core/src/main/java/com/dogecoin/dogecoinj/jni/NativePaymentChannelServerConnectionEventHandler.java index f4c1ecc3..7029ab0f 100644 --- a/core/src/main/java/org/bitcoinj/jni/NativePaymentChannelServerConnectionEventHandler.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/jni/NativePaymentChannelServerConnectionEventHandler.java @@ -1,8 +1,8 @@ -package org.bitcoinj.jni; +package com.dogecoin.dogecoinj.jni; -import org.bitcoinj.core.*; -import org.bitcoinj.protocols.channels.PaymentChannelCloseException; -import org.bitcoinj.protocols.channels.ServerConnectionEventHandler; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.protocols.channels.PaymentChannelCloseException; +import com.dogecoin.dogecoinj.protocols.channels.ServerConnectionEventHandler; import com.google.common.util.concurrent.ListenableFuture; import com.google.protobuf.ByteString; diff --git a/core/src/main/java/org/bitcoinj/jni/NativePeerEventListener.java b/core/src/main/java/com/dogecoin/dogecoinj/jni/NativePeerEventListener.java similarity index 95% rename from core/src/main/java/org/bitcoinj/jni/NativePeerEventListener.java rename to core/src/main/java/com/dogecoin/dogecoinj/jni/NativePeerEventListener.java index 5010ae2d..4f6c7f38 100644 --- a/core/src/main/java/org/bitcoinj/jni/NativePeerEventListener.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/jni/NativePeerEventListener.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package org.bitcoinj.jni; +package com.dogecoin.dogecoinj.jni; -import org.bitcoinj.core.*; +import com.dogecoin.dogecoinj.core.*; import java.util.List; import java.util.Set; diff --git a/core/src/main/java/org/bitcoinj/jni/NativeTransactionConfidenceListener.java b/core/src/main/java/com/dogecoin/dogecoinj/jni/NativeTransactionConfidenceListener.java similarity index 88% rename from core/src/main/java/org/bitcoinj/jni/NativeTransactionConfidenceListener.java rename to core/src/main/java/com/dogecoin/dogecoinj/jni/NativeTransactionConfidenceListener.java index 065d29aa..5ca800a1 100644 --- a/core/src/main/java/org/bitcoinj/jni/NativeTransactionConfidenceListener.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/jni/NativeTransactionConfidenceListener.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package org.bitcoinj.jni; +package com.dogecoin.dogecoinj.jni; -import org.bitcoinj.core.Transaction; -import org.bitcoinj.core.TransactionConfidence; +import com.dogecoin.dogecoinj.core.Transaction; +import com.dogecoin.dogecoinj.core.TransactionConfidence; /** * An event listener that relays events to a native C++ object. A pointer to that object is stored in diff --git a/core/src/main/java/org/bitcoinj/jni/NativeWalletEventListener.java b/core/src/main/java/com/dogecoin/dogecoinj/jni/NativeWalletEventListener.java similarity index 83% rename from core/src/main/java/org/bitcoinj/jni/NativeWalletEventListener.java rename to core/src/main/java/com/dogecoin/dogecoinj/jni/NativeWalletEventListener.java index 705fc7b1..33605f7e 100644 --- a/core/src/main/java/org/bitcoinj/jni/NativeWalletEventListener.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/jni/NativeWalletEventListener.java @@ -14,14 +14,14 @@ * limitations under the License. */ -package org.bitcoinj.jni; +package com.dogecoin.dogecoinj.jni; -import org.bitcoinj.core.Coin; -import org.bitcoinj.core.ECKey; -import org.bitcoinj.core.Transaction; -import org.bitcoinj.core.Wallet; -import org.bitcoinj.core.WalletEventListener; -import org.bitcoinj.script.Script; +import com.dogecoin.dogecoinj.core.Coin; +import com.dogecoin.dogecoinj.core.ECKey; +import com.dogecoin.dogecoinj.core.Transaction; +import com.dogecoin.dogecoinj.core.Wallet; +import com.dogecoin.dogecoinj.core.WalletEventListener; +import com.dogecoin.dogecoinj.script.Script; import java.util.List; diff --git a/core/src/main/java/org/bitcoinj/kits/WalletAppKit.java b/core/src/main/java/com/dogecoin/dogecoinj/kits/WalletAppKit.java similarity index 97% rename from core/src/main/java/org/bitcoinj/kits/WalletAppKit.java rename to core/src/main/java/com/dogecoin/dogecoinj/kits/WalletAppKit.java index 7cb9f762..f90f8723 100644 --- a/core/src/main/java/org/bitcoinj/kits/WalletAppKit.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/kits/WalletAppKit.java @@ -15,23 +15,23 @@ * limitations under the License. */ -package org.bitcoinj.kits; +package com.dogecoin.dogecoinj.kits; import com.google.common.collect.ImmutableList; import com.google.common.util.concurrent.AbstractIdleService; import com.google.common.util.concurrent.MoreExecutors; import com.google.common.util.concurrent.Service; import com.subgraph.orchid.TorClient; -import org.bitcoinj.core.*; -import org.bitcoinj.net.discovery.DnsDiscovery; -import org.bitcoinj.protocols.channels.StoredPaymentChannelClientStates; -import org.bitcoinj.protocols.channels.StoredPaymentChannelServerStates; -import org.bitcoinj.store.BlockStoreException; -import org.bitcoinj.store.SPVBlockStore; -import org.bitcoinj.store.WalletProtobufSerializer; -import org.bitcoinj.wallet.DeterministicSeed; -import org.bitcoinj.wallet.KeyChainGroup; -import org.bitcoinj.wallet.Protos; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.net.discovery.DnsDiscovery; +import com.dogecoin.dogecoinj.protocols.channels.StoredPaymentChannelClientStates; +import com.dogecoin.dogecoinj.protocols.channels.StoredPaymentChannelServerStates; +import com.dogecoin.dogecoinj.store.BlockStoreException; +import com.dogecoin.dogecoinj.store.SPVBlockStore; +import com.dogecoin.dogecoinj.store.WalletProtobufSerializer; +import com.dogecoin.dogecoinj.wallet.DeterministicSeed; +import com.dogecoin.dogecoinj.wallet.KeyChainGroup; +import com.dogecoin.dogecoinj.wallet.Protos; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/core/src/main/java/org/bitcoinj/kits/package-info.java b/core/src/main/java/com/dogecoin/dogecoinj/kits/package-info.java similarity index 81% rename from core/src/main/java/org/bitcoinj/kits/package-info.java rename to core/src/main/java/com/dogecoin/dogecoinj/kits/package-info.java index b29b5f35..9fb64547 100644 --- a/core/src/main/java/org/bitcoinj/kits/package-info.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/kits/package-info.java @@ -2,4 +2,4 @@ * High level wrapper APIs around the bitcoinj building blocks. WalletAppKit is suitable for many different types of * apps that require an SPV wallet. */ -package org.bitcoinj.kits; \ No newline at end of file +package com.dogecoin.dogecoinj.kits; \ No newline at end of file diff --git a/core/src/main/java/org/bitcoinj/net/AbstractTimeoutHandler.java b/core/src/main/java/com/dogecoin/dogecoinj/net/AbstractTimeoutHandler.java similarity index 98% rename from core/src/main/java/org/bitcoinj/net/AbstractTimeoutHandler.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/AbstractTimeoutHandler.java index 354fa43c..b0ad22d2 100644 --- a/core/src/main/java/org/bitcoinj/net/AbstractTimeoutHandler.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/AbstractTimeoutHandler.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.net; +package com.dogecoin.dogecoinj.net; import java.util.Timer; import java.util.TimerTask; diff --git a/core/src/main/java/org/bitcoinj/net/BlockingClient.java b/core/src/main/java/com/dogecoin/dogecoinj/net/BlockingClient.java similarity index 99% rename from core/src/main/java/org/bitcoinj/net/BlockingClient.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/BlockingClient.java index e564eb4a..bfc0cd85 100644 --- a/core/src/main/java/org/bitcoinj/net/BlockingClient.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/BlockingClient.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.net; +package com.dogecoin.dogecoinj.net; import org.slf4j.LoggerFactory; diff --git a/core/src/main/java/org/bitcoinj/net/BlockingClientManager.java b/core/src/main/java/com/dogecoin/dogecoinj/net/BlockingClientManager.java similarity index 98% rename from core/src/main/java/org/bitcoinj/net/BlockingClientManager.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/BlockingClientManager.java index bae580e7..54ad4cb8 100644 --- a/core/src/main/java/org/bitcoinj/net/BlockingClientManager.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/BlockingClientManager.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.net; +package com.dogecoin.dogecoinj.net; import com.google.common.util.concurrent.AbstractIdleService; diff --git a/core/src/main/java/org/bitcoinj/net/ClientConnectionManager.java b/core/src/main/java/com/dogecoin/dogecoinj/net/ClientConnectionManager.java similarity index 97% rename from core/src/main/java/org/bitcoinj/net/ClientConnectionManager.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/ClientConnectionManager.java index 1ec49af2..bad26bd9 100644 --- a/core/src/main/java/org/bitcoinj/net/ClientConnectionManager.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/ClientConnectionManager.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.net; +package com.dogecoin.dogecoinj.net; import com.google.common.util.concurrent.Service; diff --git a/core/src/main/java/org/bitcoinj/net/ConnectionHandler.java b/core/src/main/java/com/dogecoin/dogecoinj/net/ConnectionHandler.java similarity index 98% rename from core/src/main/java/org/bitcoinj/net/ConnectionHandler.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/ConnectionHandler.java index 57562042..625b2d8f 100644 --- a/core/src/main/java/org/bitcoinj/net/ConnectionHandler.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/ConnectionHandler.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package org.bitcoinj.net; +package com.dogecoin.dogecoinj.net; -import org.bitcoinj.core.Message; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.core.Message; +import com.dogecoin.dogecoinj.utils.Threading; import com.google.common.base.Throwables; import org.slf4j.LoggerFactory; diff --git a/core/src/main/java/org/bitcoinj/net/FilterMerger.java b/core/src/main/java/com/dogecoin/dogecoinj/net/FilterMerger.java similarity index 92% rename from core/src/main/java/org/bitcoinj/net/FilterMerger.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/FilterMerger.java index d3dcb0c7..93f420e0 100644 --- a/core/src/main/java/org/bitcoinj/net/FilterMerger.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/FilterMerger.java @@ -1,7 +1,7 @@ -package org.bitcoinj.net; +package com.dogecoin.dogecoinj.net; -import org.bitcoinj.core.BloomFilter; -import org.bitcoinj.core.PeerFilterProvider; +import com.dogecoin.dogecoinj.core.BloomFilter; +import com.dogecoin.dogecoinj.core.PeerFilterProvider; import com.google.common.collect.ImmutableList; import java.util.LinkedList; @@ -10,9 +10,9 @@ import java.util.concurrent.locks.Lock; // This code is unit tested by the PeerGroup tests. /** - *

A reusable object that will calculate, given a list of {@link org.bitcoinj.core.PeerFilterProvider}s, a merged - * {@link org.bitcoinj.core.BloomFilter} and earliest key time for all of them. - * Used by the {@link org.bitcoinj.core.PeerGroup} class internally.

+ *

A reusable object that will calculate, given a list of {@link com.dogecoin.dogecoinj.core.PeerFilterProvider}s, a merged + * {@link com.dogecoin.dogecoinj.core.BloomFilter} and earliest key time for all of them. + * Used by the {@link com.dogecoin.dogecoinj.core.PeerGroup} class internally.

* *

Thread safety: this class tracks the element count of the last filter it calculated and so must be synchronised * externally or used from only one thread. It will acquire a lock on each filter in turn before performing the diff --git a/core/src/main/java/org/bitcoinj/net/MessageWriteTarget.java b/core/src/main/java/com/dogecoin/dogecoinj/net/MessageWriteTarget.java similarity index 96% rename from core/src/main/java/org/bitcoinj/net/MessageWriteTarget.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/MessageWriteTarget.java index 18166b47..2f18990b 100644 --- a/core/src/main/java/org/bitcoinj/net/MessageWriteTarget.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/MessageWriteTarget.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.net; +package com.dogecoin.dogecoinj.net; import java.io.IOException; diff --git a/core/src/main/java/org/bitcoinj/net/NioClient.java b/core/src/main/java/com/dogecoin/dogecoinj/net/NioClient.java similarity index 99% rename from core/src/main/java/org/bitcoinj/net/NioClient.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/NioClient.java index cd83e9cf..8a0b8d0b 100644 --- a/core/src/main/java/org/bitcoinj/net/NioClient.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/NioClient.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.bitcoinj.net; +package com.dogecoin.dogecoinj.net; import java.io.IOException; import java.net.SocketAddress; diff --git a/core/src/main/java/org/bitcoinj/net/NioClientManager.java b/core/src/main/java/com/dogecoin/dogecoinj/net/NioClientManager.java similarity index 99% rename from core/src/main/java/org/bitcoinj/net/NioClientManager.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/NioClientManager.java index 9eb0aca2..a08da908 100644 --- a/core/src/main/java/org/bitcoinj/net/NioClientManager.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/NioClientManager.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.net; +package com.dogecoin.dogecoinj.net; import com.google.common.base.Throwables; import com.google.common.util.concurrent.AbstractExecutionThreadService; diff --git a/core/src/main/java/org/bitcoinj/net/NioServer.java b/core/src/main/java/com/dogecoin/dogecoinj/net/NioServer.java similarity index 99% rename from core/src/main/java/org/bitcoinj/net/NioServer.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/NioServer.java index 800f80f0..e16e90f8 100644 --- a/core/src/main/java/org/bitcoinj/net/NioServer.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/NioServer.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.net; +package com.dogecoin.dogecoinj.net; import java.io.IOException; import java.net.InetSocketAddress; diff --git a/core/src/main/java/org/bitcoinj/net/ProtobufParser.java b/core/src/main/java/com/dogecoin/dogecoinj/net/ProtobufParser.java similarity index 98% rename from core/src/main/java/org/bitcoinj/net/ProtobufParser.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/ProtobufParser.java index 812afd02..9e2126b5 100644 --- a/core/src/main/java/org/bitcoinj/net/ProtobufParser.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/ProtobufParser.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package org.bitcoinj.net; +package com.dogecoin.dogecoinj.net; -import org.bitcoinj.core.Utils; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.core.Utils; +import com.dogecoin.dogecoinj.utils.Threading; import com.google.common.annotations.VisibleForTesting; import com.google.protobuf.ByteString; import com.google.protobuf.MessageLite; diff --git a/core/src/main/java/org/bitcoinj/net/StreamParser.java b/core/src/main/java/com/dogecoin/dogecoinj/net/StreamParser.java similarity index 98% rename from core/src/main/java/org/bitcoinj/net/StreamParser.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/StreamParser.java index 51f6e435..8706481e 100644 --- a/core/src/main/java/org/bitcoinj/net/StreamParser.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/StreamParser.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.net; +package com.dogecoin.dogecoinj.net; import java.nio.ByteBuffer; diff --git a/core/src/main/java/org/bitcoinj/net/StreamParserFactory.java b/core/src/main/java/com/dogecoin/dogecoinj/net/StreamParserFactory.java similarity index 96% rename from core/src/main/java/org/bitcoinj/net/StreamParserFactory.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/StreamParserFactory.java index 9fcfe55b..d4cb8504 100644 --- a/core/src/main/java/org/bitcoinj/net/StreamParserFactory.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/StreamParserFactory.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.net; +package com.dogecoin.dogecoinj.net; import java.net.InetAddress; import javax.annotation.Nullable; diff --git a/core/src/main/java/org/bitcoinj/net/discovery/DnsDiscovery.java b/core/src/main/java/com/dogecoin/dogecoinj/net/discovery/DnsDiscovery.java similarity index 96% rename from core/src/main/java/org/bitcoinj/net/discovery/DnsDiscovery.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/discovery/DnsDiscovery.java index 3af85cb4..b7c5aa6b 100644 --- a/core/src/main/java/org/bitcoinj/net/discovery/DnsDiscovery.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/discovery/DnsDiscovery.java @@ -15,11 +15,11 @@ * limitations under the License. */ -package org.bitcoinj.net.discovery; +package com.dogecoin.dogecoinj.net.discovery; -import org.bitcoinj.core.NetworkParameters; +import com.dogecoin.dogecoinj.core.NetworkParameters; import com.google.common.collect.Lists; -import org.bitcoinj.utils.DaemonThreadFactory; +import com.dogecoin.dogecoinj.utils.DaemonThreadFactory; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/core/src/main/java/org/bitcoinj/net/discovery/IrcDiscovery.java b/core/src/main/java/com/dogecoin/dogecoinj/net/discovery/IrcDiscovery.java similarity index 98% rename from core/src/main/java/org/bitcoinj/net/discovery/IrcDiscovery.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/discovery/IrcDiscovery.java index 5a2b155f..79d8c2c8 100644 --- a/core/src/main/java/org/bitcoinj/net/discovery/IrcDiscovery.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/discovery/IrcDiscovery.java @@ -14,11 +14,11 @@ * limitations under the License. */ -package org.bitcoinj.net.discovery; +package com.dogecoin.dogecoinj.net.discovery; -import org.bitcoinj.core.AddressFormatException; -import org.bitcoinj.core.Base58; -import org.bitcoinj.core.Utils; +import com.dogecoin.dogecoinj.core.AddressFormatException; +import com.dogecoin.dogecoinj.core.Base58; +import com.dogecoin.dogecoinj.core.Utils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/core/src/main/java/org/bitcoinj/net/discovery/PeerDiscovery.java b/core/src/main/java/com/dogecoin/dogecoinj/net/discovery/PeerDiscovery.java similarity index 96% rename from core/src/main/java/org/bitcoinj/net/discovery/PeerDiscovery.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/discovery/PeerDiscovery.java index e560d10c..120d9527 100644 --- a/core/src/main/java/org/bitcoinj/net/discovery/PeerDiscovery.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/discovery/PeerDiscovery.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.net.discovery; +package com.dogecoin.dogecoinj.net.discovery; import java.net.InetSocketAddress; import java.util.concurrent.TimeUnit; diff --git a/core/src/main/java/org/bitcoinj/net/discovery/PeerDiscoveryException.java b/core/src/main/java/com/dogecoin/dogecoinj/net/discovery/PeerDiscoveryException.java similarity index 95% rename from core/src/main/java/org/bitcoinj/net/discovery/PeerDiscoveryException.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/discovery/PeerDiscoveryException.java index 711828cb..3979d9b4 100644 --- a/core/src/main/java/org/bitcoinj/net/discovery/PeerDiscoveryException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/discovery/PeerDiscoveryException.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.net.discovery; +package com.dogecoin.dogecoinj.net.discovery; public class PeerDiscoveryException extends Exception { private static final long serialVersionUID = -2863411151549391392L; diff --git a/core/src/main/java/org/bitcoinj/net/discovery/SeedPeers.java b/core/src/main/java/com/dogecoin/dogecoinj/net/discovery/SeedPeers.java similarity index 98% rename from core/src/main/java/org/bitcoinj/net/discovery/SeedPeers.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/discovery/SeedPeers.java index d5fde22d..1c6486d6 100644 --- a/core/src/main/java/org/bitcoinj/net/discovery/SeedPeers.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/discovery/SeedPeers.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.bitcoinj.net.discovery; +package com.dogecoin.dogecoinj.net.discovery; -import org.bitcoinj.core.NetworkParameters; +import com.dogecoin.dogecoinj.core.NetworkParameters; import javax.annotation.Nullable; import java.net.InetAddress; diff --git a/core/src/main/java/org/bitcoinj/net/discovery/TorDiscovery.java b/core/src/main/java/com/dogecoin/dogecoinj/net/discovery/TorDiscovery.java similarity index 98% rename from core/src/main/java/org/bitcoinj/net/discovery/TorDiscovery.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/discovery/TorDiscovery.java index ef3037bf..ff666114 100644 --- a/core/src/main/java/org/bitcoinj/net/discovery/TorDiscovery.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/discovery/TorDiscovery.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package org.bitcoinj.net.discovery; +package com.dogecoin.dogecoinj.net.discovery; import static com.google.common.base.Preconditions.checkArgument; -import org.bitcoinj.core.NetworkParameters; +import com.dogecoin.dogecoinj.core.NetworkParameters; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.collect.Sets; @@ -34,7 +34,7 @@ import com.subgraph.orchid.circuits.path.CircuitPathChooser; import com.subgraph.orchid.data.HexDigest; import com.subgraph.orchid.data.exitpolicy.ExitTarget; -import org.bitcoinj.utils.DaemonThreadFactory; +import com.dogecoin.dogecoinj.utils.DaemonThreadFactory; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/core/src/main/java/org/bitcoinj/net/discovery/package-info.java b/core/src/main/java/com/dogecoin/dogecoinj/net/discovery/package-info.java similarity index 70% rename from core/src/main/java/org/bitcoinj/net/discovery/package-info.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/discovery/package-info.java index 2c8f3176..8212a902 100644 --- a/core/src/main/java/org/bitcoinj/net/discovery/package-info.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/discovery/package-info.java @@ -1,4 +1,4 @@ /** * Classes that know how to discover peers in the P2P network using DNS, IRC or DNS via Tor (orchid). */ -package org.bitcoinj.net.discovery; \ No newline at end of file +package com.dogecoin.dogecoinj.net.discovery; \ No newline at end of file diff --git a/core/src/main/java/org/bitcoinj/net/package-info.java b/core/src/main/java/com/dogecoin/dogecoinj/net/package-info.java similarity index 90% rename from core/src/main/java/org/bitcoinj/net/package-info.java rename to core/src/main/java/com/dogecoin/dogecoinj/net/package-info.java index 8e4a9f43..2f4cd3a3 100644 --- a/core/src/main/java/org/bitcoinj/net/package-info.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/net/package-info.java @@ -3,4 +3,4 @@ * using SOCKS proxies, Tor, SSL etc). The code in this package implements a simple network abstraction a little like * what the Netty library provides, but with only what bitcoinj needs. */ -package org.bitcoinj.net; \ No newline at end of file +package com.dogecoin.dogecoinj.net; \ No newline at end of file diff --git a/core/src/main/java/org/bitcoinj/params/MainNetParams.java b/core/src/main/java/com/dogecoin/dogecoinj/params/MainNetParams.java similarity index 94% rename from core/src/main/java/org/bitcoinj/params/MainNetParams.java rename to core/src/main/java/com/dogecoin/dogecoinj/params/MainNetParams.java index 1f08d3a2..1b28a758 100644 --- a/core/src/main/java/org/bitcoinj/params/MainNetParams.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/params/MainNetParams.java @@ -14,11 +14,11 @@ * limitations under the License. */ -package org.bitcoinj.params; +package com.dogecoin.dogecoinj.params; -import org.bitcoinj.core.NetworkParameters; -import org.bitcoinj.core.Sha256Hash; -import org.bitcoinj.core.Utils; +import com.dogecoin.dogecoinj.core.NetworkParameters; +import com.dogecoin.dogecoinj.core.Sha256Hash; +import com.dogecoin.dogecoinj.core.Utils; import static com.google.common.base.Preconditions.checkState; diff --git a/core/src/main/java/org/bitcoinj/params/Networks.java b/core/src/main/java/com/dogecoin/dogecoinj/params/Networks.java similarity index 95% rename from core/src/main/java/org/bitcoinj/params/Networks.java rename to core/src/main/java/com/dogecoin/dogecoinj/params/Networks.java index dc965da8..ee338500 100644 --- a/core/src/main/java/org/bitcoinj/params/Networks.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/params/Networks.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package org.bitcoinj.params; +package com.dogecoin.dogecoinj.params; -import org.bitcoinj.core.NetworkParameters; +import com.dogecoin.dogecoinj.core.NetworkParameters; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Lists; diff --git a/core/src/main/java/org/bitcoinj/params/RegTestParams.java b/core/src/main/java/com/dogecoin/dogecoinj/params/RegTestParams.java similarity index 96% rename from core/src/main/java/org/bitcoinj/params/RegTestParams.java rename to core/src/main/java/com/dogecoin/dogecoinj/params/RegTestParams.java index eeb460ac..461eb78c 100644 --- a/core/src/main/java/org/bitcoinj/params/RegTestParams.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/params/RegTestParams.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package org.bitcoinj.params; +package com.dogecoin.dogecoinj.params; -import org.bitcoinj.core.Block; +import com.dogecoin.dogecoinj.core.Block; import java.math.BigInteger; diff --git a/core/src/main/java/org/bitcoinj/params/TestNet2Params.java b/core/src/main/java/com/dogecoin/dogecoinj/params/TestNet2Params.java similarity index 93% rename from core/src/main/java/org/bitcoinj/params/TestNet2Params.java rename to core/src/main/java/com/dogecoin/dogecoinj/params/TestNet2Params.java index 99df8176..46fcd53e 100644 --- a/core/src/main/java/org/bitcoinj/params/TestNet2Params.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/params/TestNet2Params.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package org.bitcoinj.params; +package com.dogecoin.dogecoinj.params; -import org.bitcoinj.core.NetworkParameters; -import org.bitcoinj.core.Utils; +import com.dogecoin.dogecoinj.core.NetworkParameters; +import com.dogecoin.dogecoinj.core.Utils; import static com.google.common.base.Preconditions.checkState; diff --git a/core/src/main/java/org/bitcoinj/params/TestNet3Params.java b/core/src/main/java/com/dogecoin/dogecoinj/params/TestNet3Params.java similarity index 95% rename from core/src/main/java/org/bitcoinj/params/TestNet3Params.java rename to core/src/main/java/com/dogecoin/dogecoinj/params/TestNet3Params.java index 095b2c33..b4a2dc0a 100644 --- a/core/src/main/java/org/bitcoinj/params/TestNet3Params.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/params/TestNet3Params.java @@ -15,10 +15,10 @@ * limitations under the License. */ -package org.bitcoinj.params; +package com.dogecoin.dogecoinj.params; -import org.bitcoinj.core.NetworkParameters; -import org.bitcoinj.core.Utils; +import com.dogecoin.dogecoinj.core.NetworkParameters; +import com.dogecoin.dogecoinj.core.Utils; import static com.google.common.base.Preconditions.checkState; diff --git a/core/src/main/java/org/bitcoinj/params/UnitTestParams.java b/core/src/main/java/com/dogecoin/dogecoinj/params/UnitTestParams.java similarity index 88% rename from core/src/main/java/org/bitcoinj/params/UnitTestParams.java rename to core/src/main/java/com/dogecoin/dogecoinj/params/UnitTestParams.java index 4f433d36..f9ff8cb5 100644 --- a/core/src/main/java/org/bitcoinj/params/UnitTestParams.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/params/UnitTestParams.java @@ -14,16 +14,16 @@ * limitations under the License. */ -package org.bitcoinj.params; +package com.dogecoin.dogecoinj.params; -import org.bitcoinj.core.Block; -import org.bitcoinj.core.NetworkParameters; +import com.dogecoin.dogecoinj.core.Block; +import com.dogecoin.dogecoinj.core.NetworkParameters; import java.math.BigInteger; /** * Network parameters used by the bitcoinj unit tests (and potentially your own). This lets you solve a block using - * {@link org.bitcoinj.core.Block#solve()} by setting difficulty to the easiest possible. + * {@link com.dogecoin.dogecoinj.core.Block#solve()} by setting difficulty to the easiest possible. */ public class UnitTestParams extends NetworkParameters { public UnitTestParams() { diff --git a/core/src/main/java/org/bitcoinj/params/package-info.java b/core/src/main/java/com/dogecoin/dogecoinj/params/package-info.java similarity index 83% rename from core/src/main/java/org/bitcoinj/params/package-info.java rename to core/src/main/java/com/dogecoin/dogecoinj/params/package-info.java index e750d96b..f3864361 100644 --- a/core/src/main/java/org/bitcoinj/params/package-info.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/params/package-info.java @@ -2,4 +2,4 @@ * Network parameters encapsulate some of the differences between different Bitcoin networks such as the main/production * network, the testnet, regtest mode, unit testing params and so on. */ -package org.bitcoinj.params; \ No newline at end of file +package com.dogecoin.dogecoinj.params; \ No newline at end of file diff --git a/core/src/main/java/org/bitcoinj/protocols/channels/ClientState.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/ClientState.java similarity index 81% rename from core/src/main/java/org/bitcoinj/protocols/channels/ClientState.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/ClientState.java index 6cb63e90..bf4c00e8 100644 --- a/core/src/main/java/org/bitcoinj/protocols/channels/ClientState.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/ClientState.java @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: storedclientpaymentchannel.proto -package org.bitcoinj.protocols.channels; +package com.dogecoin.dogecoinj.protocols.channels; public final class ClientState { private ClientState() {} @@ -15,12 +15,12 @@ public final class ClientState { /** * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ - java.util.List + java.util.List getChannelsList(); /** * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ - org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel getChannels(int index); + com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel getChannels(int index); /** * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ @@ -28,12 +28,12 @@ public final class ClientState { /** * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ - java.util.List + java.util.List getChannelsOrBuilderList(); /** * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ - org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannelOrBuilder getChannelsOrBuilder( + com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannelOrBuilder getChannelsOrBuilder( int index); } /** @@ -93,10 +93,10 @@ public final class ClientState { } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - channels_ = new java.util.ArrayList(); + channels_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } - channels_.add(input.readMessage(org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.PARSER, extensionRegistry)); + channels_.add(input.readMessage(com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel.PARSER, extensionRegistry)); break; } } @@ -116,14 +116,14 @@ public final class ClientState { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.bitcoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannels_descriptor; + return com.dogecoin.dogecoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannels_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.bitcoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannels_fieldAccessorTable + return com.dogecoin.dogecoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannels_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels.class, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels.Builder.class); + com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels.class, com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels.Builder.class); } public static com.google.protobuf.Parser PARSER = @@ -143,17 +143,17 @@ public final class ClientState { // repeated .paymentchannels.StoredClientPaymentChannel channels = 1; public static final int CHANNELS_FIELD_NUMBER = 1; - private java.util.List channels_; + private java.util.List channels_; /** * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ - public java.util.List getChannelsList() { + public java.util.List getChannelsList() { return channels_; } /** * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ - public java.util.List + public java.util.List getChannelsOrBuilderList() { return channels_; } @@ -166,13 +166,13 @@ public final class ClientState { /** * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ - public org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel getChannels(int index) { + public com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel getChannels(int index) { return channels_.get(index); } /** * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ - public org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannelOrBuilder getChannelsOrBuilder( + public com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannelOrBuilder getChannelsOrBuilder( int index) { return channels_.get(index); } @@ -226,53 +226,53 @@ public final class ClientState { return super.writeReplace(); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseFrom(byte[] data) + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseFrom(java.io.InputStream input) + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseDelimitedFrom(java.io.InputStream input) + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseDelimitedFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -281,7 +281,7 @@ public final class ClientState { public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels prototype) { + public static Builder newBuilder(com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @@ -301,20 +301,20 @@ public final class ClientState { */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannelsOrBuilder { + implements com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannelsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.bitcoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannels_descriptor; + return com.dogecoin.dogecoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannels_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.bitcoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannels_fieldAccessorTable + return com.dogecoin.dogecoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannels_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels.class, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels.Builder.class); + com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels.class, com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels.Builder.class); } - // Construct using org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels.newBuilder() + // Construct using com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -350,23 +350,23 @@ public final class ClientState { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.bitcoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannels_descriptor; + return com.dogecoin.dogecoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannels_descriptor; } - public org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels getDefaultInstanceForType() { - return org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels.getDefaultInstance(); + public com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels getDefaultInstanceForType() { + return com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels.getDefaultInstance(); } - public org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels build() { - org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels result = buildPartial(); + public com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels build() { + com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels buildPartial() { - org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels result = new org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels(this); + public com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels buildPartial() { + com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels result = new com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels(this); int from_bitField0_ = bitField0_; if (channelsBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -382,16 +382,16 @@ public final class ClientState { } public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels) { - return mergeFrom((org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels)other); + if (other instanceof com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels) { + return mergeFrom((com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels other) { - if (other == org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels.getDefaultInstance()) return this; + public Builder mergeFrom(com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels other) { + if (other == com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels.getDefaultInstance()) return this; if (channelsBuilder_ == null) { if (!other.channels_.isEmpty()) { if (channels_.isEmpty()) { @@ -436,11 +436,11 @@ public final class ClientState { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels parsedMessage = null; + com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannels) e.getUnfinishedMessage(); + parsedMessage = (com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannels) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { @@ -452,22 +452,22 @@ public final class ClientState { private int bitField0_; // repeated .paymentchannels.StoredClientPaymentChannel channels = 1; - private java.util.List channels_ = + private java.util.List channels_ = java.util.Collections.emptyList(); private void ensureChannelsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { - channels_ = new java.util.ArrayList(channels_); + channels_ = new java.util.ArrayList(channels_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< - org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannelOrBuilder> channelsBuilder_; + com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel, com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder, com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannelOrBuilder> channelsBuilder_; /** * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ - public java.util.List getChannelsList() { + public java.util.List getChannelsList() { if (channelsBuilder_ == null) { return java.util.Collections.unmodifiableList(channels_); } else { @@ -487,7 +487,7 @@ public final class ClientState { /** * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ - public org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel getChannels(int index) { + public com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel getChannels(int index) { if (channelsBuilder_ == null) { return channels_.get(index); } else { @@ -498,7 +498,7 @@ public final class ClientState { * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ public Builder setChannels( - int index, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel value) { + int index, com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -515,7 +515,7 @@ public final class ClientState { * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ public Builder setChannels( - int index, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder builderForValue) { + int index, com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder builderForValue) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); channels_.set(index, builderForValue.build()); @@ -528,7 +528,7 @@ public final class ClientState { /** * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ - public Builder addChannels(org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel value) { + public Builder addChannels(com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -545,7 +545,7 @@ public final class ClientState { * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ public Builder addChannels( - int index, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel value) { + int index, com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -562,7 +562,7 @@ public final class ClientState { * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ public Builder addChannels( - org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder builderForValue) { + com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder builderForValue) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); channels_.add(builderForValue.build()); @@ -576,7 +576,7 @@ public final class ClientState { * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ public Builder addChannels( - int index, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder builderForValue) { + int index, com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder builderForValue) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); channels_.add(index, builderForValue.build()); @@ -590,7 +590,7 @@ public final class ClientState { * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ public Builder addAllChannels( - java.lang.Iterable values) { + java.lang.Iterable values) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); super.addAll(values, channels_); @@ -629,14 +629,14 @@ public final class ClientState { /** * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ - public org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder getChannelsBuilder( + public com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder getChannelsBuilder( int index) { return getChannelsFieldBuilder().getBuilder(index); } /** * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ - public org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannelOrBuilder getChannelsOrBuilder( + public com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannelOrBuilder getChannelsOrBuilder( int index) { if (channelsBuilder_ == null) { return channels_.get(index); } else { @@ -646,7 +646,7 @@ public final class ClientState { /** * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ - public java.util.List + public java.util.List getChannelsOrBuilderList() { if (channelsBuilder_ != null) { return channelsBuilder_.getMessageOrBuilderList(); @@ -657,31 +657,31 @@ public final class ClientState { /** * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ - public org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder addChannelsBuilder() { + public com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder addChannelsBuilder() { return getChannelsFieldBuilder().addBuilder( - org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.getDefaultInstance()); + com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel.getDefaultInstance()); } /** * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ - public org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder addChannelsBuilder( + public com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder addChannelsBuilder( int index) { return getChannelsFieldBuilder().addBuilder( - index, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.getDefaultInstance()); + index, com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel.getDefaultInstance()); } /** * repeated .paymentchannels.StoredClientPaymentChannel channels = 1; */ - public java.util.List + public java.util.List getChannelsBuilderList() { return getChannelsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< - org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannelOrBuilder> + com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel, com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder, com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannelOrBuilder> getChannelsFieldBuilder() { if (channelsBuilder_ == null) { channelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannelOrBuilder>( + com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel, com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder, com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannelOrBuilder>( channels_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), @@ -892,14 +892,14 @@ public final class ClientState { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.bitcoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannel_descriptor; + return com.dogecoin.dogecoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannel_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.bitcoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannel_fieldAccessorTable + return com.dogecoin.dogecoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannel_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.class, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder.class); + com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel.class, com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder.class); } public static com.google.protobuf.Parser PARSER = @@ -1157,53 +1157,53 @@ public final class ClientState { return super.writeReplace(); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseFrom(byte[] data) + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseFrom(java.io.InputStream input) + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseDelimitedFrom(java.io.InputStream input) + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseDelimitedFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -1212,7 +1212,7 @@ public final class ClientState { public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel prototype) { + public static Builder newBuilder(com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @@ -1233,20 +1233,20 @@ public final class ClientState { */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannelOrBuilder { + implements com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannelOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.bitcoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannel_descriptor; + return com.dogecoin.dogecoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannel_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.bitcoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannel_fieldAccessorTable + return com.dogecoin.dogecoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannel_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.class, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder.class); + com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel.class, com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder.class); } - // Construct using org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.newBuilder() + // Construct using com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -1289,23 +1289,23 @@ public final class ClientState { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.bitcoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannel_descriptor; + return com.dogecoin.dogecoinj.protocols.channels.ClientState.internal_static_paymentchannels_StoredClientPaymentChannel_descriptor; } - public org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel getDefaultInstanceForType() { - return org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.getDefaultInstance(); + public com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel getDefaultInstanceForType() { + return com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel.getDefaultInstance(); } - public org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel build() { - org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel result = buildPartial(); + public com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel build() { + com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel buildPartial() { - org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel result = new org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel(this); + public com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel buildPartial() { + com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel result = new com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -1342,16 +1342,16 @@ public final class ClientState { } public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel) { - return mergeFrom((org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel)other); + if (other instanceof com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel) { + return mergeFrom((com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel other) { - if (other == org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.getDefaultInstance()) return this; + public Builder mergeFrom(com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel other) { + if (other == com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } @@ -1409,11 +1409,11 @@ public final class ClientState { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel parsedMessage = null; + com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel) e.getUnfinishedMessage(); + parsedMessage = (com.dogecoin.dogecoinj.protocols.channels.ClientState.StoredClientPaymentChannel) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { diff --git a/core/src/main/java/org/bitcoinj/protocols/channels/IPaymentChannelClient.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/IPaymentChannelClient.java similarity index 82% rename from core/src/main/java/org/bitcoinj/protocols/channels/IPaymentChannelClient.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/IPaymentChannelClient.java index 328bd756..ae8f8273 100644 --- a/core/src/main/java/org/bitcoinj/protocols/channels/IPaymentChannelClient.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/IPaymentChannelClient.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package org.bitcoinj.protocols.channels; +package com.dogecoin.dogecoinj.protocols.channels; -import org.bitcoinj.core.Coin; -import org.bitcoinj.core.InsufficientMoneyException; +import com.dogecoin.dogecoinj.core.Coin; +import com.dogecoin.dogecoinj.core.InsufficientMoneyException; import com.google.common.util.concurrent.ListenableFuture; import com.google.protobuf.ByteString; @@ -44,7 +44,7 @@ public interface IPaymentChannelClient { * intending to reopen the channel later. There is likely little reason to use this in a stateless protocol.

* *

Note that this MUST still be called even after either - * {@link PaymentChannelClient.ClientConnection#destroyConnection(org.bitcoinj.protocols.channels.PaymentChannelCloseException.CloseReason)} or + * {@link PaymentChannelClient.ClientConnection#destroyConnection(com.dogecoin.dogecoinj.protocols.channels.PaymentChannelCloseException.CloseReason)} or * {@link IPaymentChannelClient#settle()} is called, to actually handle the connection close logic.

*/ void connectionClosed(); @@ -53,7 +53,7 @@ public interface IPaymentChannelClient { *

Settles the channel, notifying the server it can broadcast the most recent payment transaction.

* *

Note that this only generates a CLOSE message for the server and calls - * {@link PaymentChannelClient.ClientConnection#destroyConnection(org.bitcoinj.protocols.channels.PaymentChannelCloseException.CloseReason)} + * {@link PaymentChannelClient.ClientConnection#destroyConnection(com.dogecoin.dogecoinj.protocols.channels.PaymentChannelCloseException.CloseReason)} * to settle the connection, it does not actually handle connection close logic, and * {@link PaymentChannelClient#connectionClosed()} must still be called after the connection fully settles.

* @@ -97,25 +97,25 @@ public interface IPaymentChannelClient { * however the order of messages must be preserved.

* *

If the send fails, no exception should be thrown, however - * {@link org.bitcoinj.protocols.channels.PaymentChannelClient#connectionClosed()} should be called immediately. In the case of messages which + * {@link com.dogecoin.dogecoinj.protocols.channels.PaymentChannelClient#connectionClosed()} should be called immediately. In the case of messages which * are a part of initialization, initialization will simply fail and the refund transaction will be broadcasted * when it unlocks (if necessary). In the case of a payment message, the payment will be lost however if the * channel is resumed it will begin again from the channel value after the failed payment.

* - *

Called while holding a lock on the {@link org.bitcoinj.protocols.channels.PaymentChannelClient} object - be careful about reentrancy

+ *

Called while holding a lock on the {@link com.dogecoin.dogecoinj.protocols.channels.PaymentChannelClient} object - be careful about reentrancy

*/ void sendToServer(Protos.TwoWayChannelMessage msg); /** *

Requests that the connection to the server be closed. For stateless protocols, note that after this call, * no more messages should be received from the server and this object is no longer usable. A - * {@link org.bitcoinj.protocols.channels.PaymentChannelClient#connectionClosed()} event should be generated immediately after this call.

+ * {@link com.dogecoin.dogecoinj.protocols.channels.PaymentChannelClient#connectionClosed()} event should be generated immediately after this call.

* - *

Called while holding a lock on the {@link org.bitcoinj.protocols.channels.PaymentChannelClient} object - be careful about reentrancy

+ *

Called while holding a lock on the {@link com.dogecoin.dogecoinj.protocols.channels.PaymentChannelClient} object - be careful about reentrancy

* * @param reason The reason for the closure, see the individual values for more details. * It is usually safe to ignore this and treat any value below - * {@link org.bitcoinj.protocols.channels.PaymentChannelCloseException.CloseReason#CLIENT_REQUESTED_CLOSE} as "unrecoverable error" and all others as + * {@link com.dogecoin.dogecoinj.protocols.channels.PaymentChannelCloseException.CloseReason#CLIENT_REQUESTED_CLOSE} as "unrecoverable error" and all others as * "try again once and see if it works then" */ void destroyConnection(PaymentChannelCloseException.CloseReason reason); @@ -123,7 +123,7 @@ public interface IPaymentChannelClient { /** *

Queries if the expire time proposed by server is acceptable. If false is return the channel - * will be closed with a {@link org.bitcoinj.protocols.channels.PaymentChannelCloseException.CloseReason#TIME_WINDOW_UNACCEPTABLE}.

+ * will be closed with a {@link com.dogecoin.dogecoinj.protocols.channels.PaymentChannelCloseException.CloseReason#TIME_WINDOW_UNACCEPTABLE}.

* @param expireTime The time, in seconds, when this channel will be closed by the server. Note this is in absolute time, i.e. seconds since 1970-01-01T00:00:00. * @return true if the proposed time is acceptable false otherwise. */ @@ -131,10 +131,10 @@ public interface IPaymentChannelClient { /** *

Indicates the channel has been successfully opened and - * {@link org.bitcoinj.protocols.channels.PaymentChannelClient#incrementPayment(Coin)} + * {@link com.dogecoin.dogecoinj.protocols.channels.PaymentChannelClient#incrementPayment(Coin)} * may be called at will.

* - *

Called while holding a lock on the {@link org.bitcoinj.protocols.channels.PaymentChannelClient} + *

Called while holding a lock on the {@link com.dogecoin.dogecoinj.protocols.channels.PaymentChannelClient} * object - be careful about reentrancy

* * @param wasInitiated If true, the channel is newly opened. If false, it was resumed. diff --git a/core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelClient.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelClient.java similarity index 98% rename from core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelClient.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelClient.java index f811ebcd..8be30061 100644 --- a/core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelClient.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelClient.java @@ -14,11 +14,11 @@ * limitations under the License. */ -package org.bitcoinj.protocols.channels; +package com.dogecoin.dogecoinj.protocols.channels; -import org.bitcoinj.core.*; -import org.bitcoinj.protocols.channels.PaymentChannelCloseException.CloseReason; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.protocols.channels.PaymentChannelCloseException.CloseReason; +import com.dogecoin.dogecoinj.utils.Threading; import com.google.common.annotations.VisibleForTesting; import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.MoreExecutors; @@ -147,7 +147,7 @@ public class PaymentChannelClient implements IPaymentChannelClient { * attempt will be made to resume that channel. * @param timeWindow The time in seconds, relative to now, on how long this channel should be kept open. Note that is is * a proposal to the server. The server may in turn propose something different. - * See {@link org.bitcoinj.protocols.channels.IPaymentChannelClient.ClientConnection#acceptExpireTime(long)} + * See {@link com.dogecoin.dogecoinj.protocols.channels.IPaymentChannelClient.ClientConnection#acceptExpireTime(long)} * @param conn A callback listener which represents the connection to the server (forwards messages we generate to * the server) */ @@ -390,7 +390,7 @@ public class PaymentChannelClient implements IPaymentChannelClient { * intending to reopen the channel later. There is likely little reason to use this in a stateless protocol.

* *

Note that this MUST still be called even after either - * {@link ClientConnection#destroyConnection(org.bitcoinj.protocols.channels.PaymentChannelCloseException.CloseReason)} or + * {@link ClientConnection#destroyConnection(com.dogecoin.dogecoinj.protocols.channels.PaymentChannelCloseException.CloseReason)} or * {@link PaymentChannelClient#settle()} is called, to actually handle the connection close logic.

*/ @Override diff --git a/core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelClientConnection.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelClientConnection.java similarity index 95% rename from core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelClientConnection.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelClientConnection.java index 769ef93b..5c4190d8 100644 --- a/core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelClientConnection.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelClientConnection.java @@ -14,16 +14,16 @@ * limitations under the License. */ -package org.bitcoinj.protocols.channels; +package com.dogecoin.dogecoinj.protocols.channels; -import org.bitcoinj.core.Coin; -import org.bitcoinj.core.ECKey; -import org.bitcoinj.core.InsufficientMoneyException; -import org.bitcoinj.core.Sha256Hash; -import org.bitcoinj.core.Utils; -import org.bitcoinj.core.Wallet; -import org.bitcoinj.net.NioClient; -import org.bitcoinj.net.ProtobufParser; +import com.dogecoin.dogecoinj.core.Coin; +import com.dogecoin.dogecoinj.core.ECKey; +import com.dogecoin.dogecoinj.core.InsufficientMoneyException; +import com.dogecoin.dogecoinj.core.Sha256Hash; +import com.dogecoin.dogecoinj.core.Utils; +import com.dogecoin.dogecoinj.core.Wallet; +import com.dogecoin.dogecoinj.net.NioClient; +import com.dogecoin.dogecoinj.net.ProtobufParser; import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.SettableFuture; @@ -45,7 +45,7 @@ public class PaymentChannelClientConnection { /** * Attempts to open a new connection to and open a payment channel with the given host and port, blocking until the - * connection is open. The server is requested to keep the channel open for {@link org.bitcoinj.protocols.channels.PaymentChannelClient#DEFAULT_TIME_WINDOW} + * connection is open. The server is requested to keep the channel open for {@link com.dogecoin.dogecoinj.protocols.channels.PaymentChannelClient#DEFAULT_TIME_WINDOW} * seconds. If the server proposes a longer time the channel will be closed. * * @param server The host/port pair where the server is listening. diff --git a/core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelClientState.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelClientState.java similarity index 98% rename from core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelClientState.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelClientState.java index 9f1d7215..4cd637ec 100644 --- a/core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelClientState.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelClientState.java @@ -14,14 +14,14 @@ * limitations under the License. */ -package org.bitcoinj.protocols.channels; +package com.dogecoin.dogecoinj.protocols.channels; -import org.bitcoinj.core.*; -import org.bitcoinj.crypto.TransactionSignature; -import org.bitcoinj.script.Script; -import org.bitcoinj.script.ScriptBuilder; -import org.bitcoinj.utils.Threading; -import org.bitcoinj.wallet.AllowUnconfirmedCoinSelector; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.crypto.TransactionSignature; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.script.ScriptBuilder; +import com.dogecoin.dogecoinj.utils.Threading; +import com.dogecoin.dogecoinj.wallet.AllowUnconfirmedCoinSelector; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Throwables; import com.google.common.collect.Lists; @@ -229,7 +229,7 @@ public class PaymentChannelClientState { * Creates the initial multisig contract and incomplete refund transaction which can be requested at the appropriate * time using {@link PaymentChannelClientState#getIncompleteRefundTransaction} and * {@link PaymentChannelClientState#getMultisigContract()}. The way the contract is crafted can be adjusted by - * overriding {@link PaymentChannelClientState#editContractSendRequest(org.bitcoinj.core.Wallet.SendRequest)}. + * overriding {@link PaymentChannelClientState#editContractSendRequest(com.dogecoin.dogecoinj.core.Wallet.SendRequest)}. * By default unconfirmed coins are allowed to be used, as for micropayments the risk should be relatively low. * * @throws ValueOutOfRangeException if the value being used is too small to be accepted by the network diff --git a/core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelCloseException.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelCloseException.java similarity index 91% rename from core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelCloseException.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelCloseException.java index f0d4fbee..0ebf6118 100644 --- a/core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelCloseException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelCloseException.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.protocols.channels; +package com.dogecoin.dogecoinj.protocols.channels; /** * Used to indicate that a channel was closed before it was expected to be closed. @@ -34,7 +34,7 @@ public class PaymentChannelCloseException extends Exception { // Values after here indicate its probably possible to try reopening channel again /** - *

The {@link org.bitcoinj.protocols.channels.PaymentChannelClient#settle()} method was called or the + *

The {@link com.dogecoin.dogecoinj.protocols.channels.PaymentChannelClient#settle()} method was called or the * client sent a CLOSE message.

*

As long as the server received the CLOSE message, this means that the channel is settling and the payment * transaction (if any) will be broadcast. If the client attempts to open a new connection, a new channel will @@ -43,7 +43,7 @@ public class PaymentChannelCloseException extends Exception { CLIENT_REQUESTED_CLOSE, /** - *

The {@link org.bitcoinj.protocols.channels.PaymentChannelServer#close()} method was called or server + *

The {@link com.dogecoin.dogecoinj.protocols.channels.PaymentChannelServer#close()} method was called or server * sent a CLOSE message.

* *

This may occur if the server opts to close the connection for some reason, or automatically if the channel diff --git a/core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelServer.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelServer.java similarity index 99% rename from core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelServer.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelServer.java index bbb1244e..284e9175 100644 --- a/core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelServer.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelServer.java @@ -14,11 +14,11 @@ * limitations under the License. */ -package org.bitcoinj.protocols.channels; +package com.dogecoin.dogecoinj.protocols.channels; -import org.bitcoinj.core.*; -import org.bitcoinj.protocols.channels.PaymentChannelCloseException.CloseReason; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.protocols.channels.PaymentChannelCloseException.CloseReason; +import com.dogecoin.dogecoinj.utils.Threading; import com.google.common.util.concurrent.FutureCallback; import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.ListenableFuture; diff --git a/core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelServerListener.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelServerListener.java similarity index 95% rename from core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelServerListener.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelServerListener.java index 286d7014..5c7f42f8 100644 --- a/core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelServerListener.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelServerListener.java @@ -15,15 +15,15 @@ * limitations under the License. */ -package org.bitcoinj.protocols.channels; +package com.dogecoin.dogecoinj.protocols.channels; -import org.bitcoinj.core.Coin; -import org.bitcoinj.core.Sha256Hash; -import org.bitcoinj.core.TransactionBroadcaster; -import org.bitcoinj.core.Wallet; -import org.bitcoinj.net.NioServer; -import org.bitcoinj.net.ProtobufParser; -import org.bitcoinj.net.StreamParserFactory; +import com.dogecoin.dogecoinj.core.Coin; +import com.dogecoin.dogecoinj.core.Sha256Hash; +import com.dogecoin.dogecoinj.core.TransactionBroadcaster; +import com.dogecoin.dogecoinj.core.Wallet; +import com.dogecoin.dogecoinj.net.NioServer; +import com.dogecoin.dogecoinj.net.ProtobufParser; +import com.dogecoin.dogecoinj.net.StreamParserFactory; import com.google.common.util.concurrent.ListenableFuture; import com.google.protobuf.ByteString; diff --git a/core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelServerState.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelServerState.java similarity index 99% rename from core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelServerState.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelServerState.java index 86a23459..d2f202c7 100644 --- a/core/src/main/java/org/bitcoinj/protocols/channels/PaymentChannelServerState.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentChannelServerState.java @@ -14,12 +14,12 @@ * limitations under the License. */ -package org.bitcoinj.protocols.channels; +package com.dogecoin.dogecoinj.protocols.channels; -import org.bitcoinj.core.*; -import org.bitcoinj.crypto.TransactionSignature; -import org.bitcoinj.script.Script; -import org.bitcoinj.script.ScriptBuilder; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.crypto.TransactionSignature; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.script.ScriptBuilder; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import com.google.common.util.concurrent.FutureCallback; diff --git a/core/src/main/java/org/bitcoinj/protocols/channels/PaymentIncrementAck.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentIncrementAck.java similarity index 84% rename from core/src/main/java/org/bitcoinj/protocols/channels/PaymentIncrementAck.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentIncrementAck.java index 02788326..3f8900c7 100644 --- a/core/src/main/java/org/bitcoinj/protocols/channels/PaymentIncrementAck.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/PaymentIncrementAck.java @@ -1,6 +1,6 @@ -package org.bitcoinj.protocols.channels; +package com.dogecoin.dogecoinj.protocols.channels; -import org.bitcoinj.core.Coin; +import com.dogecoin.dogecoinj.core.Coin; import com.google.protobuf.ByteString; import javax.annotation.Nullable; diff --git a/core/src/main/java/org/bitcoinj/protocols/channels/ServerConnectionEventHandler.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/ServerConnectionEventHandler.java similarity index 90% rename from core/src/main/java/org/bitcoinj/protocols/channels/ServerConnectionEventHandler.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/ServerConnectionEventHandler.java index 978c00b3..aa27543c 100644 --- a/core/src/main/java/org/bitcoinj/protocols/channels/ServerConnectionEventHandler.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/ServerConnectionEventHandler.java @@ -14,11 +14,11 @@ * limitations under the License. */ -package org.bitcoinj.protocols.channels; +package com.dogecoin.dogecoinj.protocols.channels; -import org.bitcoinj.core.Coin; -import org.bitcoinj.core.Sha256Hash; -import org.bitcoinj.net.ProtobufParser; +import com.dogecoin.dogecoinj.core.Coin; +import com.dogecoin.dogecoinj.core.Sha256Hash; +import com.dogecoin.dogecoinj.net.ProtobufParser; import com.google.common.util.concurrent.ListenableFuture; import com.google.protobuf.ByteString; @@ -43,8 +43,8 @@ public abstract class ServerConnectionEventHandler { *

Note that this does NOT actually broadcast the most recent payment transaction, which will be triggered * automatically when the channel times out by the {@link StoredPaymentChannelServerStates}, or manually by calling * {@link StoredPaymentChannelServerStates#closeChannel(StoredServerChannel)} with the channel returned by - * {@link StoredPaymentChannelServerStates#getChannel(org.bitcoinj.core.Sha256Hash)} with the id provided in - * {@link ServerConnectionEventHandler#channelOpen(org.bitcoinj.core.Sha256Hash)}

+ * {@link StoredPaymentChannelServerStates#getChannel(com.dogecoin.dogecoinj.core.Sha256Hash)} with the id provided in + * {@link ServerConnectionEventHandler#channelOpen(com.dogecoin.dogecoinj.core.Sha256Hash)}

*/ @SuppressWarnings("unchecked") // The warning 'unchecked call to write(MessageType)' being suppressed here comes from the build() diff --git a/core/src/main/java/org/bitcoinj/protocols/channels/ServerState.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/ServerState.java similarity index 79% rename from core/src/main/java/org/bitcoinj/protocols/channels/ServerState.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/ServerState.java index eb16a9a1..adcf8c54 100644 --- a/core/src/main/java/org/bitcoinj/protocols/channels/ServerState.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/ServerState.java @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: storedserverpaymentchannel.proto -package org.bitcoinj.protocols.channels; +package com.dogecoin.dogecoinj.protocols.channels; public final class ServerState { private ServerState() {} @@ -15,12 +15,12 @@ public final class ServerState { /** * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ - java.util.List + java.util.List getChannelsList(); /** * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ - org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel getChannels(int index); + com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel getChannels(int index); /** * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ @@ -28,12 +28,12 @@ public final class ServerState { /** * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ - java.util.List + java.util.List getChannelsOrBuilderList(); /** * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ - org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannelOrBuilder getChannelsOrBuilder( + com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannelOrBuilder getChannelsOrBuilder( int index); } /** @@ -93,10 +93,10 @@ public final class ServerState { } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - channels_ = new java.util.ArrayList(); + channels_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } - channels_.add(input.readMessage(org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel.PARSER, extensionRegistry)); + channels_.add(input.readMessage(com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel.PARSER, extensionRegistry)); break; } } @@ -116,14 +116,14 @@ public final class ServerState { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.bitcoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannels_descriptor; + return com.dogecoin.dogecoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannels_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.bitcoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannels_fieldAccessorTable + return com.dogecoin.dogecoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannels_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels.class, org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels.Builder.class); + com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels.class, com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels.Builder.class); } public static com.google.protobuf.Parser PARSER = @@ -143,17 +143,17 @@ public final class ServerState { // repeated .paymentchannels.StoredServerPaymentChannel channels = 1; public static final int CHANNELS_FIELD_NUMBER = 1; - private java.util.List channels_; + private java.util.List channels_; /** * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ - public java.util.List getChannelsList() { + public java.util.List getChannelsList() { return channels_; } /** * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ - public java.util.List + public java.util.List getChannelsOrBuilderList() { return channels_; } @@ -166,13 +166,13 @@ public final class ServerState { /** * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ - public org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel getChannels(int index) { + public com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel getChannels(int index) { return channels_.get(index); } /** * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ - public org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannelOrBuilder getChannelsOrBuilder( + public com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannelOrBuilder getChannelsOrBuilder( int index) { return channels_.get(index); } @@ -226,53 +226,53 @@ public final class ServerState { return super.writeReplace(); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseFrom(byte[] data) + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseFrom(java.io.InputStream input) + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseDelimitedFrom(java.io.InputStream input) + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseDelimitedFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -281,7 +281,7 @@ public final class ServerState { public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels prototype) { + public static Builder newBuilder(com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @@ -301,20 +301,20 @@ public final class ServerState { */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannelsOrBuilder { + implements com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannelsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.bitcoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannels_descriptor; + return com.dogecoin.dogecoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannels_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.bitcoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannels_fieldAccessorTable + return com.dogecoin.dogecoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannels_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels.class, org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels.Builder.class); + com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels.class, com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels.Builder.class); } - // Construct using org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels.newBuilder() + // Construct using com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -350,23 +350,23 @@ public final class ServerState { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.bitcoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannels_descriptor; + return com.dogecoin.dogecoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannels_descriptor; } - public org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels getDefaultInstanceForType() { - return org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels.getDefaultInstance(); + public com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels getDefaultInstanceForType() { + return com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels.getDefaultInstance(); } - public org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels build() { - org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels result = buildPartial(); + public com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels build() { + com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels buildPartial() { - org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels result = new org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels(this); + public com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels buildPartial() { + com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels result = new com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels(this); int from_bitField0_ = bitField0_; if (channelsBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -382,16 +382,16 @@ public final class ServerState { } public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels) { - return mergeFrom((org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels)other); + if (other instanceof com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels) { + return mergeFrom((com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels other) { - if (other == org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels.getDefaultInstance()) return this; + public Builder mergeFrom(com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels other) { + if (other == com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels.getDefaultInstance()) return this; if (channelsBuilder_ == null) { if (!other.channels_.isEmpty()) { if (channels_.isEmpty()) { @@ -436,11 +436,11 @@ public final class ServerState { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels parsedMessage = null; + com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannels) e.getUnfinishedMessage(); + parsedMessage = (com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannels) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { @@ -452,22 +452,22 @@ public final class ServerState { private int bitField0_; // repeated .paymentchannels.StoredServerPaymentChannel channels = 1; - private java.util.List channels_ = + private java.util.List channels_ = java.util.Collections.emptyList(); private void ensureChannelsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { - channels_ = new java.util.ArrayList(channels_); + channels_ = new java.util.ArrayList(channels_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< - org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel, org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder, org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannelOrBuilder> channelsBuilder_; + com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel, com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder, com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannelOrBuilder> channelsBuilder_; /** * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ - public java.util.List getChannelsList() { + public java.util.List getChannelsList() { if (channelsBuilder_ == null) { return java.util.Collections.unmodifiableList(channels_); } else { @@ -487,7 +487,7 @@ public final class ServerState { /** * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ - public org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel getChannels(int index) { + public com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel getChannels(int index) { if (channelsBuilder_ == null) { return channels_.get(index); } else { @@ -498,7 +498,7 @@ public final class ServerState { * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ public Builder setChannels( - int index, org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel value) { + int index, com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -515,7 +515,7 @@ public final class ServerState { * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ public Builder setChannels( - int index, org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder builderForValue) { + int index, com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder builderForValue) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); channels_.set(index, builderForValue.build()); @@ -528,7 +528,7 @@ public final class ServerState { /** * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ - public Builder addChannels(org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel value) { + public Builder addChannels(com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -545,7 +545,7 @@ public final class ServerState { * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ public Builder addChannels( - int index, org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel value) { + int index, com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -562,7 +562,7 @@ public final class ServerState { * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ public Builder addChannels( - org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder builderForValue) { + com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder builderForValue) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); channels_.add(builderForValue.build()); @@ -576,7 +576,7 @@ public final class ServerState { * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ public Builder addChannels( - int index, org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder builderForValue) { + int index, com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder builderForValue) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); channels_.add(index, builderForValue.build()); @@ -590,7 +590,7 @@ public final class ServerState { * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ public Builder addAllChannels( - java.lang.Iterable values) { + java.lang.Iterable values) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); super.addAll(values, channels_); @@ -629,14 +629,14 @@ public final class ServerState { /** * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ - public org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder getChannelsBuilder( + public com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder getChannelsBuilder( int index) { return getChannelsFieldBuilder().getBuilder(index); } /** * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ - public org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannelOrBuilder getChannelsOrBuilder( + public com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannelOrBuilder getChannelsOrBuilder( int index) { if (channelsBuilder_ == null) { return channels_.get(index); } else { @@ -646,7 +646,7 @@ public final class ServerState { /** * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ - public java.util.List + public java.util.List getChannelsOrBuilderList() { if (channelsBuilder_ != null) { return channelsBuilder_.getMessageOrBuilderList(); @@ -657,31 +657,31 @@ public final class ServerState { /** * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ - public org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder addChannelsBuilder() { + public com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder addChannelsBuilder() { return getChannelsFieldBuilder().addBuilder( - org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel.getDefaultInstance()); + com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel.getDefaultInstance()); } /** * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ - public org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder addChannelsBuilder( + public com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder addChannelsBuilder( int index) { return getChannelsFieldBuilder().addBuilder( - index, org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel.getDefaultInstance()); + index, com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel.getDefaultInstance()); } /** * repeated .paymentchannels.StoredServerPaymentChannel channels = 1; */ - public java.util.List + public java.util.List getChannelsBuilderList() { return getChannelsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< - org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel, org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder, org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannelOrBuilder> + com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel, com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder, com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannelOrBuilder> getChannelsFieldBuilder() { if (channelsBuilder_ == null) { channelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel, org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder, org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannelOrBuilder>( + com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel, com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder, com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannelOrBuilder>( channels_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), @@ -864,14 +864,14 @@ public final class ServerState { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.bitcoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannel_descriptor; + return com.dogecoin.dogecoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannel_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.bitcoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannel_fieldAccessorTable + return com.dogecoin.dogecoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannel_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel.class, org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder.class); + com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel.class, com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder.class); } public static com.google.protobuf.Parser PARSER = @@ -1089,53 +1089,53 @@ public final class ServerState { return super.writeReplace(); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseFrom(byte[] data) + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseFrom(java.io.InputStream input) + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseDelimitedFrom(java.io.InputStream input) + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseDelimitedFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseFrom( + public static com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -1144,7 +1144,7 @@ public final class ServerState { public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel prototype) { + public static Builder newBuilder(com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @@ -1164,20 +1164,20 @@ public final class ServerState { */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannelOrBuilder { + implements com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannelOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.bitcoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannel_descriptor; + return com.dogecoin.dogecoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannel_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.bitcoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannel_fieldAccessorTable + return com.dogecoin.dogecoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannel_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel.class, org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder.class); + com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel.class, com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel.Builder.class); } - // Construct using org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel.newBuilder() + // Construct using com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -1218,23 +1218,23 @@ public final class ServerState { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.bitcoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannel_descriptor; + return com.dogecoin.dogecoinj.protocols.channels.ServerState.internal_static_paymentchannels_StoredServerPaymentChannel_descriptor; } - public org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel getDefaultInstanceForType() { - return org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel.getDefaultInstance(); + public com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel getDefaultInstanceForType() { + return com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel.getDefaultInstance(); } - public org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel build() { - org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel result = buildPartial(); + public com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel build() { + com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel buildPartial() { - org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel result = new org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel(this); + public com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel buildPartial() { + com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel result = new com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -1267,16 +1267,16 @@ public final class ServerState { } public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel) { - return mergeFrom((org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel)other); + if (other instanceof com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel) { + return mergeFrom((com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel other) { - if (other == org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel.getDefaultInstance()) return this; + public Builder mergeFrom(com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel other) { + if (other == com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel.getDefaultInstance()) return this; if (other.hasBestValueToMe()) { setBestValueToMe(other.getBestValueToMe()); } @@ -1327,11 +1327,11 @@ public final class ServerState { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel parsedMessage = null; + com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel) e.getUnfinishedMessage(); + parsedMessage = (com.dogecoin.dogecoinj.protocols.channels.ServerState.StoredServerPaymentChannel) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { diff --git a/core/src/main/java/org/bitcoinj/protocols/channels/Simple channels protocol.txt b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/Simple channels protocol.txt similarity index 100% rename from core/src/main/java/org/bitcoinj/protocols/channels/Simple channels protocol.txt rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/Simple channels protocol.txt diff --git a/core/src/main/java/org/bitcoinj/protocols/channels/StoredPaymentChannelClientStates.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/StoredPaymentChannelClientStates.java similarity index 99% rename from core/src/main/java/org/bitcoinj/protocols/channels/StoredPaymentChannelClientStates.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/StoredPaymentChannelClientStates.java index 01d352c5..7bbb3b1a 100644 --- a/core/src/main/java/org/bitcoinj/protocols/channels/StoredPaymentChannelClientStates.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/StoredPaymentChannelClientStates.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package org.bitcoinj.protocols.channels; +package com.dogecoin.dogecoinj.protocols.channels; -import org.bitcoinj.core.*; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.utils.Threading; import com.google.common.annotations.VisibleForTesting; import com.google.common.collect.HashMultimap; import com.google.common.util.concurrent.SettableFuture; diff --git a/core/src/main/java/org/bitcoinj/protocols/channels/StoredPaymentChannelServerStates.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/StoredPaymentChannelServerStates.java similarity index 98% rename from core/src/main/java/org/bitcoinj/protocols/channels/StoredPaymentChannelServerStates.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/StoredPaymentChannelServerStates.java index d83727e0..c3648421 100644 --- a/core/src/main/java/org/bitcoinj/protocols/channels/StoredPaymentChannelServerStates.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/StoredPaymentChannelServerStates.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package org.bitcoinj.protocols.channels; +package com.dogecoin.dogecoinj.protocols.channels; -import org.bitcoinj.core.*; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.utils.Threading; import com.google.common.annotations.VisibleForTesting; import com.google.common.util.concurrent.SettableFuture; import com.google.protobuf.ByteString; diff --git a/core/src/main/java/org/bitcoinj/protocols/channels/StoredServerChannel.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/StoredServerChannel.java similarity index 95% rename from core/src/main/java/org/bitcoinj/protocols/channels/StoredServerChannel.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/StoredServerChannel.java index 1de4bcfb..a896a5a8 100644 --- a/core/src/main/java/org/bitcoinj/protocols/channels/StoredServerChannel.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/StoredServerChannel.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package org.bitcoinj.protocols.channels; +package com.dogecoin.dogecoinj.protocols.channels; -import org.bitcoinj.core.*; +import com.dogecoin.dogecoinj.core.*; import javax.annotation.Nullable; import java.util.Date; @@ -78,7 +78,7 @@ public class StoredServerChannel { } /** - * If a handler is connected, call its {@link org.bitcoinj.protocols.channels.PaymentChannelServer#close()} + * If a handler is connected, call its {@link com.dogecoin.dogecoinj.protocols.channels.PaymentChannelServer#close()} * method thus disconnecting the TCP connection. */ synchronized void closeConnectedHandler() { diff --git a/core/src/main/java/org/bitcoinj/protocols/channels/ValueOutOfRangeException.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/ValueOutOfRangeException.java similarity index 94% rename from core/src/main/java/org/bitcoinj/protocols/channels/ValueOutOfRangeException.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/ValueOutOfRangeException.java index 0d747afb..ca2f2e89 100644 --- a/core/src/main/java/org/bitcoinj/protocols/channels/ValueOutOfRangeException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/ValueOutOfRangeException.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.protocols.channels; +package com.dogecoin.dogecoinj.protocols.channels; /** * Used when a given value is either too large too afford or too small for the network to accept. diff --git a/core/src/main/java/org/bitcoinj/protocols/channels/package-info.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/package-info.java similarity index 78% rename from core/src/main/java/org/bitcoinj/protocols/channels/package-info.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/package-info.java index df339ad0..6bfb2837 100644 --- a/core/src/main/java/org/bitcoinj/protocols/channels/package-info.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/channels/package-info.java @@ -2,4 +2,4 @@ * Micropayment channels allow for rapid tiny payments to be made to a third party once a channel has been set up, using * some of the advanced features of the Bitcoin protocol. */ -package org.bitcoinj.protocols.channels; \ No newline at end of file +package com.dogecoin.dogecoinj.protocols.channels; \ No newline at end of file diff --git a/core/src/main/java/org/bitcoinj/protocols/package-info.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/package-info.java similarity index 83% rename from core/src/main/java/org/bitcoinj/protocols/package-info.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/package-info.java index 19577a05..29ca9888 100644 --- a/core/src/main/java/org/bitcoinj/protocols/package-info.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/package-info.java @@ -2,4 +2,4 @@ * High level protocols that build on top of Bitcoin go here: we have the payment protocol for sending transactions * from sender to receiver with metadata, and a micropayment channels implementation. */ -package org.bitcoinj.protocols; \ No newline at end of file +package com.dogecoin.dogecoinj.protocols; \ No newline at end of file diff --git a/core/src/main/java/org/bitcoinj/protocols/payments/PaymentProtocol.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/payments/PaymentProtocol.java similarity index 99% rename from core/src/main/java/org/bitcoinj/protocols/payments/PaymentProtocol.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/payments/PaymentProtocol.java index ed753b37..c7e89556 100644 --- a/core/src/main/java/org/bitcoinj/protocols/payments/PaymentProtocol.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/payments/PaymentProtocol.java @@ -15,11 +15,11 @@ * limitations under the License. */ -package org.bitcoinj.protocols.payments; +package com.dogecoin.dogecoinj.protocols.payments; -import org.bitcoinj.core.*; -import org.bitcoinj.crypto.X509Utils; -import org.bitcoinj.script.ScriptBuilder; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.crypto.X509Utils; +import com.dogecoin.dogecoinj.script.ScriptBuilder; import com.google.common.base.Objects; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; diff --git a/core/src/main/java/org/bitcoinj/protocols/payments/PaymentProtocolException.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/payments/PaymentProtocolException.java similarity index 98% rename from core/src/main/java/org/bitcoinj/protocols/payments/PaymentProtocolException.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/payments/PaymentProtocolException.java index 01a2a025..9ed8d7de 100644 --- a/core/src/main/java/org/bitcoinj/protocols/payments/PaymentProtocolException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/payments/PaymentProtocolException.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.protocols.payments; +package com.dogecoin.dogecoinj.protocols.payments; import java.security.cert.X509Certificate; import java.util.List; diff --git a/core/src/main/java/org/bitcoinj/protocols/payments/PaymentSession.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/payments/PaymentSession.java similarity index 98% rename from core/src/main/java/org/bitcoinj/protocols/payments/PaymentSession.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/payments/PaymentSession.java index bb84d15d..55d60aa7 100644 --- a/core/src/main/java/org/bitcoinj/protocols/payments/PaymentSession.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/payments/PaymentSession.java @@ -12,14 +12,14 @@ * limitations under the License. */ -package org.bitcoinj.protocols.payments; +package com.dogecoin.dogecoinj.protocols.payments; -import org.bitcoinj.core.*; -import org.bitcoinj.crypto.TrustStoreLoader; -import org.bitcoinj.params.MainNetParams; -import org.bitcoinj.protocols.payments.PaymentProtocol.PkiVerificationData; -import org.bitcoinj.uri.BitcoinURI; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.crypto.TrustStoreLoader; +import com.dogecoin.dogecoinj.params.MainNetParams; +import com.dogecoin.dogecoinj.protocols.payments.PaymentProtocol.PkiVerificationData; +import com.dogecoin.dogecoinj.uri.BitcoinURI; +import com.dogecoin.dogecoinj.utils.Threading; import com.google.common.annotations.VisibleForTesting; import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.ListeningExecutorService; diff --git a/core/src/main/java/org/bitcoinj/protocols/payments/package-info.java b/core/src/main/java/com/dogecoin/dogecoinj/protocols/payments/package-info.java similarity index 75% rename from core/src/main/java/org/bitcoinj/protocols/payments/package-info.java rename to core/src/main/java/com/dogecoin/dogecoinj/protocols/payments/package-info.java index 2c3f9ba0..fb419735 100644 --- a/core/src/main/java/org/bitcoinj/protocols/payments/package-info.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/protocols/payments/package-info.java @@ -2,4 +2,4 @@ * The BIP70 payment protocol wraps Bitcoin transactions and adds various useful features like memos, refund addresses * and authentication. */ -package org.bitcoinj.protocols.payments; \ No newline at end of file +package com.dogecoin.dogecoinj.protocols.payments; \ No newline at end of file diff --git a/core/src/main/java/org/bitcoinj/script/Script.java b/core/src/main/java/com/dogecoin/dogecoinj/script/Script.java similarity index 99% rename from core/src/main/java/org/bitcoinj/script/Script.java rename to core/src/main/java/com/dogecoin/dogecoinj/script/Script.java index c398430b..fb3d7ee4 100644 --- a/core/src/main/java/org/bitcoinj/script/Script.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/script/Script.java @@ -16,10 +16,10 @@ * limitations under the License. */ -package org.bitcoinj.script; +package com.dogecoin.dogecoinj.script; -import org.bitcoinj.core.*; -import org.bitcoinj.crypto.TransactionSignature; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.crypto.TransactionSignature; import com.google.common.collect.Lists; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -35,7 +35,7 @@ import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.*; -import static org.bitcoinj.script.ScriptOpCodes.*; +import static com.dogecoin.dogecoinj.script.ScriptOpCodes.*; import static com.google.common.base.Preconditions.*; /** @@ -727,8 +727,8 @@ public class Script { /** * Exposes the script interpreter. Normally you should not use this directly, instead use - * {@link org.bitcoinj.core.TransactionInput#verify(org.bitcoinj.core.TransactionOutput)} or - * {@link org.bitcoinj.script.Script#correctlySpends(org.bitcoinj.core.Transaction, long, Script)}. This method + * {@link com.dogecoin.dogecoinj.core.TransactionInput#verify(com.dogecoin.dogecoinj.core.TransactionOutput)} or + * {@link com.dogecoin.dogecoinj.script.Script#correctlySpends(com.dogecoin.dogecoinj.core.Transaction, long, Script)}. This method * is useful if you need more precise control or access to the final state of the stack. This interface is very * likely to change in future. */ diff --git a/core/src/main/java/org/bitcoinj/script/ScriptBuilder.java b/core/src/main/java/com/dogecoin/dogecoinj/script/ScriptBuilder.java similarity index 97% rename from core/src/main/java/org/bitcoinj/script/ScriptBuilder.java rename to core/src/main/java/com/dogecoin/dogecoinj/script/ScriptBuilder.java index 780c893a..f0f1c957 100644 --- a/core/src/main/java/org/bitcoinj/script/ScriptBuilder.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/script/ScriptBuilder.java @@ -14,13 +14,13 @@ * limitations under the License. */ -package org.bitcoinj.script; +package com.dogecoin.dogecoinj.script; import com.google.common.collect.Lists; -import org.bitcoinj.core.Address; -import org.bitcoinj.core.ECKey; -import org.bitcoinj.core.Utils; -import org.bitcoinj.crypto.TransactionSignature; +import com.dogecoin.dogecoinj.core.Address; +import com.dogecoin.dogecoinj.core.ECKey; +import com.dogecoin.dogecoinj.core.Utils; +import com.dogecoin.dogecoinj.crypto.TransactionSignature; import javax.annotation.Nullable; import java.util.ArrayList; @@ -30,11 +30,11 @@ import java.util.List; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkState; -import static org.bitcoinj.script.ScriptOpCodes.*; +import static com.dogecoin.dogecoinj.script.ScriptOpCodes.*; /** *

Tools for the construction of commonly used script types. You don't normally need this as it's hidden behind - * convenience methods on {@link org.bitcoinj.core.Transaction}, but they are useful when working with the + * convenience methods on {@link com.dogecoin.dogecoinj.core.Transaction}, but they are useful when working with the * protocol at a lower level.

*/ public class ScriptBuilder { diff --git a/core/src/main/java/org/bitcoinj/script/ScriptChunk.java b/core/src/main/java/com/dogecoin/dogecoinj/script/ScriptChunk.java similarity index 97% rename from core/src/main/java/org/bitcoinj/script/ScriptChunk.java rename to core/src/main/java/com/dogecoin/dogecoinj/script/ScriptChunk.java index 62f78c77..7d113938 100644 --- a/core/src/main/java/org/bitcoinj/script/ScriptChunk.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/script/ScriptChunk.java @@ -15,9 +15,9 @@ * limitations under the License. */ -package org.bitcoinj.script; +package com.dogecoin.dogecoinj.script; -import org.bitcoinj.core.Utils; +import com.dogecoin.dogecoinj.core.Utils; import javax.annotation.Nullable; import java.io.IOException; @@ -26,7 +26,7 @@ import java.util.Arrays; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; -import static org.bitcoinj.script.ScriptOpCodes.*; +import static com.dogecoin.dogecoinj.script.ScriptOpCodes.*; /** * An element that is either an opcode or a raw byte array (signature, pubkey, etc). diff --git a/core/src/main/java/org/bitcoinj/script/ScriptOpCodes.java b/core/src/main/java/com/dogecoin/dogecoinj/script/ScriptOpCodes.java similarity index 98% rename from core/src/main/java/org/bitcoinj/script/ScriptOpCodes.java rename to core/src/main/java/com/dogecoin/dogecoinj/script/ScriptOpCodes.java index f2f9ba65..a7d58199 100644 --- a/core/src/main/java/org/bitcoinj/script/ScriptOpCodes.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/script/ScriptOpCodes.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.script; +package com.dogecoin.dogecoinj.script; import com.google.common.collect.ImmutableMap; @@ -22,7 +22,7 @@ import java.util.Map; /** * Various constants that define the assembly-like scripting language that forms part of the Bitcoin protocol. - * See {@link org.bitcoinj.script.Script} for details. Also provides a method to convert them to a string. + * See {@link com.dogecoin.dogecoinj.script.Script} for details. Also provides a method to convert them to a string. */ public class ScriptOpCodes { // push value diff --git a/core/src/main/java/org/bitcoinj/script/package-info.java b/core/src/main/java/com/dogecoin/dogecoinj/script/package-info.java similarity index 74% rename from core/src/main/java/org/bitcoinj/script/package-info.java rename to core/src/main/java/com/dogecoin/dogecoinj/script/package-info.java index 7dc8381a..445c4b8a 100644 --- a/core/src/main/java/org/bitcoinj/script/package-info.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/script/package-info.java @@ -1,4 +1,4 @@ /** * Classes for working with and executing Bitcoin script programs, as embedded in inputs and outputs. */ -package org.bitcoinj.script; \ No newline at end of file +package com.dogecoin.dogecoinj.script; \ No newline at end of file diff --git a/core/src/main/java/org/bitcoinj/signers/CustomTransactionSigner.java b/core/src/main/java/com/dogecoin/dogecoinj/signers/CustomTransactionSigner.java similarity index 91% rename from core/src/main/java/org/bitcoinj/signers/CustomTransactionSigner.java rename to core/src/main/java/com/dogecoin/dogecoinj/signers/CustomTransactionSigner.java index 1e35fed2..42811b6e 100644 --- a/core/src/main/java/org/bitcoinj/signers/CustomTransactionSigner.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/signers/CustomTransactionSigner.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.bitcoinj.signers; +package com.dogecoin.dogecoinj.signers; -import org.bitcoinj.core.*; -import org.bitcoinj.crypto.ChildNumber; -import org.bitcoinj.crypto.TransactionSignature; -import org.bitcoinj.script.Script; -import org.bitcoinj.wallet.KeyBag; -import org.bitcoinj.wallet.RedeemData; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.crypto.ChildNumber; +import com.dogecoin.dogecoinj.crypto.TransactionSignature; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.wallet.KeyBag; +import com.dogecoin.dogecoinj.wallet.RedeemData; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -31,7 +31,7 @@ import static com.google.common.base.Preconditions.checkNotNull; /** *

This signer may be used as a template for creating custom multisig transaction signers.

*

- * Concrete implementations have to implement {@link #getSignature(org.bitcoinj.core.Sha256Hash, java.util.List)} + * Concrete implementations have to implement {@link #getSignature(com.dogecoin.dogecoinj.core.Sha256Hash, java.util.List)} * method returning a signature and a public key of the keypair used to created that signature. * It's up to custom implementation where to locate signatures: it may be a network connection, * some local API or something else. diff --git a/core/src/main/java/org/bitcoinj/signers/LocalTransactionSigner.java b/core/src/main/java/com/dogecoin/dogecoinj/signers/LocalTransactionSigner.java similarity index 89% rename from core/src/main/java/org/bitcoinj/signers/LocalTransactionSigner.java rename to core/src/main/java/com/dogecoin/dogecoinj/signers/LocalTransactionSigner.java index 243e8697..deb7e86e 100644 --- a/core/src/main/java/org/bitcoinj/signers/LocalTransactionSigner.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/signers/LocalTransactionSigner.java @@ -13,22 +13,22 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.bitcoinj.signers; +package com.dogecoin.dogecoinj.signers; -import org.bitcoinj.core.ECKey; -import org.bitcoinj.core.ScriptException; -import org.bitcoinj.core.Transaction; -import org.bitcoinj.core.TransactionInput; -import org.bitcoinj.crypto.DeterministicKey; -import org.bitcoinj.crypto.TransactionSignature; -import org.bitcoinj.script.Script; -import org.bitcoinj.wallet.KeyBag; -import org.bitcoinj.wallet.RedeemData; +import com.dogecoin.dogecoinj.core.ECKey; +import com.dogecoin.dogecoinj.core.ScriptException; +import com.dogecoin.dogecoinj.core.Transaction; +import com.dogecoin.dogecoinj.core.TransactionInput; +import com.dogecoin.dogecoinj.crypto.DeterministicKey; +import com.dogecoin.dogecoinj.crypto.TransactionSignature; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.wallet.KeyBag; +import com.dogecoin.dogecoinj.wallet.RedeemData; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - *

{@link TransactionSigner} implementation for signing inputs using keys from provided {@link org.bitcoinj.wallet.KeyBag}.

+ *

{@link TransactionSigner} implementation for signing inputs using keys from provided {@link com.dogecoin.dogecoinj.wallet.KeyBag}.

*

This signer doesn't create input scripts for tx inputs. Instead it expects inputs to contain scripts with * empty sigs and replaces one of the empty sigs with calculated signature. *

@@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory; * {@link ProposedTransaction} object that will be also passed then to the next signer in chain. This allows other * signers to use correct signing key for P2SH inputs, because all the keys involved in a single P2SH address have * the same derivation path.

- *

This signer always uses {@link org.bitcoinj.core.Transaction.SigHash#ALL} signing mode.

+ *

This signer always uses {@link com.dogecoin.dogecoinj.core.Transaction.SigHash#ALL} signing mode.

*/ public class LocalTransactionSigner extends StatelessTransactionSigner { private static final Logger log = LoggerFactory.getLogger(LocalTransactionSigner.class); diff --git a/core/src/main/java/org/bitcoinj/signers/MissingSigResolutionSigner.java b/core/src/main/java/com/dogecoin/dogecoinj/signers/MissingSigResolutionSigner.java similarity index 89% rename from core/src/main/java/org/bitcoinj/signers/MissingSigResolutionSigner.java rename to core/src/main/java/com/dogecoin/dogecoinj/signers/MissingSigResolutionSigner.java index 1e529cff..30d54a9b 100644 --- a/core/src/main/java/org/bitcoinj/signers/MissingSigResolutionSigner.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/signers/MissingSigResolutionSigner.java @@ -13,20 +13,20 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.bitcoinj.signers; +package com.dogecoin.dogecoinj.signers; -import org.bitcoinj.core.ECKey; -import org.bitcoinj.core.TransactionInput; -import org.bitcoinj.core.Wallet; -import org.bitcoinj.crypto.TransactionSignature; -import org.bitcoinj.script.Script; -import org.bitcoinj.script.ScriptChunk; -import org.bitcoinj.wallet.KeyBag; +import com.dogecoin.dogecoinj.core.ECKey; +import com.dogecoin.dogecoinj.core.TransactionInput; +import com.dogecoin.dogecoinj.core.Wallet; +import com.dogecoin.dogecoinj.crypto.TransactionSignature; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.script.ScriptChunk; +import com.dogecoin.dogecoinj.wallet.KeyBag; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * This transaction signer resolves missing signatures in accordance with the given {@link org.bitcoinj.core.Wallet.MissingSigsMode}. + * This transaction signer resolves missing signatures in accordance with the given {@link com.dogecoin.dogecoinj.core.Wallet.MissingSigsMode}. * If missingSigsMode is USE_OP_ZERO this signer does nothing assuming missing signatures are already presented in * scriptSigs as OP_0. * In MissingSigsMode.THROW mode this signer will throw an exception. It would be MissingSignatureException diff --git a/core/src/main/java/org/bitcoinj/signers/StatelessTransactionSigner.java b/core/src/main/java/com/dogecoin/dogecoinj/signers/StatelessTransactionSigner.java similarity index 95% rename from core/src/main/java/org/bitcoinj/signers/StatelessTransactionSigner.java rename to core/src/main/java/com/dogecoin/dogecoinj/signers/StatelessTransactionSigner.java index 29932607..da6124d7 100644 --- a/core/src/main/java/org/bitcoinj/signers/StatelessTransactionSigner.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/signers/StatelessTransactionSigner.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.bitcoinj.signers; +package com.dogecoin.dogecoinj.signers; /** * A signer that doesn't have any state to be serialized. diff --git a/core/src/main/java/org/bitcoinj/signers/TransactionSigner.java b/core/src/main/java/com/dogecoin/dogecoinj/signers/TransactionSigner.java similarity index 89% rename from core/src/main/java/org/bitcoinj/signers/TransactionSigner.java rename to core/src/main/java/com/dogecoin/dogecoinj/signers/TransactionSigner.java index 884cd335..2c7ed12e 100644 --- a/core/src/main/java/org/bitcoinj/signers/TransactionSigner.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/signers/TransactionSigner.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.bitcoinj.signers; +package com.dogecoin.dogecoinj.signers; -import org.bitcoinj.core.Transaction; -import org.bitcoinj.crypto.ChildNumber; -import org.bitcoinj.script.Script; -import org.bitcoinj.wallet.KeyBag; +import com.dogecoin.dogecoinj.core.Transaction; +import com.dogecoin.dogecoinj.crypto.ChildNumber; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.wallet.KeyBag; import java.util.HashMap; import java.util.List; @@ -28,7 +28,7 @@ import java.util.Map; *

Implementations of this interface are intended to sign inputs of the given transaction. Given transaction may already * be partially signed or somehow altered by other signers.

*

To make use of the signer, you need to add it into the wallet by - * calling {@link org.bitcoinj.core.Wallet#addTransactionSigner(TransactionSigner)}. Signer will be serialized + * calling {@link com.dogecoin.dogecoinj.core.Wallet#addTransactionSigner(TransactionSigner)}. Signer will be serialized * along with the wallet data. In order for a wallet to recreate signer after deserialization, each signer * should have no-args constructor

*/ diff --git a/core/src/main/java/org/bitcoinj/signers/package-info.java b/core/src/main/java/com/dogecoin/dogecoinj/signers/package-info.java similarity index 68% rename from core/src/main/java/org/bitcoinj/signers/package-info.java rename to core/src/main/java/com/dogecoin/dogecoinj/signers/package-info.java index 2d3d5601..c0c1d351 100644 --- a/core/src/main/java/org/bitcoinj/signers/package-info.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/signers/package-info.java @@ -1,6 +1,6 @@ /** * Transaction signers know how to calculate signatures over transactions in different contexts, for example, using - * local private keys or fetching them from remote servers. The {@link org.bitcoinj.core.Wallet} class uses these + * local private keys or fetching them from remote servers. The {@link com.dogecoin.dogecoinj.core.Wallet} class uses these * when sending money. */ -package org.bitcoinj.signers; \ No newline at end of file +package com.dogecoin.dogecoinj.signers; \ No newline at end of file diff --git a/core/src/main/java/org/bitcoinj/store/BlockStore.java b/core/src/main/java/com/dogecoin/dogecoinj/store/BlockStore.java similarity index 87% rename from core/src/main/java/org/bitcoinj/store/BlockStore.java rename to core/src/main/java/com/dogecoin/dogecoinj/store/BlockStore.java index bae6090f..58aac976 100644 --- a/core/src/main/java/org/bitcoinj/store/BlockStore.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/store/BlockStore.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package org.bitcoinj.store; +package com.dogecoin.dogecoinj.store; -import org.bitcoinj.core.Sha256Hash; -import org.bitcoinj.core.StoredBlock; +import com.dogecoin.dogecoinj.core.Sha256Hash; +import com.dogecoin.dogecoinj.core.StoredBlock; /** * An implementor of BlockStore saves StoredBlock objects to disk. Different implementations store them in @@ -45,8 +45,8 @@ public interface BlockStore { /** * Returns the {@link StoredBlock} that represents the top of the chain of greatest total work. Note that this - * can be arbitrarily expensive, you probably should use {@link org.bitcoinj.core.BlockChain#getChainHead()} - * or perhaps {@link org.bitcoinj.core.BlockChain#getBestChainHeight()} which will run in constant time and + * can be arbitrarily expensive, you probably should use {@link com.dogecoin.dogecoinj.core.BlockChain#getChainHead()} + * or perhaps {@link com.dogecoin.dogecoinj.core.BlockChain#getBestChainHeight()} which will run in constant time and * not take any heavyweight locks. */ StoredBlock getChainHead() throws BlockStoreException; diff --git a/core/src/main/java/org/bitcoinj/store/BlockStoreException.java b/core/src/main/java/com/dogecoin/dogecoinj/store/BlockStoreException.java similarity index 95% rename from core/src/main/java/org/bitcoinj/store/BlockStoreException.java rename to core/src/main/java/com/dogecoin/dogecoinj/store/BlockStoreException.java index 00172ecf..c846fa29 100644 --- a/core/src/main/java/org/bitcoinj/store/BlockStoreException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/store/BlockStoreException.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.store; +package com.dogecoin.dogecoinj.store; /** * Thrown when something goes wrong with storing a block. Examples: out of disk space. diff --git a/core/src/main/java/org/bitcoinj/store/FullPrunedBlockStore.java b/core/src/main/java/com/dogecoin/dogecoinj/store/FullPrunedBlockStore.java similarity index 96% rename from core/src/main/java/org/bitcoinj/store/FullPrunedBlockStore.java rename to core/src/main/java/com/dogecoin/dogecoinj/store/FullPrunedBlockStore.java index 5a58ad48..c0e67904 100644 --- a/core/src/main/java/org/bitcoinj/store/FullPrunedBlockStore.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/store/FullPrunedBlockStore.java @@ -14,12 +14,12 @@ * limitations under the License. */ -package org.bitcoinj.store; +package com.dogecoin.dogecoinj.store; -import org.bitcoinj.core.Sha256Hash; -import org.bitcoinj.core.StoredBlock; -import org.bitcoinj.core.StoredTransactionOutput; -import org.bitcoinj.core.StoredUndoableBlock; +import com.dogecoin.dogecoinj.core.Sha256Hash; +import com.dogecoin.dogecoinj.core.StoredBlock; +import com.dogecoin.dogecoinj.core.StoredTransactionOutput; +import com.dogecoin.dogecoinj.core.StoredUndoableBlock; /** *

An implementor of FullPrunedBlockStore saves StoredBlock objects to some storage mechanism.

diff --git a/core/src/main/java/org/bitcoinj/store/H2FullPrunedBlockStore.java b/core/src/main/java/com/dogecoin/dogecoinj/store/H2FullPrunedBlockStore.java similarity index 99% rename from core/src/main/java/org/bitcoinj/store/H2FullPrunedBlockStore.java rename to core/src/main/java/com/dogecoin/dogecoinj/store/H2FullPrunedBlockStore.java index d95ceeec..ee5a5e31 100644 --- a/core/src/main/java/org/bitcoinj/store/H2FullPrunedBlockStore.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/store/H2FullPrunedBlockStore.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package org.bitcoinj.store; +package com.dogecoin.dogecoinj.store; -import org.bitcoinj.core.*; +import com.dogecoin.dogecoinj.core.*; import com.google.common.collect.Lists; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/core/src/main/java/org/bitcoinj/store/MemoryBlockStore.java b/core/src/main/java/com/dogecoin/dogecoinj/store/MemoryBlockStore.java similarity index 93% rename from core/src/main/java/org/bitcoinj/store/MemoryBlockStore.java rename to core/src/main/java/com/dogecoin/dogecoinj/store/MemoryBlockStore.java index cf3d891c..10ae458a 100644 --- a/core/src/main/java/org/bitcoinj/store/MemoryBlockStore.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/store/MemoryBlockStore.java @@ -14,15 +14,15 @@ * limitations under the License. */ -package org.bitcoinj.store; +package com.dogecoin.dogecoinj.store; -import org.bitcoinj.core.*; +import com.dogecoin.dogecoinj.core.*; import java.util.LinkedHashMap; import java.util.Map; /** - * Keeps {@link org.bitcoinj.core.StoredBlock}s in memory. Used primarily for unit testing. + * Keeps {@link com.dogecoin.dogecoinj.core.StoredBlock}s in memory. Used primarily for unit testing. */ public class MemoryBlockStore implements BlockStore { private LinkedHashMap blockMap = new LinkedHashMap() { diff --git a/core/src/main/java/org/bitcoinj/store/MemoryFullPrunedBlockStore.java b/core/src/main/java/com/dogecoin/dogecoinj/store/MemoryFullPrunedBlockStore.java similarity index 99% rename from core/src/main/java/org/bitcoinj/store/MemoryFullPrunedBlockStore.java rename to core/src/main/java/com/dogecoin/dogecoinj/store/MemoryFullPrunedBlockStore.java index f86a13d2..96499cba 100644 --- a/core/src/main/java/org/bitcoinj/store/MemoryFullPrunedBlockStore.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/store/MemoryFullPrunedBlockStore.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package org.bitcoinj.store; +package com.dogecoin.dogecoinj.store; -import org.bitcoinj.core.*; +import com.dogecoin.dogecoinj.core.*; import com.google.common.base.Objects; import com.google.common.base.Preconditions; import com.google.common.collect.Lists; diff --git a/core/src/main/java/org/bitcoinj/store/PostgresFullPrunedBlockStore.java b/core/src/main/java/com/dogecoin/dogecoinj/store/PostgresFullPrunedBlockStore.java similarity index 99% rename from core/src/main/java/org/bitcoinj/store/PostgresFullPrunedBlockStore.java rename to core/src/main/java/com/dogecoin/dogecoinj/store/PostgresFullPrunedBlockStore.java index 5a972c5e..ea5247a9 100644 --- a/core/src/main/java/org/bitcoinj/store/PostgresFullPrunedBlockStore.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/store/PostgresFullPrunedBlockStore.java @@ -15,10 +15,10 @@ * limitations under the License. */ -package org.bitcoinj.store; +package com.dogecoin.dogecoinj.store; -import org.bitcoinj.core.*; -import org.bitcoinj.script.Script; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.script.Script; import com.google.common.collect.Lists; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -35,7 +35,7 @@ import java.util.Properties; /** *

A full pruned block store using the Postgres database engine. As an added bonus an address index is calculated, - * so you can use {@link #calculateBalanceForAddress(org.bitcoinj.core.Address)} to quickly look up + * so you can use {@link #calculateBalanceForAddress(com.dogecoin.dogecoinj.core.Address)} to quickly look up * the quantity of bitcoins controlled by that address.

*/ public class PostgresFullPrunedBlockStore implements FullPrunedBlockStore { diff --git a/core/src/main/java/org/bitcoinj/store/SPVBlockStore.java b/core/src/main/java/com/dogecoin/dogecoinj/store/SPVBlockStore.java similarity index 99% rename from core/src/main/java/org/bitcoinj/store/SPVBlockStore.java rename to core/src/main/java/com/dogecoin/dogecoinj/store/SPVBlockStore.java index 661b07d5..8806983b 100644 --- a/core/src/main/java/org/bitcoinj/store/SPVBlockStore.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/store/SPVBlockStore.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package org.bitcoinj.store; +package com.dogecoin.dogecoinj.store; -import org.bitcoinj.core.*; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.utils.Threading; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/core/src/main/java/org/bitcoinj/store/UnreadableWalletException.java b/core/src/main/java/com/dogecoin/dogecoinj/store/UnreadableWalletException.java similarity index 95% rename from core/src/main/java/org/bitcoinj/store/UnreadableWalletException.java rename to core/src/main/java/com/dogecoin/dogecoinj/store/UnreadableWalletException.java index 1a8c4e88..512d5db4 100644 --- a/core/src/main/java/org/bitcoinj/store/UnreadableWalletException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/store/UnreadableWalletException.java @@ -1,4 +1,4 @@ -package org.bitcoinj.store; +package com.dogecoin.dogecoinj.store; /** * Thrown by the {@link WalletProtobufSerializer} when the serialized protocol buffer is either corrupted, diff --git a/core/src/main/java/org/bitcoinj/store/WalletProtobufSerializer.java b/core/src/main/java/com/dogecoin/dogecoinj/store/WalletProtobufSerializer.java similarity index 97% rename from core/src/main/java/org/bitcoinj/store/WalletProtobufSerializer.java rename to core/src/main/java/com/dogecoin/dogecoinj/store/WalletProtobufSerializer.java index f48dfb60..74c7b3a8 100644 --- a/core/src/main/java/org/bitcoinj/store/WalletProtobufSerializer.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/store/WalletProtobufSerializer.java @@ -15,27 +15,27 @@ * limitations under the License. */ -package org.bitcoinj.store; +package com.dogecoin.dogecoinj.store; -import org.bitcoinj.core.*; -import org.bitcoinj.core.TransactionConfidence.ConfidenceType; -import org.bitcoinj.crypto.KeyCrypter; -import org.bitcoinj.crypto.KeyCrypterScrypt; -import org.bitcoinj.script.Script; -import org.bitcoinj.signers.LocalTransactionSigner; -import org.bitcoinj.signers.TransactionSigner; -import org.bitcoinj.utils.ExchangeRate; -import org.bitcoinj.utils.Fiat; -import org.bitcoinj.wallet.KeyChainGroup; -import org.bitcoinj.wallet.WalletTransaction; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.core.TransactionConfidence.ConfidenceType; +import com.dogecoin.dogecoinj.crypto.KeyCrypter; +import com.dogecoin.dogecoinj.crypto.KeyCrypterScrypt; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.signers.LocalTransactionSigner; +import com.dogecoin.dogecoinj.signers.TransactionSigner; +import com.dogecoin.dogecoinj.utils.ExchangeRate; +import com.dogecoin.dogecoinj.utils.Fiat; +import com.dogecoin.dogecoinj.wallet.KeyChainGroup; +import com.dogecoin.dogecoinj.wallet.WalletTransaction; import com.google.common.collect.Lists; import com.google.protobuf.ByteString; import com.google.protobuf.CodedInputStream; import com.google.protobuf.TextFormat; import com.google.protobuf.WireFormat; -import org.bitcoinj.wallet.Protos; -import org.bitcoinj.wallet.Protos.Wallet.EncryptionType; +import com.dogecoin.dogecoinj.wallet.Protos; +import com.dogecoin.dogecoinj.wallet.Protos.Wallet.EncryptionType; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -606,7 +606,7 @@ public class WalletProtobufSerializer { txMap.put(txProto.getHash(), tx); } - private WalletTransaction connectTransactionOutputs(org.bitcoinj.wallet.Protos.Transaction txProto) throws UnreadableWalletException { + private WalletTransaction connectTransactionOutputs(com.dogecoin.dogecoinj.wallet.Protos.Transaction txProto) throws UnreadableWalletException { Transaction tx = txMap.get(txProto.getHash()); final WalletTransaction.Pool pool; switch (txProto.getPool()) { diff --git a/core/src/main/java/org/bitcoinj/store/package-info.java b/core/src/main/java/com/dogecoin/dogecoinj/store/package-info.java similarity index 92% rename from core/src/main/java/org/bitcoinj/store/package-info.java rename to core/src/main/java/com/dogecoin/dogecoinj/store/package-info.java index b8783471..1d9226a1 100644 --- a/core/src/main/java/org/bitcoinj/store/package-info.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/store/package-info.java @@ -4,4 +4,4 @@ * can calculate a full indexed UTXO set (i.e. it can query address balances), a store that's backed by the embedded H2 * database, and a memory only store useful for unit tests. */ -package org.bitcoinj.store; \ No newline at end of file +package com.dogecoin.dogecoinj.store; \ No newline at end of file diff --git a/core/src/main/java/org/bitcoinj/testing/FakeTxBuilder.java b/core/src/main/java/com/dogecoin/dogecoinj/testing/FakeTxBuilder.java similarity index 97% rename from core/src/main/java/org/bitcoinj/testing/FakeTxBuilder.java rename to core/src/main/java/com/dogecoin/dogecoinj/testing/FakeTxBuilder.java index 9a72877b..1eb66ec4 100644 --- a/core/src/main/java/org/bitcoinj/testing/FakeTxBuilder.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/testing/FakeTxBuilder.java @@ -14,17 +14,17 @@ * limitations under the License. */ -package org.bitcoinj.testing; +package com.dogecoin.dogecoinj.testing; -import org.bitcoinj.core.*; -import org.bitcoinj.store.BlockStore; -import org.bitcoinj.store.BlockStoreException; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.store.BlockStore; +import com.dogecoin.dogecoinj.store.BlockStoreException; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.nio.ByteBuffer; -import static org.bitcoinj.core.Coin.*; +import static com.dogecoin.dogecoinj.core.Coin.*; public class FakeTxBuilder { /** diff --git a/core/src/main/java/org/bitcoinj/testing/InboundMessageQueuer.java b/core/src/main/java/com/dogecoin/dogecoinj/testing/InboundMessageQueuer.java similarity index 86% rename from core/src/main/java/org/bitcoinj/testing/InboundMessageQueuer.java rename to core/src/main/java/com/dogecoin/dogecoinj/testing/InboundMessageQueuer.java index 50b492cd..f15c765d 100644 --- a/core/src/main/java/org/bitcoinj/testing/InboundMessageQueuer.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/testing/InboundMessageQueuer.java @@ -1,6 +1,6 @@ -package org.bitcoinj.testing; +package com.dogecoin.dogecoinj.testing; -import org.bitcoinj.core.*; +import com.dogecoin.dogecoinj.core.*; import com.google.common.util.concurrent.SettableFuture; import java.net.InetSocketAddress; @@ -10,7 +10,7 @@ import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingQueue; /** - * An extension of {@link org.bitcoinj.core.PeerSocketHandler} that keeps inbound messages in a queue for later processing + * An extension of {@link com.dogecoin.dogecoinj.core.PeerSocketHandler} that keeps inbound messages in a queue for later processing */ public abstract class InboundMessageQueuer extends PeerSocketHandler { public final BlockingQueue inboundMessages = new ArrayBlockingQueue(1000); diff --git a/core/src/main/java/org/bitcoinj/testing/KeyChainTransactionSigner.java b/core/src/main/java/com/dogecoin/dogecoinj/testing/KeyChainTransactionSigner.java similarity index 84% rename from core/src/main/java/org/bitcoinj/testing/KeyChainTransactionSigner.java rename to core/src/main/java/com/dogecoin/dogecoinj/testing/KeyChainTransactionSigner.java index 57966474..096165dd 100644 --- a/core/src/main/java/org/bitcoinj/testing/KeyChainTransactionSigner.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/testing/KeyChainTransactionSigner.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.bitcoinj.testing; +package com.dogecoin.dogecoinj.testing; -import org.bitcoinj.core.Sha256Hash; -import org.bitcoinj.crypto.ChildNumber; -import org.bitcoinj.crypto.DeterministicKey; -import org.bitcoinj.signers.CustomTransactionSigner; -import org.bitcoinj.wallet.DeterministicKeyChain; +import com.dogecoin.dogecoinj.core.Sha256Hash; +import com.dogecoin.dogecoinj.crypto.ChildNumber; +import com.dogecoin.dogecoinj.crypto.DeterministicKey; +import com.dogecoin.dogecoinj.signers.CustomTransactionSigner; +import com.dogecoin.dogecoinj.wallet.DeterministicKeyChain; import com.google.common.collect.ImmutableList; import java.util.List; diff --git a/core/src/main/java/org/bitcoinj/testing/MockTransactionBroadcaster.java b/core/src/main/java/com/dogecoin/dogecoinj/testing/MockTransactionBroadcaster.java similarity index 93% rename from core/src/main/java/org/bitcoinj/testing/MockTransactionBroadcaster.java rename to core/src/main/java/com/dogecoin/dogecoinj/testing/MockTransactionBroadcaster.java index 5c49cb16..188a7a8a 100644 --- a/core/src/main/java/org/bitcoinj/testing/MockTransactionBroadcaster.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/testing/MockTransactionBroadcaster.java @@ -14,13 +14,13 @@ * limitations under the License. */ -package org.bitcoinj.testing; +package com.dogecoin.dogecoinj.testing; -import org.bitcoinj.core.Transaction; -import org.bitcoinj.core.TransactionBroadcaster; -import org.bitcoinj.core.VerificationException; -import org.bitcoinj.core.Wallet; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.core.Transaction; +import com.dogecoin.dogecoinj.core.TransactionBroadcaster; +import com.dogecoin.dogecoinj.core.VerificationException; +import com.dogecoin.dogecoinj.core.Wallet; +import com.dogecoin.dogecoinj.utils.Threading; import com.google.common.util.concurrent.FutureCallback; import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.SettableFuture; diff --git a/core/src/main/java/org/bitcoinj/testing/NopTransactionSigner.java b/core/src/main/java/com/dogecoin/dogecoinj/testing/NopTransactionSigner.java similarity index 89% rename from core/src/main/java/org/bitcoinj/testing/NopTransactionSigner.java rename to core/src/main/java/com/dogecoin/dogecoinj/testing/NopTransactionSigner.java index ae17e923..f01799d5 100644 --- a/core/src/main/java/org/bitcoinj/testing/NopTransactionSigner.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/testing/NopTransactionSigner.java @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.bitcoinj.testing; +package com.dogecoin.dogecoinj.testing; -import org.bitcoinj.signers.TransactionSigner; -import org.bitcoinj.wallet.KeyBag; +import com.dogecoin.dogecoinj.signers.TransactionSigner; +import com.dogecoin.dogecoinj.wallet.KeyBag; public class NopTransactionSigner implements TransactionSigner { private boolean isReady; diff --git a/core/src/main/java/org/bitcoinj/testing/TestWithNetworkConnections.java b/core/src/main/java/com/dogecoin/dogecoinj/testing/TestWithNetworkConnections.java similarity index 96% rename from core/src/main/java/org/bitcoinj/testing/TestWithNetworkConnections.java rename to core/src/main/java/com/dogecoin/dogecoinj/testing/TestWithNetworkConnections.java index 547e3c0e..61e3edff 100644 --- a/core/src/main/java/org/bitcoinj/testing/TestWithNetworkConnections.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/testing/TestWithNetworkConnections.java @@ -15,15 +15,15 @@ * limitations under the License. */ -package org.bitcoinj.testing; +package com.dogecoin.dogecoinj.testing; -import org.bitcoinj.core.*; -import org.bitcoinj.net.*; -import org.bitcoinj.params.UnitTestParams; -import org.bitcoinj.store.BlockStore; -import org.bitcoinj.store.MemoryBlockStore; -import org.bitcoinj.utils.BriefLogFormatter; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.net.*; +import com.dogecoin.dogecoinj.params.UnitTestParams; +import com.dogecoin.dogecoinj.store.BlockStore; +import com.dogecoin.dogecoinj.store.MemoryBlockStore; +import com.dogecoin.dogecoinj.utils.BriefLogFormatter; +import com.dogecoin.dogecoinj.utils.Threading; import com.google.common.util.concurrent.SettableFuture; import javax.annotation.Nullable; diff --git a/core/src/main/java/org/bitcoinj/testing/TestWithPeerGroup.java b/core/src/main/java/com/dogecoin/dogecoinj/testing/TestWithPeerGroup.java similarity index 93% rename from core/src/main/java/org/bitcoinj/testing/TestWithPeerGroup.java rename to core/src/main/java/com/dogecoin/dogecoinj/testing/TestWithPeerGroup.java index acbc8451..46ca5916 100644 --- a/core/src/main/java/org/bitcoinj/testing/TestWithPeerGroup.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/testing/TestWithPeerGroup.java @@ -14,14 +14,14 @@ * limitations under the License. */ -package org.bitcoinj.testing; +package com.dogecoin.dogecoinj.testing; -import org.bitcoinj.core.*; -import org.bitcoinj.net.BlockingClientManager; -import org.bitcoinj.net.NioClientManager; -import org.bitcoinj.params.UnitTestParams; -import org.bitcoinj.store.BlockStore; -import org.bitcoinj.store.MemoryBlockStore; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.net.BlockingClientManager; +import com.dogecoin.dogecoinj.net.NioClientManager; +import com.dogecoin.dogecoinj.params.UnitTestParams; +import com.dogecoin.dogecoinj.store.BlockStore; +import com.dogecoin.dogecoinj.store.MemoryBlockStore; import com.google.common.base.Preconditions; import java.net.InetSocketAddress; diff --git a/core/src/main/java/org/bitcoinj/testing/TestWithWallet.java b/core/src/main/java/com/dogecoin/dogecoinj/testing/TestWithWallet.java similarity index 90% rename from core/src/main/java/org/bitcoinj/testing/TestWithWallet.java rename to core/src/main/java/com/dogecoin/dogecoinj/testing/TestWithWallet.java index a373278c..e2c39d19 100644 --- a/core/src/main/java/org/bitcoinj/testing/TestWithWallet.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/testing/TestWithWallet.java @@ -14,19 +14,19 @@ * limitations under the License. */ -package org.bitcoinj.testing; +package com.dogecoin.dogecoinj.testing; -import org.bitcoinj.core.*; -import org.bitcoinj.params.UnitTestParams; -import org.bitcoinj.store.BlockStore; -import org.bitcoinj.store.MemoryBlockStore; -import org.bitcoinj.utils.BriefLogFormatter; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.params.UnitTestParams; +import com.dogecoin.dogecoinj.store.BlockStore; +import com.dogecoin.dogecoinj.store.MemoryBlockStore; +import com.dogecoin.dogecoinj.utils.BriefLogFormatter; import javax.annotation.Nullable; import java.io.IOException; -import static org.bitcoinj.testing.FakeTxBuilder.createFakeBlock; -import static org.bitcoinj.testing.FakeTxBuilder.createFakeTx; +import static com.dogecoin.dogecoinj.testing.FakeTxBuilder.createFakeBlock; +import static com.dogecoin.dogecoinj.testing.FakeTxBuilder.createFakeTx; // TODO: This needs to be somewhat rewritten - the "sendMoneyToWallet" methods aren't sending via the block chain object diff --git a/core/src/main/java/org/bitcoinj/testing/package-info.java b/core/src/main/java/com/dogecoin/dogecoinj/testing/package-info.java similarity index 87% rename from core/src/main/java/org/bitcoinj/testing/package-info.java rename to core/src/main/java/com/dogecoin/dogecoinj/testing/package-info.java index fed20979..4883d784 100644 --- a/core/src/main/java/org/bitcoinj/testing/package-info.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/testing/package-info.java @@ -3,4 +3,4 @@ * bitcoinj. Some of these are junit4 classes you can subclass, and others are static utility methods for building * fake transactions and so on. */ -package org.bitcoinj.testing; \ No newline at end of file +package com.dogecoin.dogecoinj.testing; \ No newline at end of file diff --git a/core/src/main/java/org/bitcoinj/uri/BitcoinURI.java b/core/src/main/java/com/dogecoin/dogecoinj/uri/BitcoinURI.java similarity index 98% rename from core/src/main/java/org/bitcoinj/uri/BitcoinURI.java rename to core/src/main/java/com/dogecoin/dogecoinj/uri/BitcoinURI.java index 2875a476..755a3e97 100644 --- a/core/src/main/java/org/bitcoinj/uri/BitcoinURI.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/uri/BitcoinURI.java @@ -16,12 +16,12 @@ * */ -package org.bitcoinj.uri; +package com.dogecoin.dogecoinj.uri; -import org.bitcoinj.core.Address; -import org.bitcoinj.core.AddressFormatException; -import org.bitcoinj.core.Coin; -import org.bitcoinj.core.NetworkParameters; +import com.dogecoin.dogecoinj.core.Address; +import com.dogecoin.dogecoinj.core.AddressFormatException; +import com.dogecoin.dogecoinj.core.Coin; +import com.dogecoin.dogecoinj.core.NetworkParameters; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/core/src/main/java/org/bitcoinj/uri/BitcoinURIParseException.java b/core/src/main/java/com/dogecoin/dogecoinj/uri/BitcoinURIParseException.java similarity index 97% rename from core/src/main/java/org/bitcoinj/uri/BitcoinURIParseException.java rename to core/src/main/java/com/dogecoin/dogecoinj/uri/BitcoinURIParseException.java index 79faf93a..f97cd473 100644 --- a/core/src/main/java/org/bitcoinj/uri/BitcoinURIParseException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/uri/BitcoinURIParseException.java @@ -16,7 +16,7 @@ * */ -package org.bitcoinj.uri; +package com.dogecoin.dogecoinj.uri; /** *

Exception to provide the following to {@link BitcoinURI}:

diff --git a/core/src/main/java/org/bitcoinj/uri/OptionalFieldValidationException.java b/core/src/main/java/com/dogecoin/dogecoinj/uri/OptionalFieldValidationException.java similarity index 94% rename from core/src/main/java/org/bitcoinj/uri/OptionalFieldValidationException.java rename to core/src/main/java/com/dogecoin/dogecoinj/uri/OptionalFieldValidationException.java index f44110d0..e2924d71 100644 --- a/core/src/main/java/org/bitcoinj/uri/OptionalFieldValidationException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/uri/OptionalFieldValidationException.java @@ -1,4 +1,4 @@ -package org.bitcoinj.uri; +package com.dogecoin.dogecoinj.uri; /** *

Exception to provide the following to {@link org.multibit.qrcode.BitcoinURI}:

diff --git a/core/src/main/java/org/bitcoinj/uri/RequiredFieldValidationException.java b/core/src/main/java/com/dogecoin/dogecoinj/uri/RequiredFieldValidationException.java similarity index 95% rename from core/src/main/java/org/bitcoinj/uri/RequiredFieldValidationException.java rename to core/src/main/java/com/dogecoin/dogecoinj/uri/RequiredFieldValidationException.java index 98300925..f9a27194 100644 --- a/core/src/main/java/org/bitcoinj/uri/RequiredFieldValidationException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/uri/RequiredFieldValidationException.java @@ -1,4 +1,4 @@ -package org.bitcoinj.uri; +package com.dogecoin.dogecoinj.uri; /** *

Exception to provide the following to {@link BitcoinURI}:

diff --git a/core/src/main/java/org/bitcoinj/uri/package-info.java b/core/src/main/java/com/dogecoin/dogecoinj/uri/package-info.java similarity index 72% rename from core/src/main/java/org/bitcoinj/uri/package-info.java rename to core/src/main/java/com/dogecoin/dogecoinj/uri/package-info.java index a9e8faa7..f375afdb 100644 --- a/core/src/main/java/org/bitcoinj/uri/package-info.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/uri/package-info.java @@ -1,4 +1,4 @@ /** * Parsing and handling of bitcoin: textual URIs as found in qr codes and web links. */ -package org.bitcoinj.uri; \ No newline at end of file +package com.dogecoin.dogecoinj.uri; \ No newline at end of file diff --git a/core/src/main/java/org/bitcoinj/utils/BaseTaggableObject.java b/core/src/main/java/com/dogecoin/dogecoinj/utils/BaseTaggableObject.java similarity index 97% rename from core/src/main/java/org/bitcoinj/utils/BaseTaggableObject.java rename to core/src/main/java/com/dogecoin/dogecoinj/utils/BaseTaggableObject.java index badf9a25..fec1271f 100644 --- a/core/src/main/java/org/bitcoinj/utils/BaseTaggableObject.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/utils/BaseTaggableObject.java @@ -1,4 +1,4 @@ -package org.bitcoinj.utils; +package com.dogecoin.dogecoinj.utils; import com.google.common.collect.Maps; import com.google.protobuf.ByteString; diff --git a/core/src/main/java/org/bitcoinj/utils/BlockFileLoader.java b/core/src/main/java/com/dogecoin/dogecoinj/utils/BlockFileLoader.java similarity index 96% rename from core/src/main/java/org/bitcoinj/utils/BlockFileLoader.java rename to core/src/main/java/com/dogecoin/dogecoinj/utils/BlockFileLoader.java index 1b210319..c950e0b2 100644 --- a/core/src/main/java/org/bitcoinj/utils/BlockFileLoader.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/utils/BlockFileLoader.java @@ -14,12 +14,12 @@ * limitations under the License. */ -package org.bitcoinj.utils; +package com.dogecoin.dogecoinj.utils; -import org.bitcoinj.core.Block; -import org.bitcoinj.core.NetworkParameters; -import org.bitcoinj.core.ProtocolException; -import org.bitcoinj.core.Utils; +import com.dogecoin.dogecoinj.core.Block; +import com.dogecoin.dogecoinj.core.NetworkParameters; +import com.dogecoin.dogecoinj.core.ProtocolException; +import com.dogecoin.dogecoinj.core.Utils; import java.io.File; import java.io.FileInputStream; diff --git a/core/src/main/java/org/bitcoinj/utils/BriefLogFormatter.java b/core/src/main/java/com/dogecoin/dogecoinj/utils/BriefLogFormatter.java similarity index 98% rename from core/src/main/java/org/bitcoinj/utils/BriefLogFormatter.java rename to core/src/main/java/com/dogecoin/dogecoinj/utils/BriefLogFormatter.java index 33eeee7f..cb34bfd4 100644 --- a/core/src/main/java/org/bitcoinj/utils/BriefLogFormatter.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/utils/BriefLogFormatter.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.utils; +package com.dogecoin.dogecoinj.utils; import java.io.PrintWriter; import java.io.StringWriter; diff --git a/core/src/main/java/org/bitcoinj/utils/BtcAutoFormat.java b/core/src/main/java/com/dogecoin/dogecoinj/utils/BtcAutoFormat.java similarity index 98% rename from core/src/main/java/org/bitcoinj/utils/BtcAutoFormat.java rename to core/src/main/java/com/dogecoin/dogecoinj/utils/BtcAutoFormat.java index aedcbb21..fccdb664 100644 --- a/core/src/main/java/org/bitcoinj/utils/BtcAutoFormat.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/utils/BtcAutoFormat.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package org.bitcoinj.utils; +package com.dogecoin.dogecoinj.utils; -import static org.bitcoinj.core.Coin.SMALLEST_UNIT_EXPONENT; +import static com.dogecoin.dogecoinj.core.Coin.SMALLEST_UNIT_EXPONENT; import com.google.common.collect.ImmutableList; import java.math.BigInteger; @@ -54,7 +54,7 @@ import java.util.Locale; * @see java.text.NumberFormat * @see java.text.DecimalFormat * @see DecimalFormatSymbols - * @see org.bitcoinj.core.Coin + * @see com.dogecoin.dogecoinj.core.Coin */ public final class BtcAutoFormat extends BtcFormat { diff --git a/core/src/main/java/org/bitcoinj/utils/BtcFixedFormat.java b/core/src/main/java/com/dogecoin/dogecoinj/utils/BtcFixedFormat.java similarity index 98% rename from core/src/main/java/org/bitcoinj/utils/BtcFixedFormat.java rename to core/src/main/java/com/dogecoin/dogecoinj/utils/BtcFixedFormat.java index 1803206b..9477b26d 100644 --- a/core/src/main/java/org/bitcoinj/utils/BtcFixedFormat.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/utils/BtcFixedFormat.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package org.bitcoinj.utils; +package com.dogecoin.dogecoinj.utils; -import static org.bitcoinj.core.Coin.SMALLEST_UNIT_EXPONENT; +import static com.dogecoin.dogecoinj.core.Coin.SMALLEST_UNIT_EXPONENT; import static com.google.common.base.Preconditions.checkArgument; import java.math.BigInteger; import java.text.DecimalFormat; @@ -41,7 +41,7 @@ import java.util.List; * @see java.text.Format * @see java.text.NumberFormat * @see java.text.DecimalFormat - * @see org.bitcoinj.core.Coin + * @see com.dogecoin.dogecoinj.core.Coin */ public final class BtcFixedFormat extends BtcFormat { diff --git a/core/src/main/java/org/bitcoinj/utils/BtcFormat.java b/core/src/main/java/com/dogecoin/dogecoinj/utils/BtcFormat.java similarity index 99% rename from core/src/main/java/org/bitcoinj/utils/BtcFormat.java rename to core/src/main/java/com/dogecoin/dogecoinj/utils/BtcFormat.java index 0539fd31..f0c2d517 100644 --- a/core/src/main/java/org/bitcoinj/utils/BtcFormat.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/utils/BtcFormat.java @@ -14,12 +14,12 @@ * limitations under the License. */ -package org.bitcoinj.utils; +package com.dogecoin.dogecoinj.utils; -import org.bitcoinj.utils.BtcAutoFormat.Style; -import static org.bitcoinj.utils.BtcAutoFormat.Style.*; +import com.dogecoin.dogecoinj.utils.BtcAutoFormat.Style; +import static com.dogecoin.dogecoinj.utils.BtcAutoFormat.Style.*; -import org.bitcoinj.core.Coin; +import com.dogecoin.dogecoinj.core.Coin; import com.google.common.collect.ImmutableList; import static com.google.common.base.Preconditions.checkArgument; import com.google.common.base.Strings; @@ -259,7 +259,7 @@ import java.util.regex.Pattern; *

Formatting

* *

You format a Bitcoin monetary value by passing it to the {@link BtcFormat#format(Object)} - * method. This argument can be either a {@link org.bitcoinj.core.Coin}-type object or a + * method. This argument can be either a {@link com.dogecoin.dogecoinj.core.Coin}-type object or a * numerical object such as {@link java.lang.Long} or {@link java.math.BigDecimal}. * Integer-based types such as {@link java.math.BigInteger} are interpreted as representing a * number of satoshis, while a {@link java.math.BigDecimal} is interpreted as representing a @@ -462,7 +462,7 @@ import java.util.regex.Pattern; * @see java.text.DecimalFormat * @see java.text.DecimalFormatSymbols * @see java.text.FieldPosition - * @see org.bitcoinj.core.Coin + * @see com.dogecoin.dogecoinj.core.Coin */ public abstract class BtcFormat extends Format { @@ -1299,7 +1299,7 @@ public abstract class BtcFormat extends Format { /** * Parse a String representation of a Bitcoin monetary value. Returns a - * {@link org.bitcoinj.core.Coin} object that represents the parsed value. + * {@link com.dogecoin.dogecoinj.core.Coin} object that represents the parsed value. * @see java.text.NumberFormat */ @Override public final Object parseObject(String source, ParsePosition pos) { return parse(source, pos); } diff --git a/core/src/main/java/org/bitcoinj/utils/DaemonThreadFactory.java b/core/src/main/java/com/dogecoin/dogecoinj/utils/DaemonThreadFactory.java similarity index 92% rename from core/src/main/java/org/bitcoinj/utils/DaemonThreadFactory.java rename to core/src/main/java/com/dogecoin/dogecoinj/utils/DaemonThreadFactory.java index f48d6559..5b062eca 100644 --- a/core/src/main/java/org/bitcoinj/utils/DaemonThreadFactory.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/utils/DaemonThreadFactory.java @@ -1,4 +1,4 @@ -package org.bitcoinj.utils; +package com.dogecoin.dogecoinj.utils; import javax.annotation.Nonnull; import java.util.concurrent.Executors; diff --git a/core/src/main/java/org/bitcoinj/utils/ExchangeRate.java b/core/src/main/java/com/dogecoin/dogecoinj/utils/ExchangeRate.java similarity index 97% rename from core/src/main/java/org/bitcoinj/utils/ExchangeRate.java rename to core/src/main/java/com/dogecoin/dogecoinj/utils/ExchangeRate.java index d3b8468d..c8e9c0b6 100644 --- a/core/src/main/java/org/bitcoinj/utils/ExchangeRate.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/utils/ExchangeRate.java @@ -14,14 +14,14 @@ * limitations under the License. */ -package org.bitcoinj.utils; +package com.dogecoin.dogecoinj.utils; import static com.google.common.base.Preconditions.checkArgument; import java.io.Serializable; import java.math.BigInteger; -import org.bitcoinj.core.Coin; +import com.dogecoin.dogecoinj.core.Coin; /** * An exchange rate is expressed as a ratio of a {@link Coin} and a {@link Fiat} amount. diff --git a/core/src/main/java/org/bitcoinj/utils/ExponentialBackoff.java b/core/src/main/java/com/dogecoin/dogecoinj/utils/ExponentialBackoff.java similarity index 97% rename from core/src/main/java/org/bitcoinj/utils/ExponentialBackoff.java rename to core/src/main/java/com/dogecoin/dogecoinj/utils/ExponentialBackoff.java index 0be4449f..74c191ae 100644 --- a/core/src/main/java/org/bitcoinj/utils/ExponentialBackoff.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/utils/ExponentialBackoff.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package org.bitcoinj.utils; +package com.dogecoin.dogecoinj.utils; -import org.bitcoinj.core.Utils; +import com.dogecoin.dogecoinj.core.Utils; import static com.google.common.base.Preconditions.checkArgument; diff --git a/core/src/main/java/org/bitcoinj/utils/Fiat.java b/core/src/main/java/com/dogecoin/dogecoinj/utils/Fiat.java similarity index 98% rename from core/src/main/java/org/bitcoinj/utils/Fiat.java rename to core/src/main/java/com/dogecoin/dogecoinj/utils/Fiat.java index bcb95988..4fbfe402 100644 --- a/core/src/main/java/org/bitcoinj/utils/Fiat.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/utils/Fiat.java @@ -14,14 +14,14 @@ * limitations under the License. */ -package org.bitcoinj.utils; +package com.dogecoin.dogecoinj.utils; import static com.google.common.base.Preconditions.checkArgument; import java.io.Serializable; import java.math.BigDecimal; -import org.bitcoinj.core.Monetary; +import com.dogecoin.dogecoinj.core.Monetary; import com.google.common.math.LongMath; /** diff --git a/core/src/main/java/org/bitcoinj/utils/ListenerRegistration.java b/core/src/main/java/com/dogecoin/dogecoinj/utils/ListenerRegistration.java similarity index 97% rename from core/src/main/java/org/bitcoinj/utils/ListenerRegistration.java rename to core/src/main/java/com/dogecoin/dogecoinj/utils/ListenerRegistration.java index d8e61729..e436d8c4 100644 --- a/core/src/main/java/org/bitcoinj/utils/ListenerRegistration.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/utils/ListenerRegistration.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.utils; +package com.dogecoin.dogecoinj.utils; import java.util.List; import java.util.concurrent.Executor; diff --git a/core/src/main/java/org/bitcoinj/utils/MonetaryFormat.java b/core/src/main/java/com/dogecoin/dogecoinj/utils/MonetaryFormat.java similarity index 98% rename from core/src/main/java/org/bitcoinj/utils/MonetaryFormat.java rename to core/src/main/java/com/dogecoin/dogecoinj/utils/MonetaryFormat.java index 4d73b05e..0b57330a 100644 --- a/core/src/main/java/org/bitcoinj/utils/MonetaryFormat.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/utils/MonetaryFormat.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.utils; +package com.dogecoin.dogecoinj.utils; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkState; @@ -30,8 +30,8 @@ import java.util.List; import java.util.Locale; import java.util.Map; -import org.bitcoinj.core.Coin; -import org.bitcoinj.core.Monetary; +import com.dogecoin.dogecoinj.core.Coin; +import com.dogecoin.dogecoinj.core.Monetary; /** *

@@ -389,7 +389,7 @@ public final class MonetaryFormat { } /** - * Parse a human readable coin value to a {@link org.bitcoinj.core.Coin} instance. + * Parse a human readable coin value to a {@link com.dogecoin.dogecoinj.core.Coin} instance. * * @throws NumberFormatException * if the string cannot be parsed for some reason @@ -399,7 +399,7 @@ public final class MonetaryFormat { } /** - * Parse a human readable fiat value to a {@link org.bitcoinj.core.Fiat} instance. + * Parse a human readable fiat value to a {@link com.dogecoin.dogecoinj.core.Fiat} instance. * * @throws NumberFormatException * if the string cannot be parsed for some reason diff --git a/core/src/main/java/org/bitcoinj/utils/TaggableObject.java b/core/src/main/java/com/dogecoin/dogecoinj/utils/TaggableObject.java similarity index 98% rename from core/src/main/java/org/bitcoinj/utils/TaggableObject.java rename to core/src/main/java/com/dogecoin/dogecoinj/utils/TaggableObject.java index 36eac85d..e2902ffd 100644 --- a/core/src/main/java/org/bitcoinj/utils/TaggableObject.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/utils/TaggableObject.java @@ -1,4 +1,4 @@ -package org.bitcoinj.utils; +package com.dogecoin.dogecoinj.utils; import com.google.protobuf.ByteString; diff --git a/core/src/main/java/org/bitcoinj/utils/Threading.java b/core/src/main/java/com/dogecoin/dogecoinj/utils/Threading.java similarity index 99% rename from core/src/main/java/org/bitcoinj/utils/Threading.java rename to core/src/main/java/com/dogecoin/dogecoinj/utils/Threading.java index 28a20f65..be73781f 100644 --- a/core/src/main/java/org/bitcoinj/utils/Threading.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/utils/Threading.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.bitcoinj.utils; +package com.dogecoin.dogecoinj.utils; import com.google.common.util.concurrent.CycleDetectingLockFactory; import com.google.common.util.concurrent.ListeningExecutorService; diff --git a/core/src/main/java/org/bitcoinj/utils/package-info.java b/core/src/main/java/com/dogecoin/dogecoinj/utils/package-info.java similarity index 86% rename from core/src/main/java/org/bitcoinj/utils/package-info.java rename to core/src/main/java/com/dogecoin/dogecoinj/utils/package-info.java index 756151a4..723eefae 100644 --- a/core/src/main/java/org/bitcoinj/utils/package-info.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/utils/package-info.java @@ -2,4 +2,4 @@ * Formatting monetary amounts, representing exchange rates, a program for loading Bitcoin Core saved block files, * a class to control how bitcoinj uses threads and misc other utility classes that don't fit anywhere else. */ -package org.bitcoinj.utils; \ No newline at end of file +package com.dogecoin.dogecoinj.utils; \ No newline at end of file diff --git a/core/src/main/java/org/bitcoinj/wallet/AbstractKeyChainEventListener.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/AbstractKeyChainEventListener.java similarity index 68% rename from core/src/main/java/org/bitcoinj/wallet/AbstractKeyChainEventListener.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/AbstractKeyChainEventListener.java index 9880271a..af2c705f 100644 --- a/core/src/main/java/org/bitcoinj/wallet/AbstractKeyChainEventListener.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/AbstractKeyChainEventListener.java @@ -1,6 +1,6 @@ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; -import org.bitcoinj.core.ECKey; +import com.dogecoin.dogecoinj.core.ECKey; import java.util.List; diff --git a/core/src/main/java/org/bitcoinj/wallet/AllowUnconfirmedCoinSelector.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/AllowUnconfirmedCoinSelector.java similarity index 90% rename from core/src/main/java/org/bitcoinj/wallet/AllowUnconfirmedCoinSelector.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/AllowUnconfirmedCoinSelector.java index 054ea75c..12dfe5d4 100644 --- a/core/src/main/java/org/bitcoinj/wallet/AllowUnconfirmedCoinSelector.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/AllowUnconfirmedCoinSelector.java @@ -1,6 +1,6 @@ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; -import org.bitcoinj.core.Transaction; +import com.dogecoin.dogecoinj.core.Transaction; /** * This coin selector will select any transaction at all, regardless of where it came from or whether it was diff --git a/core/src/main/java/org/bitcoinj/wallet/BasicKeyChain.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/BasicKeyChain.java similarity index 96% rename from core/src/main/java/org/bitcoinj/wallet/BasicKeyChain.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/BasicKeyChain.java index 30cc48a6..0a3918c6 100644 --- a/core/src/main/java/org/bitcoinj/wallet/BasicKeyChain.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/BasicKeyChain.java @@ -14,14 +14,14 @@ * limitations under the License. */ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; -import org.bitcoinj.core.BloomFilter; -import org.bitcoinj.core.ECKey; -import org.bitcoinj.crypto.*; -import org.bitcoinj.store.UnreadableWalletException; -import org.bitcoinj.utils.ListenerRegistration; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.core.BloomFilter; +import com.dogecoin.dogecoinj.core.ECKey; +import com.dogecoin.dogecoinj.crypto.*; +import com.dogecoin.dogecoinj.store.UnreadableWalletException; +import com.dogecoin.dogecoinj.utils.ListenerRegistration; +import com.dogecoin.dogecoinj.utils.Threading; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import com.google.protobuf.ByteString; @@ -316,8 +316,8 @@ public class BasicKeyChain implements EncryptableKeyChain { /** * Returns a new BasicKeyChain that contains all basic, ORIGINAL type keys and also any encrypted keys extracted * from the list. Unrecognised key types are ignored. - * @throws org.bitcoinj.store.UnreadableWalletException.BadPassword if the password doesn't seem to match - * @throws org.bitcoinj.store.UnreadableWalletException if the data structures are corrupted/inconsistent + * @throws com.dogecoin.dogecoinj.store.UnreadableWalletException.BadPassword if the password doesn't seem to match + * @throws com.dogecoin.dogecoinj.store.UnreadableWalletException if the data structures are corrupted/inconsistent */ public static BasicKeyChain fromProtobufEncrypted(List keys, KeyCrypter crypter) throws UnreadableWalletException { BasicKeyChain chain = new BasicKeyChain(checkNotNull(crypter)); @@ -401,7 +401,7 @@ public class BasicKeyChain implements EncryptableKeyChain { /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** - * Convenience wrapper around {@link #toEncrypted(org.bitcoinj.crypto.KeyCrypter, + * Convenience wrapper around {@link #toEncrypted(com.dogecoin.dogecoinj.crypto.KeyCrypter, * org.spongycastle.crypto.params.KeyParameter)} which uses the default Scrypt key derivation algorithm and * parameters, derives a key from the given password and returns the created key. */ @@ -416,7 +416,7 @@ public class BasicKeyChain implements EncryptableKeyChain { /** * Encrypt the wallet using the KeyCrypter and the AES key. A good default KeyCrypter to use is - * {@link org.bitcoinj.crypto.KeyCrypterScrypt}. + * {@link com.dogecoin.dogecoinj.crypto.KeyCrypterScrypt}. * * @param keyCrypter The KeyCrypter that specifies how to encrypt/ decrypt a key * @param aesKey AES key to use (normally created using KeyCrypter#deriveKey and cached as it is time consuming diff --git a/core/src/main/java/org/bitcoinj/wallet/CoinSelection.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/CoinSelection.java similarity index 83% rename from core/src/main/java/org/bitcoinj/wallet/CoinSelection.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/CoinSelection.java index ff4fba53..fed71e21 100644 --- a/core/src/main/java/org/bitcoinj/wallet/CoinSelection.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/CoinSelection.java @@ -1,7 +1,7 @@ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; -import org.bitcoinj.core.Coin; -import org.bitcoinj.core.TransactionOutput; +import com.dogecoin.dogecoinj.core.Coin; +import com.dogecoin.dogecoinj.core.TransactionOutput; import java.util.Collection; diff --git a/core/src/main/java/org/bitcoinj/wallet/CoinSelector.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/CoinSelector.java similarity index 85% rename from core/src/main/java/org/bitcoinj/wallet/CoinSelector.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/CoinSelector.java index c92d758f..466bb6df 100644 --- a/core/src/main/java/org/bitcoinj/wallet/CoinSelector.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/CoinSelector.java @@ -1,7 +1,7 @@ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; -import org.bitcoinj.core.Coin; -import org.bitcoinj.core.TransactionOutput; +import com.dogecoin.dogecoinj.core.Coin; +import com.dogecoin.dogecoinj.core.TransactionOutput; import java.util.List; diff --git a/core/src/main/java/org/bitcoinj/wallet/DecryptingKeyBag.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/DecryptingKeyBag.java similarity index 94% rename from core/src/main/java/org/bitcoinj/wallet/DecryptingKeyBag.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/DecryptingKeyBag.java index c82792e8..b7740dc6 100644 --- a/core/src/main/java/org/bitcoinj/wallet/DecryptingKeyBag.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/DecryptingKeyBag.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; -import org.bitcoinj.core.ECKey; +import com.dogecoin.dogecoinj.core.ECKey; import org.spongycastle.crypto.params.KeyParameter; import javax.annotation.Nullable; @@ -28,7 +28,7 @@ import static com.google.common.base.Preconditions.checkNotNull; /** * A DecryptingKeyBag filters a pre-existing key bag, decrypting keys as they are requested using the provided - * AES key. If the keys are encrypted and no AES key provided, {@link org.bitcoinj.core.ECKey.KeyIsEncryptedException} + * AES key. If the keys are encrypted and no AES key provided, {@link com.dogecoin.dogecoinj.core.ECKey.KeyIsEncryptedException} * will be thrown. */ public class DecryptingKeyBag implements KeyBag { diff --git a/core/src/main/java/org/bitcoinj/wallet/DefaultCoinSelector.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/DefaultCoinSelector.java similarity index 93% rename from core/src/main/java/org/bitcoinj/wallet/DefaultCoinSelector.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/DefaultCoinSelector.java index 164e57f8..c8d7ab16 100644 --- a/core/src/main/java/org/bitcoinj/wallet/DefaultCoinSelector.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/DefaultCoinSelector.java @@ -1,11 +1,11 @@ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; -import org.bitcoinj.core.Coin; -import org.bitcoinj.core.NetworkParameters; -import org.bitcoinj.core.Transaction; -import org.bitcoinj.core.TransactionConfidence; -import org.bitcoinj.core.TransactionOutput; -import org.bitcoinj.params.RegTestParams; +import com.dogecoin.dogecoinj.core.Coin; +import com.dogecoin.dogecoinj.core.NetworkParameters; +import com.dogecoin.dogecoinj.core.Transaction; +import com.dogecoin.dogecoinj.core.TransactionConfidence; +import com.dogecoin.dogecoinj.core.TransactionOutput; +import com.dogecoin.dogecoinj.params.RegTestParams; import com.google.common.annotations.VisibleForTesting; import java.math.BigInteger; diff --git a/core/src/main/java/org/bitcoinj/wallet/DefaultRiskAnalysis.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/DefaultRiskAnalysis.java similarity index 93% rename from core/src/main/java/org/bitcoinj/wallet/DefaultRiskAnalysis.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/DefaultRiskAnalysis.java index da8a0116..b8eddf0a 100644 --- a/core/src/main/java/org/bitcoinj/wallet/DefaultRiskAnalysis.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/DefaultRiskAnalysis.java @@ -15,16 +15,16 @@ * limitations under the License. */ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; -import org.bitcoinj.core.Coin; -import org.bitcoinj.core.NetworkParameters; -import org.bitcoinj.core.Transaction; -import org.bitcoinj.core.TransactionConfidence; -import org.bitcoinj.core.TransactionInput; -import org.bitcoinj.core.TransactionOutput; -import org.bitcoinj.core.Wallet; -import org.bitcoinj.script.ScriptChunk; +import com.dogecoin.dogecoinj.core.Coin; +import com.dogecoin.dogecoinj.core.NetworkParameters; +import com.dogecoin.dogecoinj.core.Transaction; +import com.dogecoin.dogecoinj.core.TransactionConfidence; +import com.dogecoin.dogecoinj.core.TransactionInput; +import com.dogecoin.dogecoinj.core.TransactionOutput; +import com.dogecoin.dogecoinj.core.Wallet; +import com.dogecoin.dogecoinj.script.ScriptChunk; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -101,7 +101,7 @@ public class DefaultRiskAnalysis implements RiskAnalysis { /** * The reason a transaction is considered non-standard, returned by - * {@link #isStandard(org.bitcoinj.core.Transaction)}. + * {@link #isStandard(com.dogecoin.dogecoinj.core.Transaction)}. */ public enum RuleViolation { NONE, diff --git a/core/src/main/java/org/bitcoinj/wallet/DeterministicKeyChain.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/DeterministicKeyChain.java similarity index 97% rename from core/src/main/java/org/bitcoinj/wallet/DeterministicKeyChain.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/DeterministicKeyChain.java index 1829a0ef..d2455c70 100644 --- a/core/src/main/java/org/bitcoinj/wallet/DeterministicKeyChain.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/DeterministicKeyChain.java @@ -14,16 +14,16 @@ * limitations under the License. */ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; -import org.bitcoinj.core.BloomFilter; -import org.bitcoinj.core.ECKey; -import org.bitcoinj.core.NetworkParameters; -import org.bitcoinj.core.Utils; -import org.bitcoinj.crypto.*; -import org.bitcoinj.script.Script; -import org.bitcoinj.store.UnreadableWalletException; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.core.BloomFilter; +import com.dogecoin.dogecoinj.core.ECKey; +import com.dogecoin.dogecoinj.core.NetworkParameters; +import com.dogecoin.dogecoinj.core.Utils; +import com.dogecoin.dogecoinj.crypto.*; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.store.UnreadableWalletException; +import com.dogecoin.dogecoinj.utils.Threading; import com.google.common.base.Joiner; import com.google.common.collect.ImmutableList; @@ -47,10 +47,10 @@ import static com.google.common.collect.Lists.newLinkedList; /** *

A deterministic key chain is a {@link KeyChain} that uses the * BIP 32 standard, as implemented by - * {@link org.bitcoinj.crypto.DeterministicHierarchy}, to derive all the keys in the keychain from a master seed. + * {@link com.dogecoin.dogecoinj.crypto.DeterministicHierarchy}, to derive all the keys in the keychain from a master seed. * This type of wallet is extremely convenient and flexible. Although backing up full wallet files is always a good * idea, to recover money only the root seed needs to be preserved and that is a number small enough that it can be - * written down on paper or, when represented using a BIP 39 {@link org.bitcoinj.crypto.MnemonicCode}, + * written down on paper or, when represented using a BIP 39 {@link com.dogecoin.dogecoinj.crypto.MnemonicCode}, * dictated over the phone (possibly even memorized).

* *

Deterministic key chains have other advantages: parts of the key tree can be selectively revealed to allow @@ -60,14 +60,14 @@ import static com.google.common.collect.Lists.newLinkedList; * A watching wallet is not instantiated using the public part of the master key as you may imagine. Instead, you * need to take the account key (first child of the master key) and provide the public part of that to the watching * wallet instead. You can do this by calling {@link #getWatchingKey()} and then serializing it with - * {@link org.bitcoinj.crypto.DeterministicKey#serializePubB58()}. The resulting "xpub..." string encodes + * {@link com.dogecoin.dogecoinj.crypto.DeterministicKey#serializePubB58()}. The resulting "xpub..." string encodes * sufficient information about the account key to create a watching chain via - * {@link org.bitcoinj.crypto.DeterministicKey#deserializeB58(org.bitcoinj.crypto.DeterministicKey, String)} + * {@link com.dogecoin.dogecoinj.crypto.DeterministicKey#deserializeB58(com.dogecoin.dogecoinj.crypto.DeterministicKey, String)} * (with null as the first parameter) and then - * {@link DeterministicKeyChain#DeterministicKeyChain(org.bitcoinj.crypto.DeterministicKey)}.

+ * {@link DeterministicKeyChain#DeterministicKeyChain(com.dogecoin.dogecoinj.crypto.DeterministicKey)}.

* - *

This class builds on {@link org.bitcoinj.crypto.DeterministicHierarchy} and - * {@link org.bitcoinj.crypto.DeterministicKey} by adding support for serialization to and from protobufs, + *

This class builds on {@link com.dogecoin.dogecoinj.crypto.DeterministicHierarchy} and + * {@link com.dogecoin.dogecoinj.crypto.DeterministicKey} by adding support for serialization to and from protobufs, * and encryption of parts of the key tree. Internally it arranges itself as per the BIP 32 spec, with the seed being * used to derive a master key, which is then used to derive an account key, the account key is used to derive two * child keys called the internal and external keys (for change and handing out addresses respectively) @@ -600,7 +600,7 @@ public class DeterministicKeyChain implements EncryptableKeyChain { /** *

An alias for getKeyByPath(DeterministicKeyChain.ACCOUNT_ZERO_PATH).getPubOnly(). * Use this when you would like to create a watching key chain that follows this one, but can't spend money from it. - * The returned key can be serialized and then passed into {@link #watch(org.bitcoinj.crypto.DeterministicKey)} + * The returned key can be serialized and then passed into {@link #watch(com.dogecoin.dogecoinj.crypto.DeterministicKey)} * on another system to watch the hierarchy.

*/ public DeterministicKey getWatchingKey() { @@ -1244,7 +1244,7 @@ public class DeterministicKeyChain implements EncryptableKeyChain { /** * Whether the keychain is married. A keychain is married when it vends P2SH addresses * from multiple keychains in a multisig relationship. - * @see org.bitcoinj.wallet.MarriedKeyChain + * @see com.dogecoin.dogecoinj.wallet.MarriedKeyChain */ public boolean isMarried() { return false; diff --git a/core/src/main/java/org/bitcoinj/wallet/DeterministicSeed.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/DeterministicSeed.java similarity index 95% rename from core/src/main/java/org/bitcoinj/wallet/DeterministicSeed.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/DeterministicSeed.java index c5b8aead..06d5ecfe 100644 --- a/core/src/main/java/org/bitcoinj/wallet/DeterministicSeed.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/DeterministicSeed.java @@ -15,10 +15,10 @@ * limitations under the License. */ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; -import org.bitcoinj.crypto.*; -import org.bitcoinj.store.UnreadableWalletException; +import com.dogecoin.dogecoinj.crypto.*; +import com.dogecoin.dogecoinj.store.UnreadableWalletException; import com.google.common.base.Charsets; import com.google.common.base.Joiner; import com.google.common.base.Preconditions; @@ -30,7 +30,7 @@ import java.io.UnsupportedEncodingException; import java.security.SecureRandom; import java.util.List; -import static org.bitcoinj.core.Utils.HEX; +import static com.dogecoin.dogecoinj.core.Utils.HEX; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; @@ -70,7 +70,7 @@ public class DeterministicSeed implements EncryptableItem { } /** - * Constructs a seed from a BIP 39 mnemonic code. See {@link org.bitcoinj.crypto.MnemonicCode} for more + * Constructs a seed from a BIP 39 mnemonic code. See {@link com.dogecoin.dogecoinj.crypto.MnemonicCode} for more * details on this scheme. * @param mnemonicCode A list of words. * @param seed The derived seed, or pass null to derive it from mnemonicCode (slow) @@ -82,7 +82,7 @@ public class DeterministicSeed implements EncryptableItem { } /** - * Constructs a seed from a BIP 39 mnemonic code. See {@link org.bitcoinj.crypto.MnemonicCode} for more + * Constructs a seed from a BIP 39 mnemonic code. See {@link com.dogecoin.dogecoinj.crypto.MnemonicCode} for more * details on this scheme. * @param random Entropy source * @param bits number of bits, must be divisible by 32 @@ -94,7 +94,7 @@ public class DeterministicSeed implements EncryptableItem { } /** - * Constructs a seed from a BIP 39 mnemonic code. See {@link org.bitcoinj.crypto.MnemonicCode} for more + * Constructs a seed from a BIP 39 mnemonic code. See {@link com.dogecoin.dogecoinj.crypto.MnemonicCode} for more * details on this scheme. * @param entropy entropy bits, length must be divisible by 32 * @param passphrase A user supplied passphrase, or an empty string if there is no passphrase @@ -237,7 +237,7 @@ public class DeterministicSeed implements EncryptableItem { * Check if our mnemonic is a valid mnemonic phrase for our word list. * Does nothing if we are encrypted. * - * @throws org.bitcoinj.crypto.MnemonicException if check fails + * @throws com.dogecoin.dogecoinj.crypto.MnemonicException if check fails */ public void check() throws MnemonicException { if (mnemonicCode != null) diff --git a/core/src/main/java/org/bitcoinj/wallet/DeterministicUpgradeRequiredException.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/DeterministicUpgradeRequiredException.java similarity index 87% rename from core/src/main/java/org/bitcoinj/wallet/DeterministicUpgradeRequiredException.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/DeterministicUpgradeRequiredException.java index fd8d5bf8..18f568d3 100644 --- a/core/src/main/java/org/bitcoinj/wallet/DeterministicUpgradeRequiredException.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/DeterministicUpgradeRequiredException.java @@ -1,4 +1,4 @@ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; /** * Indicates that an attempt was made to use HD wallet features on a wallet that was deserialized from an old, diff --git a/core/src/main/java/org/bitcoinj/wallet/DeterministicUpgradeRequiresPassword.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/DeterministicUpgradeRequiresPassword.java similarity index 91% rename from core/src/main/java/org/bitcoinj/wallet/DeterministicUpgradeRequiresPassword.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/DeterministicUpgradeRequiresPassword.java index 0199b20b..766e7aef 100644 --- a/core/src/main/java/org/bitcoinj/wallet/DeterministicUpgradeRequiresPassword.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/DeterministicUpgradeRequiresPassword.java @@ -1,4 +1,4 @@ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; /** * Indicates that the pre-HD random wallet is encrypted, so you should try the upgrade again after getting the diff --git a/core/src/main/java/org/bitcoinj/wallet/EncryptableKeyChain.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/EncryptableKeyChain.java similarity index 84% rename from core/src/main/java/org/bitcoinj/wallet/EncryptableKeyChain.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/EncryptableKeyChain.java index a4e9103c..33b16c1d 100644 --- a/core/src/main/java/org/bitcoinj/wallet/EncryptableKeyChain.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/EncryptableKeyChain.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; -import org.bitcoinj.crypto.KeyCrypter; -import org.bitcoinj.crypto.KeyCrypterException; +import com.dogecoin.dogecoinj.crypto.KeyCrypter; +import com.dogecoin.dogecoinj.crypto.KeyCrypterException; import org.spongycastle.crypto.params.KeyParameter; import javax.annotation.Nullable; @@ -28,8 +28,8 @@ import javax.annotation.Nullable; public interface EncryptableKeyChain extends KeyChain { /** * Takes the given password, which should be strong, derives a key from it and then invokes - * {@link #toEncrypted(org.bitcoinj.crypto.KeyCrypter, org.spongycastle.crypto.params.KeyParameter)} with - * {@link org.bitcoinj.crypto.KeyCrypterScrypt} as the crypter. + * {@link #toEncrypted(com.dogecoin.dogecoinj.crypto.KeyCrypter, org.spongycastle.crypto.params.KeyParameter)} with + * {@link com.dogecoin.dogecoinj.crypto.KeyCrypterScrypt} as the crypter. * * @return The derived key, in case you wish to cache it for future use. */ @@ -50,7 +50,7 @@ public interface EncryptableKeyChain extends KeyChain { /** * Decrypt the key chain with the given AES key and whatever {@link KeyCrypter} is already set. Note that if you * just want to spend money from an encrypted wallet, don't decrypt the whole thing first. Instead, set the - * {@link org.bitcoinj.core.Wallet.SendRequest#aesKey} field before asking the wallet to build the send. + * {@link com.dogecoin.dogecoinj.core.Wallet.SendRequest#aesKey} field before asking the wallet to build the send. * * @param aesKey AES key to use (normally created using KeyCrypter#deriveKey and cached as it is time consuming to * create from a password) diff --git a/core/src/main/java/org/bitcoinj/wallet/FilteringCoinSelector.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/FilteringCoinSelector.java similarity index 95% rename from core/src/main/java/org/bitcoinj/wallet/FilteringCoinSelector.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/FilteringCoinSelector.java index a500b839..0c79735a 100644 --- a/core/src/main/java/org/bitcoinj/wallet/FilteringCoinSelector.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/FilteringCoinSelector.java @@ -15,9 +15,9 @@ */ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; -import org.bitcoinj.core.*; +import com.dogecoin.dogecoinj.core.*; import java.util.HashSet; import java.util.Iterator; diff --git a/core/src/main/java/org/bitcoinj/wallet/KeyBag.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/KeyBag.java similarity index 95% rename from core/src/main/java/org/bitcoinj/wallet/KeyBag.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/KeyBag.java index 231db858..04b8d401 100644 --- a/core/src/main/java/org/bitcoinj/wallet/KeyBag.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/KeyBag.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; -import org.bitcoinj.core.ECKey; +import com.dogecoin.dogecoinj.core.ECKey; import javax.annotation.Nullable; diff --git a/core/src/main/java/org/bitcoinj/wallet/KeyChain.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/KeyChain.java similarity index 93% rename from core/src/main/java/org/bitcoinj/wallet/KeyChain.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/KeyChain.java index 33119780..7a5b4685 100644 --- a/core/src/main/java/org/bitcoinj/wallet/KeyChain.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/KeyChain.java @@ -14,16 +14,16 @@ * limitations under the License. */ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; -import org.bitcoinj.core.BloomFilter; -import org.bitcoinj.core.ECKey; +import com.dogecoin.dogecoinj.core.BloomFilter; +import com.dogecoin.dogecoinj.core.ECKey; import java.util.List; import java.util.concurrent.Executor; /** - *

A KeyChain is a class that stores a collection of keys for a {@link org.bitcoinj.core.Wallet}. Key chains + *

A KeyChain is a class that stores a collection of keys for a {@link com.dogecoin.dogecoinj.core.Wallet}. Key chains * are expected to be able to look up keys given a hash (i.e. address) or pubkey bytes, and provide keys on request * for a given purpose. They can inform event listeners about new keys being added.

* @@ -87,7 +87,7 @@ public interface KeyChain { *

This is used to generate a {@link BloomFilter} which can be {@link BloomFilter#merge(BloomFilter)}d with * another. It could also be used if you have a specific target for the filter's size.

* - *

See the docs for {@link org.bitcoinj.core.BloomFilter#BloomFilter(int, double, long)} for a brief + *

See the docs for {@link com.dogecoin.dogecoinj.core.BloomFilter#BloomFilter(int, double, long)} for a brief * explanation of anonymity when using bloom filters, and for the meaning of these parameters.

*/ public BloomFilter getFilter(int size, double falsePositiveRate, long tweak); diff --git a/core/src/main/java/org/bitcoinj/wallet/KeyChainEventListener.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/KeyChainEventListener.java similarity index 92% rename from core/src/main/java/org/bitcoinj/wallet/KeyChainEventListener.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/KeyChainEventListener.java index ba50ccec..6f9aed6e 100644 --- a/core/src/main/java/org/bitcoinj/wallet/KeyChainEventListener.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/KeyChainEventListener.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; -import org.bitcoinj.core.ECKey; +import com.dogecoin.dogecoinj.core.ECKey; import java.util.List; diff --git a/core/src/main/java/org/bitcoinj/wallet/KeyChainGroup.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/KeyChainGroup.java similarity index 97% rename from core/src/main/java/org/bitcoinj/wallet/KeyChainGroup.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/KeyChainGroup.java index 1a6ff59e..0d23f260 100644 --- a/core/src/main/java/org/bitcoinj/wallet/KeyChainGroup.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/KeyChainGroup.java @@ -15,17 +15,17 @@ * limitations under the License. */ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; -import org.bitcoinj.core.*; -import org.bitcoinj.crypto.ChildNumber; -import org.bitcoinj.crypto.DeterministicKey; -import org.bitcoinj.crypto.KeyCrypter; -import org.bitcoinj.script.Script; -import org.bitcoinj.script.ScriptBuilder; -import org.bitcoinj.store.UnreadableWalletException; -import org.bitcoinj.utils.ListenerRegistration; -import org.bitcoinj.utils.Threading; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.crypto.ChildNumber; +import com.dogecoin.dogecoinj.crypto.DeterministicKey; +import com.dogecoin.dogecoinj.crypto.KeyCrypter; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.script.ScriptBuilder; +import com.dogecoin.dogecoinj.store.UnreadableWalletException; +import com.dogecoin.dogecoinj.utils.ListenerRegistration; +import com.dogecoin.dogecoinj.utils.Threading; import com.google.common.base.Joiner; import com.google.common.collect.HashMultimap; @@ -45,7 +45,7 @@ import java.util.concurrent.Executor; import static com.google.common.base.Preconditions.*; /** - *

A KeyChainGroup is used by the {@link org.bitcoinj.core.Wallet} and + *

A KeyChainGroup is used by the {@link com.dogecoin.dogecoinj.core.Wallet} and * manages: a {@link BasicKeyChain} object (which will normally be empty), and zero or more * {@link DeterministicKeyChain}s. A deterministic key chain will be created lazily/on demand * when a fresh or current key is requested, possibly being initialized from the private key bytes of the earliest non @@ -453,7 +453,7 @@ public class KeyChainGroup implements KeyBag { /** * Whether the active keychain is married. A keychain is married when it vends P2SH addresses * from multiple keychains in a multisig relationship. - * @see org.bitcoinj.wallet.MarriedKeyChain + * @see com.dogecoin.dogecoinj.wallet.MarriedKeyChain */ public boolean isMarried() { return !chains.isEmpty() && getActiveKeyChain().isMarried(); @@ -461,9 +461,9 @@ public class KeyChainGroup implements KeyBag { /** * Encrypt the keys in the group using the KeyCrypter and the AES key. A good default KeyCrypter to use is - * {@link org.bitcoinj.crypto.KeyCrypterScrypt}. + * {@link com.dogecoin.dogecoinj.crypto.KeyCrypterScrypt}. * - * @throws org.bitcoinj.crypto.KeyCrypterException Thrown if the wallet encryption fails for some reason, + * @throws com.dogecoin.dogecoinj.crypto.KeyCrypterException Thrown if the wallet encryption fails for some reason, * leaving the group unchanged. * @throws DeterministicUpgradeRequiredException Thrown if there are random keys but no HD chain. */ @@ -488,9 +488,9 @@ public class KeyChainGroup implements KeyBag { /** * Decrypt the keys in the group using the previously given key crypter and the AES key. A good default - * KeyCrypter to use is {@link org.bitcoinj.crypto.KeyCrypterScrypt}. + * KeyCrypter to use is {@link com.dogecoin.dogecoinj.crypto.KeyCrypterScrypt}. * - * @throws org.bitcoinj.crypto.KeyCrypterException Thrown if the wallet decryption fails for some reason, leaving the group unchanged. + * @throws com.dogecoin.dogecoinj.crypto.KeyCrypterException Thrown if the wallet decryption fails for some reason, leaving the group unchanged. */ public void decrypt(KeyParameter aesKey) { // This code must be exception safe. diff --git a/core/src/main/java/org/bitcoinj/wallet/KeyTimeCoinSelector.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/KeyTimeCoinSelector.java similarity index 93% rename from core/src/main/java/org/bitcoinj/wallet/KeyTimeCoinSelector.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/KeyTimeCoinSelector.java index 56a2199a..14a54a2c 100644 --- a/core/src/main/java/org/bitcoinj/wallet/KeyTimeCoinSelector.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/KeyTimeCoinSelector.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; -import org.bitcoinj.core.*; -import org.bitcoinj.script.Script; +import com.dogecoin.dogecoinj.core.*; +import com.dogecoin.dogecoinj.script.Script; import com.google.common.collect.Lists; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -34,7 +34,7 @@ import static com.google.common.base.Preconditions.checkNotNull; public class KeyTimeCoinSelector implements CoinSelector { private static final Logger log = LoggerFactory.getLogger(KeyTimeCoinSelector.class); - /** A number of inputs chosen to avoid hitting {@link org.bitcoinj.core.Transaction.MAX_STANDARD_TX_SIZE} */ + /** A number of inputs chosen to avoid hitting {@link com.dogecoin.dogecoinj.core.Transaction.MAX_STANDARD_TX_SIZE} */ public static final int MAX_SIMULTANEOUS_INPUTS = 600; private final long unixTimeSeconds; diff --git a/core/src/main/java/org/bitcoinj/wallet/MarriedKeyChain.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/MarriedKeyChain.java similarity index 96% rename from core/src/main/java/org/bitcoinj/wallet/MarriedKeyChain.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/MarriedKeyChain.java index d08e8457..bc03b0a7 100644 --- a/core/src/main/java/org/bitcoinj/wallet/MarriedKeyChain.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/MarriedKeyChain.java @@ -14,20 +14,20 @@ * limitations under the License. */ -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import com.google.protobuf.ByteString; -import org.bitcoinj.core.BloomFilter; -import org.bitcoinj.core.ECKey; -import org.bitcoinj.core.NetworkParameters; -import org.bitcoinj.core.Utils; -import org.bitcoinj.crypto.DeterministicKey; -import org.bitcoinj.crypto.KeyCrypter; -import org.bitcoinj.script.Script; -import org.bitcoinj.script.ScriptBuilder; +import com.dogecoin.dogecoinj.core.BloomFilter; +import com.dogecoin.dogecoinj.core.ECKey; +import com.dogecoin.dogecoinj.core.NetworkParameters; +import com.dogecoin.dogecoinj.core.Utils; +import com.dogecoin.dogecoinj.crypto.DeterministicKey; +import com.dogecoin.dogecoinj.crypto.KeyCrypter; +import com.dogecoin.dogecoinj.script.Script; +import com.dogecoin.dogecoinj.script.ScriptBuilder; import java.security.SecureRandom; import java.util.LinkedHashMap; diff --git a/core/src/main/java/org/bitcoinj/wallet/Protos.java b/core/src/main/java/com/dogecoin/dogecoinj/wallet/Protos.java similarity index 85% rename from core/src/main/java/org/bitcoinj/wallet/Protos.java rename to core/src/main/java/com/dogecoin/dogecoinj/wallet/Protos.java index f10b447f..d3a2b0c5 100644 --- a/core/src/main/java/org/bitcoinj/wallet/Protos.java +++ b/core/src/main/java/com/dogecoin/dogecoinj/wallet/Protos.java @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: wallet.proto -package org.bitcoinj.wallet; +package com.dogecoin.dogecoinj.wallet; public final class Protos { private Protos() {} @@ -121,14 +121,14 @@ public final class Protos { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_PeerAddress_descriptor; + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_PeerAddress_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_PeerAddress_fieldAccessorTable + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_PeerAddress_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.bitcoinj.wallet.Protos.PeerAddress.class, org.bitcoinj.wallet.Protos.PeerAddress.Builder.class); + com.dogecoin.dogecoinj.wallet.Protos.PeerAddress.class, com.dogecoin.dogecoinj.wallet.Protos.PeerAddress.Builder.class); } public static com.google.protobuf.Parser PARSER = @@ -266,53 +266,53 @@ public final class Protos { return super.writeReplace(); } - public static org.bitcoinj.wallet.Protos.PeerAddress parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.PeerAddress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.bitcoinj.wallet.Protos.PeerAddress parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.PeerAddress parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.bitcoinj.wallet.Protos.PeerAddress parseFrom(byte[] data) + public static com.dogecoin.dogecoinj.wallet.Protos.PeerAddress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.bitcoinj.wallet.Protos.PeerAddress parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.PeerAddress parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.bitcoinj.wallet.Protos.PeerAddress parseFrom(java.io.InputStream input) + public static com.dogecoin.dogecoinj.wallet.Protos.PeerAddress parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static org.bitcoinj.wallet.Protos.PeerAddress parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.PeerAddress parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static org.bitcoinj.wallet.Protos.PeerAddress parseDelimitedFrom(java.io.InputStream input) + public static com.dogecoin.dogecoinj.wallet.Protos.PeerAddress parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static org.bitcoinj.wallet.Protos.PeerAddress parseDelimitedFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.PeerAddress parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static org.bitcoinj.wallet.Protos.PeerAddress parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.PeerAddress parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static org.bitcoinj.wallet.Protos.PeerAddress parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.PeerAddress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -321,7 +321,7 @@ public final class Protos { public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(org.bitcoinj.wallet.Protos.PeerAddress prototype) { + public static Builder newBuilder(com.dogecoin.dogecoinj.wallet.Protos.PeerAddress prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @@ -337,20 +337,20 @@ public final class Protos { */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements org.bitcoinj.wallet.Protos.PeerAddressOrBuilder { + implements com.dogecoin.dogecoinj.wallet.Protos.PeerAddressOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_PeerAddress_descriptor; + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_PeerAddress_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_PeerAddress_fieldAccessorTable + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_PeerAddress_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.bitcoinj.wallet.Protos.PeerAddress.class, org.bitcoinj.wallet.Protos.PeerAddress.Builder.class); + com.dogecoin.dogecoinj.wallet.Protos.PeerAddress.class, com.dogecoin.dogecoinj.wallet.Protos.PeerAddress.Builder.class); } - // Construct using org.bitcoinj.wallet.Protos.PeerAddress.newBuilder() + // Construct using com.dogecoin.dogecoinj.wallet.Protos.PeerAddress.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -385,23 +385,23 @@ public final class Protos { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_PeerAddress_descriptor; + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_PeerAddress_descriptor; } - public org.bitcoinj.wallet.Protos.PeerAddress getDefaultInstanceForType() { - return org.bitcoinj.wallet.Protos.PeerAddress.getDefaultInstance(); + public com.dogecoin.dogecoinj.wallet.Protos.PeerAddress getDefaultInstanceForType() { + return com.dogecoin.dogecoinj.wallet.Protos.PeerAddress.getDefaultInstance(); } - public org.bitcoinj.wallet.Protos.PeerAddress build() { - org.bitcoinj.wallet.Protos.PeerAddress result = buildPartial(); + public com.dogecoin.dogecoinj.wallet.Protos.PeerAddress build() { + com.dogecoin.dogecoinj.wallet.Protos.PeerAddress result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public org.bitcoinj.wallet.Protos.PeerAddress buildPartial() { - org.bitcoinj.wallet.Protos.PeerAddress result = new org.bitcoinj.wallet.Protos.PeerAddress(this); + public com.dogecoin.dogecoinj.wallet.Protos.PeerAddress buildPartial() { + com.dogecoin.dogecoinj.wallet.Protos.PeerAddress result = new com.dogecoin.dogecoinj.wallet.Protos.PeerAddress(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -422,16 +422,16 @@ public final class Protos { } public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.bitcoinj.wallet.Protos.PeerAddress) { - return mergeFrom((org.bitcoinj.wallet.Protos.PeerAddress)other); + if (other instanceof com.dogecoin.dogecoinj.wallet.Protos.PeerAddress) { + return mergeFrom((com.dogecoin.dogecoinj.wallet.Protos.PeerAddress)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(org.bitcoinj.wallet.Protos.PeerAddress other) { - if (other == org.bitcoinj.wallet.Protos.PeerAddress.getDefaultInstance()) return this; + public Builder mergeFrom(com.dogecoin.dogecoinj.wallet.Protos.PeerAddress other) { + if (other == com.dogecoin.dogecoinj.wallet.Protos.PeerAddress.getDefaultInstance()) return this; if (other.hasIpAddress()) { setIpAddress(other.getIpAddress()); } @@ -465,11 +465,11 @@ public final class Protos { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.bitcoinj.wallet.Protos.PeerAddress parsedMessage = null; + com.dogecoin.dogecoinj.wallet.Protos.PeerAddress parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.bitcoinj.wallet.Protos.PeerAddress) e.getUnfinishedMessage(); + parsedMessage = (com.dogecoin.dogecoinj.wallet.Protos.PeerAddress) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { @@ -707,14 +707,14 @@ public final class Protos { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_EncryptedData_descriptor; + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_EncryptedData_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_EncryptedData_fieldAccessorTable + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_EncryptedData_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.bitcoinj.wallet.Protos.EncryptedData.class, org.bitcoinj.wallet.Protos.EncryptedData.Builder.class); + com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.class, com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.Builder.class); } public static com.google.protobuf.Parser PARSER = @@ -840,53 +840,53 @@ public final class Protos { return super.writeReplace(); } - public static org.bitcoinj.wallet.Protos.EncryptedData parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.EncryptedData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.bitcoinj.wallet.Protos.EncryptedData parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.EncryptedData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.bitcoinj.wallet.Protos.EncryptedData parseFrom(byte[] data) + public static com.dogecoin.dogecoinj.wallet.Protos.EncryptedData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.bitcoinj.wallet.Protos.EncryptedData parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.EncryptedData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.bitcoinj.wallet.Protos.EncryptedData parseFrom(java.io.InputStream input) + public static com.dogecoin.dogecoinj.wallet.Protos.EncryptedData parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static org.bitcoinj.wallet.Protos.EncryptedData parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.EncryptedData parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static org.bitcoinj.wallet.Protos.EncryptedData parseDelimitedFrom(java.io.InputStream input) + public static com.dogecoin.dogecoinj.wallet.Protos.EncryptedData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static org.bitcoinj.wallet.Protos.EncryptedData parseDelimitedFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.EncryptedData parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static org.bitcoinj.wallet.Protos.EncryptedData parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.EncryptedData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static org.bitcoinj.wallet.Protos.EncryptedData parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.EncryptedData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -895,7 +895,7 @@ public final class Protos { public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(org.bitcoinj.wallet.Protos.EncryptedData prototype) { + public static Builder newBuilder(com.dogecoin.dogecoinj.wallet.Protos.EncryptedData prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @@ -911,20 +911,20 @@ public final class Protos { */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements org.bitcoinj.wallet.Protos.EncryptedDataOrBuilder { + implements com.dogecoin.dogecoinj.wallet.Protos.EncryptedDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_EncryptedData_descriptor; + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_EncryptedData_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_EncryptedData_fieldAccessorTable + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_EncryptedData_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.bitcoinj.wallet.Protos.EncryptedData.class, org.bitcoinj.wallet.Protos.EncryptedData.Builder.class); + com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.class, com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.Builder.class); } - // Construct using org.bitcoinj.wallet.Protos.EncryptedData.newBuilder() + // Construct using com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -957,23 +957,23 @@ public final class Protos { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_EncryptedData_descriptor; + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_EncryptedData_descriptor; } - public org.bitcoinj.wallet.Protos.EncryptedData getDefaultInstanceForType() { - return org.bitcoinj.wallet.Protos.EncryptedData.getDefaultInstance(); + public com.dogecoin.dogecoinj.wallet.Protos.EncryptedData getDefaultInstanceForType() { + return com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.getDefaultInstance(); } - public org.bitcoinj.wallet.Protos.EncryptedData build() { - org.bitcoinj.wallet.Protos.EncryptedData result = buildPartial(); + public com.dogecoin.dogecoinj.wallet.Protos.EncryptedData build() { + com.dogecoin.dogecoinj.wallet.Protos.EncryptedData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public org.bitcoinj.wallet.Protos.EncryptedData buildPartial() { - org.bitcoinj.wallet.Protos.EncryptedData result = new org.bitcoinj.wallet.Protos.EncryptedData(this); + public com.dogecoin.dogecoinj.wallet.Protos.EncryptedData buildPartial() { + com.dogecoin.dogecoinj.wallet.Protos.EncryptedData result = new com.dogecoin.dogecoinj.wallet.Protos.EncryptedData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -990,16 +990,16 @@ public final class Protos { } public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.bitcoinj.wallet.Protos.EncryptedData) { - return mergeFrom((org.bitcoinj.wallet.Protos.EncryptedData)other); + if (other instanceof com.dogecoin.dogecoinj.wallet.Protos.EncryptedData) { + return mergeFrom((com.dogecoin.dogecoinj.wallet.Protos.EncryptedData)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(org.bitcoinj.wallet.Protos.EncryptedData other) { - if (other == org.bitcoinj.wallet.Protos.EncryptedData.getDefaultInstance()) return this; + public Builder mergeFrom(com.dogecoin.dogecoinj.wallet.Protos.EncryptedData other) { + if (other == com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.getDefaultInstance()) return this; if (other.hasInitialisationVector()) { setInitialisationVector(other.getInitialisationVector()); } @@ -1026,11 +1026,11 @@ public final class Protos { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.bitcoinj.wallet.Protos.EncryptedData parsedMessage = null; + com.dogecoin.dogecoinj.wallet.Protos.EncryptedData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.bitcoinj.wallet.Protos.EncryptedData) e.getUnfinishedMessage(); + parsedMessage = (com.dogecoin.dogecoinj.wallet.Protos.EncryptedData) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { @@ -1409,14 +1409,14 @@ public final class Protos { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_DeterministicKey_descriptor; + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_DeterministicKey_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_DeterministicKey_fieldAccessorTable + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_DeterministicKey_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.bitcoinj.wallet.Protos.DeterministicKey.class, org.bitcoinj.wallet.Protos.DeterministicKey.Builder.class); + com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.class, com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.Builder.class); } public static com.google.protobuf.Parser PARSER = @@ -1697,53 +1697,53 @@ public final class Protos { return super.writeReplace(); } - public static org.bitcoinj.wallet.Protos.DeterministicKey parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.bitcoinj.wallet.Protos.DeterministicKey parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.bitcoinj.wallet.Protos.DeterministicKey parseFrom(byte[] data) + public static com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.bitcoinj.wallet.Protos.DeterministicKey parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.bitcoinj.wallet.Protos.DeterministicKey parseFrom(java.io.InputStream input) + public static com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static org.bitcoinj.wallet.Protos.DeterministicKey parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static org.bitcoinj.wallet.Protos.DeterministicKey parseDelimitedFrom(java.io.InputStream input) + public static com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static org.bitcoinj.wallet.Protos.DeterministicKey parseDelimitedFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static org.bitcoinj.wallet.Protos.DeterministicKey parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static org.bitcoinj.wallet.Protos.DeterministicKey parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -1752,7 +1752,7 @@ public final class Protos { public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(org.bitcoinj.wallet.Protos.DeterministicKey prototype) { + public static Builder newBuilder(com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @@ -1773,20 +1773,20 @@ public final class Protos { */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements org.bitcoinj.wallet.Protos.DeterministicKeyOrBuilder { + implements com.dogecoin.dogecoinj.wallet.Protos.DeterministicKeyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_DeterministicKey_descriptor; + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_DeterministicKey_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_DeterministicKey_fieldAccessorTable + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_DeterministicKey_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.bitcoinj.wallet.Protos.DeterministicKey.class, org.bitcoinj.wallet.Protos.DeterministicKey.Builder.class); + com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.class, com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.Builder.class); } - // Construct using org.bitcoinj.wallet.Protos.DeterministicKey.newBuilder() + // Construct using com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -1827,23 +1827,23 @@ public final class Protos { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_DeterministicKey_descriptor; + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_DeterministicKey_descriptor; } - public org.bitcoinj.wallet.Protos.DeterministicKey getDefaultInstanceForType() { - return org.bitcoinj.wallet.Protos.DeterministicKey.getDefaultInstance(); + public com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey getDefaultInstanceForType() { + return com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.getDefaultInstance(); } - public org.bitcoinj.wallet.Protos.DeterministicKey build() { - org.bitcoinj.wallet.Protos.DeterministicKey result = buildPartial(); + public com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey build() { + com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public org.bitcoinj.wallet.Protos.DeterministicKey buildPartial() { - org.bitcoinj.wallet.Protos.DeterministicKey result = new org.bitcoinj.wallet.Protos.DeterministicKey(this); + public com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey buildPartial() { + com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey result = new com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -1877,16 +1877,16 @@ public final class Protos { } public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.bitcoinj.wallet.Protos.DeterministicKey) { - return mergeFrom((org.bitcoinj.wallet.Protos.DeterministicKey)other); + if (other instanceof com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey) { + return mergeFrom((com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(org.bitcoinj.wallet.Protos.DeterministicKey other) { - if (other == org.bitcoinj.wallet.Protos.DeterministicKey.getDefaultInstance()) return this; + public Builder mergeFrom(com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey other) { + if (other == com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.getDefaultInstance()) return this; if (other.hasChainCode()) { setChainCode(other.getChainCode()); } @@ -1928,11 +1928,11 @@ public final class Protos { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.bitcoinj.wallet.Protos.DeterministicKey parsedMessage = null; + com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.bitcoinj.wallet.Protos.DeterministicKey) e.getUnfinishedMessage(); + parsedMessage = (com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { @@ -2338,7 +2338,7 @@ public final class Protos { /** * required .wallet.Key.Type type = 1; */ - org.bitcoinj.wallet.Protos.Key.Type getType(); + com.dogecoin.dogecoinj.wallet.Protos.Key.Type getType(); // optional bytes secret_bytes = 2; /** @@ -2376,7 +2376,7 @@ public final class Protos { * If the secret data is encrypted, then secret_bytes is missing and this field is set. * */ - org.bitcoinj.wallet.Protos.EncryptedData getEncryptedData(); + com.dogecoin.dogecoinj.wallet.Protos.EncryptedData getEncryptedData(); /** * optional .wallet.EncryptedData encrypted_data = 6; * @@ -2384,7 +2384,7 @@ public final class Protos { * If the secret data is encrypted, then secret_bytes is missing and this field is set. * */ - org.bitcoinj.wallet.Protos.EncryptedDataOrBuilder getEncryptedDataOrBuilder(); + com.dogecoin.dogecoinj.wallet.Protos.EncryptedDataOrBuilder getEncryptedDataOrBuilder(); // optional bytes public_key = 3; /** @@ -2461,11 +2461,11 @@ public final class Protos { /** * optional .wallet.DeterministicKey deterministic_key = 7; */ - org.bitcoinj.wallet.Protos.DeterministicKey getDeterministicKey(); + com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey getDeterministicKey(); /** * optional .wallet.DeterministicKey deterministic_key = 7; */ - org.bitcoinj.wallet.Protos.DeterministicKeyOrBuilder getDeterministicKeyOrBuilder(); + com.dogecoin.dogecoinj.wallet.Protos.DeterministicKeyOrBuilder getDeterministicKeyOrBuilder(); // optional bytes deterministic_seed = 8; /** @@ -2503,7 +2503,7 @@ public final class Protos { * Encrypted version of the seed * */ - org.bitcoinj.wallet.Protos.EncryptedData getEncryptedDeterministicSeed(); + com.dogecoin.dogecoinj.wallet.Protos.EncryptedData getEncryptedDeterministicSeed(); /** * optional .wallet.EncryptedData encrypted_deterministic_seed = 9; * @@ -2511,7 +2511,7 @@ public final class Protos { * Encrypted version of the seed * */ - org.bitcoinj.wallet.Protos.EncryptedDataOrBuilder getEncryptedDeterministicSeedOrBuilder(); + com.dogecoin.dogecoinj.wallet.Protos.EncryptedDataOrBuilder getEncryptedDeterministicSeedOrBuilder(); } /** * Protobuf type {@code wallet.Key} @@ -2577,7 +2577,7 @@ public final class Protos { } case 8: { int rawValue = input.readEnum(); - org.bitcoinj.wallet.Protos.Key.Type value = org.bitcoinj.wallet.Protos.Key.Type.valueOf(rawValue); + com.dogecoin.dogecoinj.wallet.Protos.Key.Type value = com.dogecoin.dogecoinj.wallet.Protos.Key.Type.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { @@ -2607,11 +2607,11 @@ public final class Protos { break; } case 50: { - org.bitcoinj.wallet.Protos.EncryptedData.Builder subBuilder = null; + com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = encryptedData_.toBuilder(); } - encryptedData_ = input.readMessage(org.bitcoinj.wallet.Protos.EncryptedData.PARSER, extensionRegistry); + encryptedData_ = input.readMessage(com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(encryptedData_); encryptedData_ = subBuilder.buildPartial(); @@ -2620,11 +2620,11 @@ public final class Protos { break; } case 58: { - org.bitcoinj.wallet.Protos.DeterministicKey.Builder subBuilder = null; + com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.Builder subBuilder = null; if (((bitField0_ & 0x00000040) == 0x00000040)) { subBuilder = deterministicKey_.toBuilder(); } - deterministicKey_ = input.readMessage(org.bitcoinj.wallet.Protos.DeterministicKey.PARSER, extensionRegistry); + deterministicKey_ = input.readMessage(com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(deterministicKey_); deterministicKey_ = subBuilder.buildPartial(); @@ -2638,11 +2638,11 @@ public final class Protos { break; } case 74: { - org.bitcoinj.wallet.Protos.EncryptedData.Builder subBuilder = null; + com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.Builder subBuilder = null; if (((bitField0_ & 0x00000100) == 0x00000100)) { subBuilder = encryptedDeterministicSeed_.toBuilder(); } - encryptedDeterministicSeed_ = input.readMessage(org.bitcoinj.wallet.Protos.EncryptedData.PARSER, extensionRegistry); + encryptedDeterministicSeed_ = input.readMessage(com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(encryptedDeterministicSeed_); encryptedDeterministicSeed_ = subBuilder.buildPartial(); @@ -2664,14 +2664,14 @@ public final class Protos { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_Key_descriptor; + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_Key_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_Key_fieldAccessorTable + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_Key_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.bitcoinj.wallet.Protos.Key.class, org.bitcoinj.wallet.Protos.Key.Builder.class); + com.dogecoin.dogecoinj.wallet.Protos.Key.class, com.dogecoin.dogecoinj.wallet.Protos.Key.Builder.class); } public static com.google.protobuf.Parser PARSER = @@ -2810,7 +2810,7 @@ public final class Protos { } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return org.bitcoinj.wallet.Protos.Key.getDescriptor().getEnumTypes().get(0); + return com.dogecoin.dogecoinj.wallet.Protos.Key.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); @@ -2838,7 +2838,7 @@ public final class Protos { private int bitField0_; // required .wallet.Key.Type type = 1; public static final int TYPE_FIELD_NUMBER = 1; - private org.bitcoinj.wallet.Protos.Key.Type type_; + private com.dogecoin.dogecoinj.wallet.Protos.Key.Type type_; /** * required .wallet.Key.Type type = 1; */ @@ -2848,7 +2848,7 @@ public final class Protos { /** * required .wallet.Key.Type type = 1; */ - public org.bitcoinj.wallet.Protos.Key.Type getType() { + public com.dogecoin.dogecoinj.wallet.Protos.Key.Type getType() { return type_; } @@ -2880,7 +2880,7 @@ public final class Protos { // optional .wallet.EncryptedData encrypted_data = 6; public static final int ENCRYPTED_DATA_FIELD_NUMBER = 6; - private org.bitcoinj.wallet.Protos.EncryptedData encryptedData_; + private com.dogecoin.dogecoinj.wallet.Protos.EncryptedData encryptedData_; /** * optional .wallet.EncryptedData encrypted_data = 6; * @@ -2898,7 +2898,7 @@ public final class Protos { * If the secret data is encrypted, then secret_bytes is missing and this field is set. * */ - public org.bitcoinj.wallet.Protos.EncryptedData getEncryptedData() { + public com.dogecoin.dogecoinj.wallet.Protos.EncryptedData getEncryptedData() { return encryptedData_; } /** @@ -2908,7 +2908,7 @@ public final class Protos { * If the secret data is encrypted, then secret_bytes is missing and this field is set. * */ - public org.bitcoinj.wallet.Protos.EncryptedDataOrBuilder getEncryptedDataOrBuilder() { + public com.dogecoin.dogecoinj.wallet.Protos.EncryptedDataOrBuilder getEncryptedDataOrBuilder() { return encryptedData_; } @@ -3021,7 +3021,7 @@ public final class Protos { // optional .wallet.DeterministicKey deterministic_key = 7; public static final int DETERMINISTIC_KEY_FIELD_NUMBER = 7; - private org.bitcoinj.wallet.Protos.DeterministicKey deterministicKey_; + private com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey deterministicKey_; /** * optional .wallet.DeterministicKey deterministic_key = 7; */ @@ -3031,13 +3031,13 @@ public final class Protos { /** * optional .wallet.DeterministicKey deterministic_key = 7; */ - public org.bitcoinj.wallet.Protos.DeterministicKey getDeterministicKey() { + public com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey getDeterministicKey() { return deterministicKey_; } /** * optional .wallet.DeterministicKey deterministic_key = 7; */ - public org.bitcoinj.wallet.Protos.DeterministicKeyOrBuilder getDeterministicKeyOrBuilder() { + public com.dogecoin.dogecoinj.wallet.Protos.DeterministicKeyOrBuilder getDeterministicKeyOrBuilder() { return deterministicKey_; } @@ -3069,7 +3069,7 @@ public final class Protos { // optional .wallet.EncryptedData encrypted_deterministic_seed = 9; public static final int ENCRYPTED_DETERMINISTIC_SEED_FIELD_NUMBER = 9; - private org.bitcoinj.wallet.Protos.EncryptedData encryptedDeterministicSeed_; + private com.dogecoin.dogecoinj.wallet.Protos.EncryptedData encryptedDeterministicSeed_; /** * optional .wallet.EncryptedData encrypted_deterministic_seed = 9; * @@ -3087,7 +3087,7 @@ public final class Protos { * Encrypted version of the seed * */ - public org.bitcoinj.wallet.Protos.EncryptedData getEncryptedDeterministicSeed() { + public com.dogecoin.dogecoinj.wallet.Protos.EncryptedData getEncryptedDeterministicSeed() { return encryptedDeterministicSeed_; } /** @@ -3097,20 +3097,20 @@ public final class Protos { * Encrypted version of the seed * */ - public org.bitcoinj.wallet.Protos.EncryptedDataOrBuilder getEncryptedDeterministicSeedOrBuilder() { + public com.dogecoin.dogecoinj.wallet.Protos.EncryptedDataOrBuilder getEncryptedDeterministicSeedOrBuilder() { return encryptedDeterministicSeed_; } private void initFields() { - type_ = org.bitcoinj.wallet.Protos.Key.Type.ORIGINAL; + type_ = com.dogecoin.dogecoinj.wallet.Protos.Key.Type.ORIGINAL; secretBytes_ = com.google.protobuf.ByteString.EMPTY; - encryptedData_ = org.bitcoinj.wallet.Protos.EncryptedData.getDefaultInstance(); + encryptedData_ = com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.getDefaultInstance(); publicKey_ = com.google.protobuf.ByteString.EMPTY; label_ = ""; creationTimestamp_ = 0L; - deterministicKey_ = org.bitcoinj.wallet.Protos.DeterministicKey.getDefaultInstance(); + deterministicKey_ = com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.getDefaultInstance(); deterministicSeed_ = com.google.protobuf.ByteString.EMPTY; - encryptedDeterministicSeed_ = org.bitcoinj.wallet.Protos.EncryptedData.getDefaultInstance(); + encryptedDeterministicSeed_ = com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -3230,53 +3230,53 @@ public final class Protos { return super.writeReplace(); } - public static org.bitcoinj.wallet.Protos.Key parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.Key parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.bitcoinj.wallet.Protos.Key parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.Key parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.bitcoinj.wallet.Protos.Key parseFrom(byte[] data) + public static com.dogecoin.dogecoinj.wallet.Protos.Key parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.bitcoinj.wallet.Protos.Key parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.Key parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.bitcoinj.wallet.Protos.Key parseFrom(java.io.InputStream input) + public static com.dogecoin.dogecoinj.wallet.Protos.Key parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static org.bitcoinj.wallet.Protos.Key parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.Key parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static org.bitcoinj.wallet.Protos.Key parseDelimitedFrom(java.io.InputStream input) + public static com.dogecoin.dogecoinj.wallet.Protos.Key parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static org.bitcoinj.wallet.Protos.Key parseDelimitedFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.Key parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static org.bitcoinj.wallet.Protos.Key parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.Key parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static org.bitcoinj.wallet.Protos.Key parseFrom( + public static com.dogecoin.dogecoinj.wallet.Protos.Key parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -3285,7 +3285,7 @@ public final class Protos { public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(org.bitcoinj.wallet.Protos.Key prototype) { + public static Builder newBuilder(com.dogecoin.dogecoinj.wallet.Protos.Key prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @@ -3312,20 +3312,20 @@ public final class Protos { */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements org.bitcoinj.wallet.Protos.KeyOrBuilder { + implements com.dogecoin.dogecoinj.wallet.Protos.KeyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_Key_descriptor; + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_Key_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_Key_fieldAccessorTable + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_Key_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.bitcoinj.wallet.Protos.Key.class, org.bitcoinj.wallet.Protos.Key.Builder.class); + com.dogecoin.dogecoinj.wallet.Protos.Key.class, com.dogecoin.dogecoinj.wallet.Protos.Key.Builder.class); } - // Construct using org.bitcoinj.wallet.Protos.Key.newBuilder() + // Construct using com.dogecoin.dogecoinj.wallet.Protos.Key.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -3348,12 +3348,12 @@ public final class Protos { public Builder clear() { super.clear(); - type_ = org.bitcoinj.wallet.Protos.Key.Type.ORIGINAL; + type_ = com.dogecoin.dogecoinj.wallet.Protos.Key.Type.ORIGINAL; bitField0_ = (bitField0_ & ~0x00000001); secretBytes_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); if (encryptedDataBuilder_ == null) { - encryptedData_ = org.bitcoinj.wallet.Protos.EncryptedData.getDefaultInstance(); + encryptedData_ = com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.getDefaultInstance(); } else { encryptedDataBuilder_.clear(); } @@ -3365,7 +3365,7 @@ public final class Protos { creationTimestamp_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); if (deterministicKeyBuilder_ == null) { - deterministicKey_ = org.bitcoinj.wallet.Protos.DeterministicKey.getDefaultInstance(); + deterministicKey_ = com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.getDefaultInstance(); } else { deterministicKeyBuilder_.clear(); } @@ -3373,7 +3373,7 @@ public final class Protos { deterministicSeed_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000080); if (encryptedDeterministicSeedBuilder_ == null) { - encryptedDeterministicSeed_ = org.bitcoinj.wallet.Protos.EncryptedData.getDefaultInstance(); + encryptedDeterministicSeed_ = com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.getDefaultInstance(); } else { encryptedDeterministicSeedBuilder_.clear(); } @@ -3387,23 +3387,23 @@ public final class Protos { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_Key_descriptor; + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_Key_descriptor; } - public org.bitcoinj.wallet.Protos.Key getDefaultInstanceForType() { - return org.bitcoinj.wallet.Protos.Key.getDefaultInstance(); + public com.dogecoin.dogecoinj.wallet.Protos.Key getDefaultInstanceForType() { + return com.dogecoin.dogecoinj.wallet.Protos.Key.getDefaultInstance(); } - public org.bitcoinj.wallet.Protos.Key build() { - org.bitcoinj.wallet.Protos.Key result = buildPartial(); + public com.dogecoin.dogecoinj.wallet.Protos.Key build() { + com.dogecoin.dogecoinj.wallet.Protos.Key result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public org.bitcoinj.wallet.Protos.Key buildPartial() { - org.bitcoinj.wallet.Protos.Key result = new org.bitcoinj.wallet.Protos.Key(this); + public com.dogecoin.dogecoinj.wallet.Protos.Key buildPartial() { + com.dogecoin.dogecoinj.wallet.Protos.Key result = new com.dogecoin.dogecoinj.wallet.Protos.Key(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -3460,16 +3460,16 @@ public final class Protos { } public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.bitcoinj.wallet.Protos.Key) { - return mergeFrom((org.bitcoinj.wallet.Protos.Key)other); + if (other instanceof com.dogecoin.dogecoinj.wallet.Protos.Key) { + return mergeFrom((com.dogecoin.dogecoinj.wallet.Protos.Key)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(org.bitcoinj.wallet.Protos.Key other) { - if (other == org.bitcoinj.wallet.Protos.Key.getDefaultInstance()) return this; + public Builder mergeFrom(com.dogecoin.dogecoinj.wallet.Protos.Key other) { + if (other == com.dogecoin.dogecoinj.wallet.Protos.Key.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } @@ -3533,11 +3533,11 @@ public final class Protos { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.bitcoinj.wallet.Protos.Key parsedMessage = null; + com.dogecoin.dogecoinj.wallet.Protos.Key parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.bitcoinj.wallet.Protos.Key) e.getUnfinishedMessage(); + parsedMessage = (com.dogecoin.dogecoinj.wallet.Protos.Key) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { @@ -3549,7 +3549,7 @@ public final class Protos { private int bitField0_; // required .wallet.Key.Type type = 1; - private org.bitcoinj.wallet.Protos.Key.Type type_ = org.bitcoinj.wallet.Protos.Key.Type.ORIGINAL; + private com.dogecoin.dogecoinj.wallet.Protos.Key.Type type_ = com.dogecoin.dogecoinj.wallet.Protos.Key.Type.ORIGINAL; /** * required .wallet.Key.Type type = 1; */ @@ -3559,13 +3559,13 @@ public final class Protos { /** * required .wallet.Key.Type type = 1; */ - public org.bitcoinj.wallet.Protos.Key.Type getType() { + public com.dogecoin.dogecoinj.wallet.Protos.Key.Type getType() { return type_; } /** * required .wallet.Key.Type type = 1; */ - public Builder setType(org.bitcoinj.wallet.Protos.Key.Type value) { + public Builder setType(com.dogecoin.dogecoinj.wallet.Protos.Key.Type value) { if (value == null) { throw new NullPointerException(); } @@ -3579,7 +3579,7 @@ public final class Protos { */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); - type_ = org.bitcoinj.wallet.Protos.Key.Type.ORIGINAL; + type_ = com.dogecoin.dogecoinj.wallet.Protos.Key.Type.ORIGINAL; onChanged(); return this; } @@ -3641,9 +3641,9 @@ public final class Protos { } // optional .wallet.EncryptedData encrypted_data = 6; - private org.bitcoinj.wallet.Protos.EncryptedData encryptedData_ = org.bitcoinj.wallet.Protos.EncryptedData.getDefaultInstance(); + private com.dogecoin.dogecoinj.wallet.Protos.EncryptedData encryptedData_ = com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< - org.bitcoinj.wallet.Protos.EncryptedData, org.bitcoinj.wallet.Protos.EncryptedData.Builder, org.bitcoinj.wallet.Protos.EncryptedDataOrBuilder> encryptedDataBuilder_; + com.dogecoin.dogecoinj.wallet.Protos.EncryptedData, com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.Builder, com.dogecoin.dogecoinj.wallet.Protos.EncryptedDataOrBuilder> encryptedDataBuilder_; /** * optional .wallet.EncryptedData encrypted_data = 6; * @@ -3661,7 +3661,7 @@ public final class Protos { * If the secret data is encrypted, then secret_bytes is missing and this field is set. * */ - public org.bitcoinj.wallet.Protos.EncryptedData getEncryptedData() { + public com.dogecoin.dogecoinj.wallet.Protos.EncryptedData getEncryptedData() { if (encryptedDataBuilder_ == null) { return encryptedData_; } else { @@ -3675,7 +3675,7 @@ public final class Protos { * If the secret data is encrypted, then secret_bytes is missing and this field is set. * */ - public Builder setEncryptedData(org.bitcoinj.wallet.Protos.EncryptedData value) { + public Builder setEncryptedData(com.dogecoin.dogecoinj.wallet.Protos.EncryptedData value) { if (encryptedDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3696,7 +3696,7 @@ public final class Protos { * */ public Builder setEncryptedData( - org.bitcoinj.wallet.Protos.EncryptedData.Builder builderForValue) { + com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.Builder builderForValue) { if (encryptedDataBuilder_ == null) { encryptedData_ = builderForValue.build(); onChanged(); @@ -3713,12 +3713,12 @@ public final class Protos { * If the secret data is encrypted, then secret_bytes is missing and this field is set. * */ - public Builder mergeEncryptedData(org.bitcoinj.wallet.Protos.EncryptedData value) { + public Builder mergeEncryptedData(com.dogecoin.dogecoinj.wallet.Protos.EncryptedData value) { if (encryptedDataBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && - encryptedData_ != org.bitcoinj.wallet.Protos.EncryptedData.getDefaultInstance()) { + encryptedData_ != com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.getDefaultInstance()) { encryptedData_ = - org.bitcoinj.wallet.Protos.EncryptedData.newBuilder(encryptedData_).mergeFrom(value).buildPartial(); + com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.newBuilder(encryptedData_).mergeFrom(value).buildPartial(); } else { encryptedData_ = value; } @@ -3738,7 +3738,7 @@ public final class Protos { */ public Builder clearEncryptedData() { if (encryptedDataBuilder_ == null) { - encryptedData_ = org.bitcoinj.wallet.Protos.EncryptedData.getDefaultInstance(); + encryptedData_ = com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.getDefaultInstance(); onChanged(); } else { encryptedDataBuilder_.clear(); @@ -3753,7 +3753,7 @@ public final class Protos { * If the secret data is encrypted, then secret_bytes is missing and this field is set. * */ - public org.bitcoinj.wallet.Protos.EncryptedData.Builder getEncryptedDataBuilder() { + public com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.Builder getEncryptedDataBuilder() { bitField0_ |= 0x00000004; onChanged(); return getEncryptedDataFieldBuilder().getBuilder(); @@ -3765,7 +3765,7 @@ public final class Protos { * If the secret data is encrypted, then secret_bytes is missing and this field is set. * */ - public org.bitcoinj.wallet.Protos.EncryptedDataOrBuilder getEncryptedDataOrBuilder() { + public com.dogecoin.dogecoinj.wallet.Protos.EncryptedDataOrBuilder getEncryptedDataOrBuilder() { if (encryptedDataBuilder_ != null) { return encryptedDataBuilder_.getMessageOrBuilder(); } else { @@ -3780,11 +3780,11 @@ public final class Protos { * */ private com.google.protobuf.SingleFieldBuilder< - org.bitcoinj.wallet.Protos.EncryptedData, org.bitcoinj.wallet.Protos.EncryptedData.Builder, org.bitcoinj.wallet.Protos.EncryptedDataOrBuilder> + com.dogecoin.dogecoinj.wallet.Protos.EncryptedData, com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.Builder, com.dogecoin.dogecoinj.wallet.Protos.EncryptedDataOrBuilder> getEncryptedDataFieldBuilder() { if (encryptedDataBuilder_ == null) { encryptedDataBuilder_ = new com.google.protobuf.SingleFieldBuilder< - org.bitcoinj.wallet.Protos.EncryptedData, org.bitcoinj.wallet.Protos.EncryptedData.Builder, org.bitcoinj.wallet.Protos.EncryptedDataOrBuilder>( + com.dogecoin.dogecoinj.wallet.Protos.EncryptedData, com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.Builder, com.dogecoin.dogecoinj.wallet.Protos.EncryptedDataOrBuilder>( encryptedData_, getParentForChildren(), isClean()); @@ -4001,9 +4001,9 @@ public final class Protos { } // optional .wallet.DeterministicKey deterministic_key = 7; - private org.bitcoinj.wallet.Protos.DeterministicKey deterministicKey_ = org.bitcoinj.wallet.Protos.DeterministicKey.getDefaultInstance(); + private com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey deterministicKey_ = com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< - org.bitcoinj.wallet.Protos.DeterministicKey, org.bitcoinj.wallet.Protos.DeterministicKey.Builder, org.bitcoinj.wallet.Protos.DeterministicKeyOrBuilder> deterministicKeyBuilder_; + com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey, com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.Builder, com.dogecoin.dogecoinj.wallet.Protos.DeterministicKeyOrBuilder> deterministicKeyBuilder_; /** * optional .wallet.DeterministicKey deterministic_key = 7; */ @@ -4013,7 +4013,7 @@ public final class Protos { /** * optional .wallet.DeterministicKey deterministic_key = 7; */ - public org.bitcoinj.wallet.Protos.DeterministicKey getDeterministicKey() { + public com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey getDeterministicKey() { if (deterministicKeyBuilder_ == null) { return deterministicKey_; } else { @@ -4023,7 +4023,7 @@ public final class Protos { /** * optional .wallet.DeterministicKey deterministic_key = 7; */ - public Builder setDeterministicKey(org.bitcoinj.wallet.Protos.DeterministicKey value) { + public Builder setDeterministicKey(com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey value) { if (deterministicKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4040,7 +4040,7 @@ public final class Protos { * optional .wallet.DeterministicKey deterministic_key = 7; */ public Builder setDeterministicKey( - org.bitcoinj.wallet.Protos.DeterministicKey.Builder builderForValue) { + com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.Builder builderForValue) { if (deterministicKeyBuilder_ == null) { deterministicKey_ = builderForValue.build(); onChanged(); @@ -4053,12 +4053,12 @@ public final class Protos { /** * optional .wallet.DeterministicKey deterministic_key = 7; */ - public Builder mergeDeterministicKey(org.bitcoinj.wallet.Protos.DeterministicKey value) { + public Builder mergeDeterministicKey(com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey value) { if (deterministicKeyBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040) && - deterministicKey_ != org.bitcoinj.wallet.Protos.DeterministicKey.getDefaultInstance()) { + deterministicKey_ != com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.getDefaultInstance()) { deterministicKey_ = - org.bitcoinj.wallet.Protos.DeterministicKey.newBuilder(deterministicKey_).mergeFrom(value).buildPartial(); + com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.newBuilder(deterministicKey_).mergeFrom(value).buildPartial(); } else { deterministicKey_ = value; } @@ -4074,7 +4074,7 @@ public final class Protos { */ public Builder clearDeterministicKey() { if (deterministicKeyBuilder_ == null) { - deterministicKey_ = org.bitcoinj.wallet.Protos.DeterministicKey.getDefaultInstance(); + deterministicKey_ = com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.getDefaultInstance(); onChanged(); } else { deterministicKeyBuilder_.clear(); @@ -4085,7 +4085,7 @@ public final class Protos { /** * optional .wallet.DeterministicKey deterministic_key = 7; */ - public org.bitcoinj.wallet.Protos.DeterministicKey.Builder getDeterministicKeyBuilder() { + public com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.Builder getDeterministicKeyBuilder() { bitField0_ |= 0x00000040; onChanged(); return getDeterministicKeyFieldBuilder().getBuilder(); @@ -4093,7 +4093,7 @@ public final class Protos { /** * optional .wallet.DeterministicKey deterministic_key = 7; */ - public org.bitcoinj.wallet.Protos.DeterministicKeyOrBuilder getDeterministicKeyOrBuilder() { + public com.dogecoin.dogecoinj.wallet.Protos.DeterministicKeyOrBuilder getDeterministicKeyOrBuilder() { if (deterministicKeyBuilder_ != null) { return deterministicKeyBuilder_.getMessageOrBuilder(); } else { @@ -4104,11 +4104,11 @@ public final class Protos { * optional .wallet.DeterministicKey deterministic_key = 7; */ private com.google.protobuf.SingleFieldBuilder< - org.bitcoinj.wallet.Protos.DeterministicKey, org.bitcoinj.wallet.Protos.DeterministicKey.Builder, org.bitcoinj.wallet.Protos.DeterministicKeyOrBuilder> + com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey, com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.Builder, com.dogecoin.dogecoinj.wallet.Protos.DeterministicKeyOrBuilder> getDeterministicKeyFieldBuilder() { if (deterministicKeyBuilder_ == null) { deterministicKeyBuilder_ = new com.google.protobuf.SingleFieldBuilder< - org.bitcoinj.wallet.Protos.DeterministicKey, org.bitcoinj.wallet.Protos.DeterministicKey.Builder, org.bitcoinj.wallet.Protos.DeterministicKeyOrBuilder>( + com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey, com.dogecoin.dogecoinj.wallet.Protos.DeterministicKey.Builder, com.dogecoin.dogecoinj.wallet.Protos.DeterministicKeyOrBuilder>( deterministicKey_, getParentForChildren(), isClean()); @@ -4174,9 +4174,9 @@ public final class Protos { } // optional .wallet.EncryptedData encrypted_deterministic_seed = 9; - private org.bitcoinj.wallet.Protos.EncryptedData encryptedDeterministicSeed_ = org.bitcoinj.wallet.Protos.EncryptedData.getDefaultInstance(); + private com.dogecoin.dogecoinj.wallet.Protos.EncryptedData encryptedDeterministicSeed_ = com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< - org.bitcoinj.wallet.Protos.EncryptedData, org.bitcoinj.wallet.Protos.EncryptedData.Builder, org.bitcoinj.wallet.Protos.EncryptedDataOrBuilder> encryptedDeterministicSeedBuilder_; + com.dogecoin.dogecoinj.wallet.Protos.EncryptedData, com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.Builder, com.dogecoin.dogecoinj.wallet.Protos.EncryptedDataOrBuilder> encryptedDeterministicSeedBuilder_; /** * optional .wallet.EncryptedData encrypted_deterministic_seed = 9; * @@ -4194,7 +4194,7 @@ public final class Protos { * Encrypted version of the seed * */ - public org.bitcoinj.wallet.Protos.EncryptedData getEncryptedDeterministicSeed() { + public com.dogecoin.dogecoinj.wallet.Protos.EncryptedData getEncryptedDeterministicSeed() { if (encryptedDeterministicSeedBuilder_ == null) { return encryptedDeterministicSeed_; } else { @@ -4208,7 +4208,7 @@ public final class Protos { * Encrypted version of the seed * */ - public Builder setEncryptedDeterministicSeed(org.bitcoinj.wallet.Protos.EncryptedData value) { + public Builder setEncryptedDeterministicSeed(com.dogecoin.dogecoinj.wallet.Protos.EncryptedData value) { if (encryptedDeterministicSeedBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4229,7 +4229,7 @@ public final class Protos { * */ public Builder setEncryptedDeterministicSeed( - org.bitcoinj.wallet.Protos.EncryptedData.Builder builderForValue) { + com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.Builder builderForValue) { if (encryptedDeterministicSeedBuilder_ == null) { encryptedDeterministicSeed_ = builderForValue.build(); onChanged(); @@ -4246,12 +4246,12 @@ public final class Protos { * Encrypted version of the seed * */ - public Builder mergeEncryptedDeterministicSeed(org.bitcoinj.wallet.Protos.EncryptedData value) { + public Builder mergeEncryptedDeterministicSeed(com.dogecoin.dogecoinj.wallet.Protos.EncryptedData value) { if (encryptedDeterministicSeedBuilder_ == null) { if (((bitField0_ & 0x00000100) == 0x00000100) && - encryptedDeterministicSeed_ != org.bitcoinj.wallet.Protos.EncryptedData.getDefaultInstance()) { + encryptedDeterministicSeed_ != com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.getDefaultInstance()) { encryptedDeterministicSeed_ = - org.bitcoinj.wallet.Protos.EncryptedData.newBuilder(encryptedDeterministicSeed_).mergeFrom(value).buildPartial(); + com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.newBuilder(encryptedDeterministicSeed_).mergeFrom(value).buildPartial(); } else { encryptedDeterministicSeed_ = value; } @@ -4271,7 +4271,7 @@ public final class Protos { */ public Builder clearEncryptedDeterministicSeed() { if (encryptedDeterministicSeedBuilder_ == null) { - encryptedDeterministicSeed_ = org.bitcoinj.wallet.Protos.EncryptedData.getDefaultInstance(); + encryptedDeterministicSeed_ = com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.getDefaultInstance(); onChanged(); } else { encryptedDeterministicSeedBuilder_.clear(); @@ -4286,7 +4286,7 @@ public final class Protos { * Encrypted version of the seed * */ - public org.bitcoinj.wallet.Protos.EncryptedData.Builder getEncryptedDeterministicSeedBuilder() { + public com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.Builder getEncryptedDeterministicSeedBuilder() { bitField0_ |= 0x00000100; onChanged(); return getEncryptedDeterministicSeedFieldBuilder().getBuilder(); @@ -4298,7 +4298,7 @@ public final class Protos { * Encrypted version of the seed * */ - public org.bitcoinj.wallet.Protos.EncryptedDataOrBuilder getEncryptedDeterministicSeedOrBuilder() { + public com.dogecoin.dogecoinj.wallet.Protos.EncryptedDataOrBuilder getEncryptedDeterministicSeedOrBuilder() { if (encryptedDeterministicSeedBuilder_ != null) { return encryptedDeterministicSeedBuilder_.getMessageOrBuilder(); } else { @@ -4313,11 +4313,11 @@ public final class Protos { * */ private com.google.protobuf.SingleFieldBuilder< - org.bitcoinj.wallet.Protos.EncryptedData, org.bitcoinj.wallet.Protos.EncryptedData.Builder, org.bitcoinj.wallet.Protos.EncryptedDataOrBuilder> + com.dogecoin.dogecoinj.wallet.Protos.EncryptedData, com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.Builder, com.dogecoin.dogecoinj.wallet.Protos.EncryptedDataOrBuilder> getEncryptedDeterministicSeedFieldBuilder() { if (encryptedDeterministicSeedBuilder_ == null) { encryptedDeterministicSeedBuilder_ = new com.google.protobuf.SingleFieldBuilder< - org.bitcoinj.wallet.Protos.EncryptedData, org.bitcoinj.wallet.Protos.EncryptedData.Builder, org.bitcoinj.wallet.Protos.EncryptedDataOrBuilder>( + com.dogecoin.dogecoinj.wallet.Protos.EncryptedData, com.dogecoin.dogecoinj.wallet.Protos.EncryptedData.Builder, com.dogecoin.dogecoinj.wallet.Protos.EncryptedDataOrBuilder>( encryptedDeterministicSeed_, getParentForChildren(), isClean()); @@ -4445,14 +4445,14 @@ public final class Protos { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_Script_descriptor; + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_Script_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.bitcoinj.wallet.Protos.internal_static_wallet_Script_fieldAccessorTable + return com.dogecoin.dogecoinj.wallet.Protos.internal_static_wallet_Script_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.bitcoinj.wallet.Protos.Script.class, org.bitcoinj.wallet.Protos.Script.Builder.class); + com.dogecoin.dogecoinj.wallet.Protos.Script.class, com.dogecoin.dogecoinj.wallet.Protos.Script.Builder.class); } public static com.google.protobuf.Parser