From 800252a5b0144b37ab4759121050f58a3ce9203d Mon Sep 17 00:00:00 2001 From: Graham Krizek Date: Tue, 19 Dec 2023 22:23:29 -0600 Subject: [PATCH] Update import paths --- .github/ISSUE_TEMPLATE/config.yml | 4 +- .github/pull_request_template.md | 8 +- .github/workflows/release.yaml | 10 +- Dockerfile | 10 +- Makefile | 2 +- README.md | 16 +- aezeed/README.md | 6 +- aliasmgr/aliasmgr.go | 6 +- aliasmgr/aliasmgr_test.go | 4 +- amp/child.go | 2 +- amp/derivation_test.go | 2 +- amp/shard_tracker.go | 8 +- amp/shard_tracker_test.go | 6 +- autopilot/agent.go | 2 +- autopilot/agent_constraints_test.go | 2 +- autopilot/externalscoreattach_test.go | 2 +- autopilot/graph.go | 8 +- autopilot/graph_test.go | 2 +- autopilot/interface.go | 2 +- autopilot/log.go | 2 +- autopilot/manager.go | 6 +- autopilot/prefattach_test.go | 2 +- batch/batch.go | 2 +- batch/interface.go | 2 +- batch/scheduler.go | 2 +- blockcache/blockcache.go | 4 +- brontide/README.md | 10 +- brontide/conn.go | 6 +- brontide/fuzz_test.go | 2 +- brontide/listener.go | 2 +- brontide/noise.go | 2 +- brontide/noise_test.go | 6 +- buffer/buffer_test.go | 2 +- buffer/read.go | 2 +- buffer/write.go | 2 +- build/log_test.go | 2 +- cert/go.mod | 2 +- cert/selfsigned_test.go | 2 +- chainntnfs/README.md | 8 +- chainntnfs/bitcoindnotify/bitcoind.go | 6 +- chainntnfs/bitcoindnotify/bitcoind_dev.go | 2 +- chainntnfs/bitcoindnotify/bitcoind_test.go | 8 +- chainntnfs/bitcoindnotify/driver.go | 4 +- chainntnfs/btcdnotify/btcd.go | 6 +- chainntnfs/btcdnotify/btcd_dev.go | 2 +- chainntnfs/btcdnotify/btcd_test.go | 6 +- chainntnfs/btcdnotify/driver.go | 4 +- chainntnfs/log.go | 2 +- chainntnfs/mempool.go | 2 +- chainntnfs/neutrinonotify/driver.go | 4 +- chainntnfs/neutrinonotify/neutrino.go | 8 +- chainntnfs/neutrinonotify/neutrino_dev.go | 2 +- chainntnfs/test/bitcoind/bitcoind_test.go | 2 +- chainntnfs/test/btcd/btcd_test.go | 2 +- chainntnfs/test/neutrino/neutrino_test.go | 2 +- chainntnfs/test/test_interface.go | 14 +- chainntnfs/test_utils.go | 4 +- chainntnfs/txnotifier_test.go | 2 +- chainreg/chainparams.go | 2 +- chainreg/chainregistry.go | 32 +- chainreg/log.go | 2 +- chainreg/no_chain_backend.go | 8 +- chanacceptor/acceptor_test.go | 8 +- chanacceptor/interface.go | 2 +- chanacceptor/log.go | 2 +- chanacceptor/merge.go | 2 +- chanacceptor/merge_test.go | 2 +- chanacceptor/rpcacceptor.go | 8 +- chanacceptor/rpcacceptor_test.go | 8 +- chanacceptor/zeroconfacceptor.go | 2 +- chanacceptor/zeroconfacceptor_test.go | 2 +- chanbackup/backup.go | 4 +- chanbackup/backup_test.go | 4 +- chanbackup/backupfile.go | 2 +- chanbackup/backupfile_test.go | 2 +- chanbackup/log.go | 2 +- chanbackup/multi.go | 6 +- chanbackup/multi_test.go | 2 +- chanbackup/pubsub.go | 4 +- chanbackup/pubsub_test.go | 4 +- chanbackup/recover.go | 4 +- chanbackup/recover_test.go | 2 +- chanbackup/single.go | 8 +- chanbackup/single_test.go | 10 +- chanfitness/chanevent.go | 2 +- chanfitness/chanevent_test.go | 2 +- chanfitness/chaneventstore.go | 14 +- chanfitness/chaneventstore_test.go | 8 +- chanfitness/chaneventstore_testctx_test.go | 14 +- chanfitness/log.go | 2 +- channel_notifier.go | 6 +- channeldb/README.md | 8 +- channeldb/addr.go | 2 +- channeldb/addr_test.go | 2 +- channeldb/channel.go | 16 +- channeldb/channel_test.go | 16 +- channeldb/codec.go | 8 +- channeldb/db.go | 38 +-- channeldb/db_test.go | 8 +- channeldb/duplicate_payments.go | 8 +- channeldb/forwarding_log.go | 4 +- channeldb/forwarding_log_test.go | 2 +- channeldb/forwarding_package.go | 4 +- channeldb/forwarding_package_test.go | 6 +- channeldb/forwarding_policy.go | 6 +- channeldb/graph.go | 12 +- channeldb/graph_cache.go | 6 +- channeldb/graph_cache_test.go | 6 +- channeldb/graph_test.go | 6 +- channeldb/height_hint.go | 4 +- channeldb/height_hint_test.go | 2 +- channeldb/invoice_test.go | 16 +- channeldb/invoices.go | 18 +- channeldb/log.go | 20 +- channeldb/meta.go | 4 +- channeldb/meta_test.go | 2 +- channeldb/migration/create_tlb.go | 2 +- channeldb/migration/create_tlb_test.go | 6 +- channeldb/migration/lnwire21/lnwire.go | 2 +- channeldb/migration/lnwire21/onion_error.go | 2 +- channeldb/migration/lnwire21/signature.go | 2 +- channeldb/migration12/invoices.go | 6 +- channeldb/migration12/migration.go | 4 +- channeldb/migration12/migration_test.go | 8 +- channeldb/migration13/migration.go | 2 +- channeldb/migration13/migration_test.go | 4 +- channeldb/migration16/migration.go | 2 +- channeldb/migration16/migration_test.go | 4 +- channeldb/migration20/migration.go | 4 +- channeldb/migration20/migration_test.go | 4 +- .../migration21/common/enclosed_types.go | 4 +- .../migration21/current/current_codec.go | 8 +- .../migration21/current/current_encoding.go | 6 +- channeldb/migration21/legacy/legacy_codec.go | 6 +- .../migration21/legacy/legacy_decoding.go | 6 +- channeldb/migration21/migration.go | 10 +- channeldb/migration21/migration_test.go | 12 +- channeldb/migration23/migration.go | 2 +- channeldb/migration23/migration_test.go | 4 +- channeldb/migration24/migration.go | 4 +- channeldb/migration24/migration_test.go | 8 +- channeldb/migration25/channel.go | 12 +- channeldb/migration25/migration.go | 4 +- channeldb/migration25/migration_test.go | 10 +- channeldb/migration26/channel.go | 10 +- channeldb/migration26/migration.go | 4 +- channeldb/migration26/migration_test.go | 10 +- channeldb/migration27/channel.go | 12 +- channeldb/migration27/migration.go | 6 +- channeldb/migration27/migration_test.go | 10 +- channeldb/migration29/migration.go | 2 +- channeldb/migration29/migration_test.go | 4 +- channeldb/migration30/iterator.go | 4 +- channeldb/migration30/iterator_test.go | 12 +- channeldb/migration30/lnwallet.go | 8 +- channeldb/migration30/migration.go | 8 +- channeldb/migration30/migration_test.go | 10 +- channeldb/migration30/revocation_log.go | 16 +- channeldb/migration30/test_mock.go | 2 +- channeldb/migration30/test_utils.go | 14 +- channeldb/migration31/migration.go | 2 +- channeldb/migration31/migration_test.go | 4 +- channeldb/migration_01_to_11/addr.go | 2 +- channeldb/migration_01_to_11/channel.go | 6 +- channeldb/migration_01_to_11/channel_test.go | 6 +- channeldb/migration_01_to_11/codec.go | 6 +- channeldb/migration_01_to_11/db.go | 2 +- channeldb/migration_01_to_11/graph.go | 4 +- channeldb/migration_01_to_11/graph_test.go | 2 +- channeldb/migration_01_to_11/invoices.go | 8 +- channeldb/migration_01_to_11/meta.go | 2 +- channeldb/migration_01_to_11/meta_test.go | 2 +- .../migration_09_legacy_serialization.go | 6 +- .../migration_10_route_tlv_records.go | 2 +- .../migration_11_invoices.go | 6 +- .../migration_11_invoices_test.go | 4 +- channeldb/migration_01_to_11/migrations.go | 4 +- .../migration_01_to_11/migrations_test.go | 6 +- .../migration_01_to_11/payment_control.go | 2 +- channeldb/migration_01_to_11/payments.go | 8 +- channeldb/migration_01_to_11/payments_test.go | 2 +- channeldb/migration_01_to_11/route.go | 8 +- .../migration_01_to_11/zpay32/amountunits.go | 2 +- channeldb/migration_01_to_11/zpay32/decode.go | 2 +- .../migration_01_to_11/zpay32/invoice.go | 2 +- channeldb/migtest/migtest.go | 2 +- channeldb/migtest/raw_db.go | 2 +- channeldb/models/channel.go | 2 +- channeldb/mp_payment.go | 6 +- channeldb/nodes.go | 2 +- channeldb/options.go | 4 +- channeldb/options_test.go | 4 +- channeldb/paginate.go | 2 +- channeldb/payment_control.go | 4 +- channeldb/payment_control_test.go | 6 +- channeldb/payments.go | 12 +- channeldb/payments_test.go | 8 +- channeldb/peers.go | 4 +- channeldb/peers_test.go | 2 +- channeldb/reports.go | 4 +- channeldb/reports_test.go | 2 +- channeldb/revocation_log.go | 8 +- channeldb/revocation_log_test.go | 8 +- channeldb/setup_test.go | 2 +- channeldb/waitingproof.go | 4 +- channeldb/waitingproof_test.go | 2 +- channeldb/witness_cache.go | 4 +- channeldb/witness_cache_test.go | 2 +- channelnotifier/channelnotifier.go | 4 +- channelnotifier/log.go | 2 +- chanrestore.go | 12 +- clock/go.mod | 2 +- cluster/etcd_elector.go | 2 +- cluster/etcd_elector_factory.go | 2 +- cluster/etcd_elector_test.go | 2 +- cluster/log.go | 2 +- cmd/lncli/autopilotrpc_active.go | 2 +- cmd/lncli/chainrpc_active.go | 2 +- cmd/lncli/cmd_custom.go | 2 +- cmd/lncli/cmd_import_mission_control.go | 4 +- cmd/lncli/cmd_invoice.go | 2 +- cmd/lncli/cmd_macaroon.go | 6 +- cmd/lncli/cmd_mission_control.go | 8 +- cmd/lncli/cmd_open_channel.go | 4 +- cmd/lncli/cmd_payments.go | 16 +- cmd/lncli/cmd_profile.go | 2 +- cmd/lncli/cmd_state.go | 2 +- cmd/lncli/cmd_update_chan_status.go | 2 +- cmd/lncli/cmd_version.go | 6 +- cmd/lncli/cmd_walletunlocker.go | 8 +- cmd/lncli/commands.go | 8 +- cmd/lncli/devrpc_active.go | 6 +- cmd/lncli/invoicesrpc_active.go | 2 +- cmd/lncli/main.go | 10 +- cmd/lncli/neutrino_active.go | 2 +- cmd/lncli/peersrpc_active.go | 4 +- cmd/lncli/profile.go | 6 +- cmd/lncli/types.go | 2 +- cmd/lncli/walletrpc_active.go | 4 +- cmd/lncli/walletrpc_types.go | 2 +- cmd/lncli/watchtower_active.go | 2 +- cmd/lncli/wtclient.go | 2 +- cmd/lnd/main.go | 4 +- config.go | 42 +-- config_builder.go | 38 +-- contractcourt/anchor_resolver.go | 6 +- contractcourt/breach_resolver.go | 2 +- contractcourt/breacharbiter.go | 14 +- contractcourt/breacharbiter_test.go | 22 +- contractcourt/briefcase.go | 8 +- contractcourt/briefcase_test.go | 12 +- contractcourt/chain_arbitrator.go | 18 +- contractcourt/chain_arbitrator_test.go | 10 +- contractcourt/chain_watcher.go | 8 +- contractcourt/chain_watcher_test.go | 12 +- contractcourt/channel_arbitrator.go | 22 +- contractcourt/channel_arbitrator_test.go | 18 +- contractcourt/commit_sweep_resolver.go | 10 +- contractcourt/commit_sweep_resolver_test.go | 16 +- contractcourt/contract_resolvers.go | 4 +- .../htlc_incoming_contest_resolver.go | 16 +- contractcourt/htlc_incoming_resolver_test.go | 25 +- contractcourt/htlc_lease_resolver.go | 6 +- .../htlc_outgoing_contest_resolver.go | 4 +- .../htlc_outgoing_contest_resolver_test.go | 18 +- contractcourt/htlc_success_resolver.go | 16 +- contractcourt/htlc_success_resolver_test.go | 16 +- contractcourt/htlc_timeout_resolver.go | 16 +- contractcourt/htlc_timeout_resolver_test.go | 18 +- contractcourt/interfaces.go | 18 +- contractcourt/log.go | 2 +- contractcourt/mock_htlcnotifier_test.go | 4 +- contractcourt/mock_registry_test.go | 8 +- contractcourt/nursery_store.go | 4 +- contractcourt/nursery_store_test.go | 2 +- contractcourt/setup_test.go | 2 +- contractcourt/taproot_briefcase.go | 2 +- contractcourt/utils_test.go | 2 +- contractcourt/utxonursery.go | 12 +- contractcourt/utxonursery_test.go | 10 +- dev.Dockerfile | 4 +- discovery/bootstrapper.go | 8 +- discovery/chan_series.go | 10 +- discovery/gossiper.go | 28 +- discovery/gossiper_test.go | 26 +- discovery/log.go | 2 +- discovery/message_store.go | 4 +- discovery/message_store_test.go | 6 +- discovery/mock_test.go | 4 +- discovery/reliable_sender.go | 4 +- discovery/reliable_sender_test.go | 6 +- discovery/sync_manager.go | 8 +- discovery/sync_manager_test.go | 8 +- discovery/syncer.go | 4 +- discovery/syncer_test.go | 4 +- docs/DOCKER.md | 4 +- docs/INSTALL.md | 20 +- docs/MAKEFILE.md | 2 +- docs/code_contribution_guidelines.md | 20 +- docs/fuzz.md | 2 +- docs/grpc/c#.md | 2 +- docs/grpc/java.md | 2 +- docs/grpc/javascript.md | 2 +- docs/grpc/python.md | 6 +- docs/grpc/ruby.md | 2 +- docs/macaroons.md | 4 +- docs/recovery.md | 6 +- docs/release-notes/release-notes-0.13.1.md | 38 +-- docs/release-notes/release-notes-0.13.2.md | 2 +- docs/release-notes/release-notes-0.13.3.md | 4 +- docs/release-notes/release-notes-0.14.0.md | 290 +++++++++--------- docs/release-notes/release-notes-0.14.1.md | 14 +- docs/release-notes/release-notes-0.14.2.md | 64 ++-- docs/release-notes/release-notes-0.14.3.md | 4 +- docs/release-notes/release-notes-0.15.0.md | 232 +++++++------- docs/release-notes/release-notes-0.15.1.md | 86 +++--- docs/release-notes/release-notes-0.15.2.md | 2 +- docs/release-notes/release-notes-0.15.3.md | 14 +- docs/release-notes/release-notes-0.15.4.md | 2 +- docs/release-notes/release-notes-0.15.5.md | 6 +- docs/release-notes/release-notes-0.16.0.md | 290 +++++++++--------- docs/release-notes/release-notes-0.16.1.md | 50 +-- docs/release-notes/release-notes-0.16.2.md | 4 +- docs/release-notes/release-notes-0.16.3.md | 6 +- docs/release-notes/release-notes-0.17.0.md | 134 ++++---- docs/release-notes/release-notes-0.17.1.md | 14 +- docs/release-notes/release-notes-0.17.2.md | 2 +- docs/release-notes/release-notes-0.17.3.md | 8 +- docs/release.md | 6 +- docs/safety.md | 2 +- feature/default_sets.go | 2 +- feature/deps.go | 2 +- feature/deps_test.go | 2 +- feature/manager.go | 2 +- feature/manager_internal_test.go | 2 +- feature/required.go | 2 +- feature/set.go | 2 +- funding/batch.go | 8 +- funding/batch_test.go | 8 +- funding/commitment_type_negotiation.go | 4 +- funding/commitment_type_negotiation_test.go | 4 +- funding/interfaces.go | 4 +- funding/log.go | 2 +- funding/manager.go | 34 +- funding/manager_test.go | 36 +-- go.mod | 20 +- go.sum | 38 +-- healthcheck/go.mod | 6 +- healthcheck/go.sum | 8 +- healthcheck/healthcheck.go | 2 +- healthcheck/healthcheck_test.go | 2 +- healthcheck/tor_connection.go | 2 +- htlcswitch/circuit.go | 8 +- htlcswitch/circuit_map.go | 8 +- htlcswitch/circuit_map_test.go | 8 +- htlcswitch/circuit_test.go | 12 +- htlcswitch/decayedlog.go | 6 +- htlcswitch/decayedlog_test.go | 8 +- htlcswitch/failure.go | 6 +- htlcswitch/failure_test.go | 6 +- htlcswitch/held_htlc_set.go | 2 +- htlcswitch/held_htlc_set_test.go | 4 +- htlcswitch/hodl/mask_test.go | 4 +- htlcswitch/hop/error_encryptor.go | 4 +- htlcswitch/hop/forwarding_info.go | 2 +- htlcswitch/hop/iterator.go | 4 +- htlcswitch/hop/iterator_test.go | 8 +- htlcswitch/hop/payload.go | 8 +- htlcswitch/hop/payload_test.go | 6 +- htlcswitch/hop/type.go | 2 +- htlcswitch/htlcnotifier.go | 12 +- htlcswitch/interceptable_switch.go | 10 +- htlcswitch/interfaces.go | 16 +- htlcswitch/link.go | 28 +- htlcswitch/link_isolated_test.go | 6 +- htlcswitch/link_test.go | 34 +- htlcswitch/log.go | 4 +- htlcswitch/mailbox.go | 6 +- htlcswitch/mailbox_test.go | 10 +- htlcswitch/mock.go | 28 +- htlcswitch/packet.go | 8 +- htlcswitch/payment_result.go | 8 +- htlcswitch/payment_result_test.go | 6 +- htlcswitch/resolution_store.go | 8 +- htlcswitch/resolution_store_test.go | 6 +- htlcswitch/sequencer.go | 4 +- htlcswitch/switch.go | 24 +- htlcswitch/switch_test.go | 20 +- htlcswitch/test_utils.go | 36 +-- input/input.go | 2 +- input/musig2.go | 4 +- input/musig2_session_manager.go | 6 +- input/script_desc.go | 2 +- input/script_utils.go | 2 +- input/script_utils_test.go | 2 +- input/signdescriptor.go | 2 +- input/signdescriptor_test.go | 2 +- input/size_test.go | 8 +- input/taproot_test.go | 4 +- input/test_utils.go | 2 +- intercepted_forward.go | 6 +- invoices/interface.go | 6 +- invoices/invoice_expiry_watcher.go | 10 +- invoices/invoice_expiry_watcher_test.go | 4 +- invoices/invoiceregistry.go | 10 +- invoices/invoiceregistry_test.go | 14 +- invoices/invoices.go | 8 +- invoices/log.go | 2 +- invoices/mock.go | 2 +- invoices/resolution.go | 2 +- invoices/test_utils.go | 10 +- invoices/test_utils_test.go | 16 +- invoices/update.go | 8 +- itest/list_off_test.go | 2 +- itest/list_on_test.go | 2 +- itest/lnd_amp_test.go | 16 +- itest/lnd_channel_backup_test.go | 14 +- itest/lnd_channel_balance_test.go | 14 +- itest/lnd_channel_force_close_test.go | 20 +- itest/lnd_channel_funding_fund_max_test.go | 18 +- ...lnd_channel_funding_utxo_selection_test.go | 10 +- itest/lnd_channel_graph_test.go | 18 +- itest/lnd_channel_policy_test.go | 14 +- itest/lnd_custom_features.go | 6 +- itest/lnd_custom_message_test.go | 6 +- itest/lnd_etcd_failover_test.go | 12 +- itest/lnd_forward_interceptor_test.go | 18 +- itest/lnd_funding_test.go | 18 +- itest/lnd_hold_invoice_force_test.go | 14 +- itest/lnd_hold_persistence_test.go | 14 +- itest/lnd_htlc_test.go | 4 +- itest/lnd_macaroons_test.go | 10 +- itest/lnd_max_channel_size_test.go | 6 +- itest/lnd_max_htlcs_test.go | 12 +- itest/lnd_misc_test.go | 26 +- itest/lnd_mpp_test.go | 14 +- itest/lnd_multi-hop-error-propagation_test.go | 10 +- itest/lnd_multi-hop-payments_test.go | 10 +- itest/lnd_multi-hop_test.go | 20 +- itest/lnd_network_test.go | 10 +- itest/lnd_neutrino_test.go | 4 +- itest/lnd_no_etcd_dummy_failover_test.go | 2 +- itest/lnd_nonstd_sweep_test.go | 4 +- itest/lnd_onchain_test.go | 18 +- itest/lnd_open_channel_test.go | 14 +- itest/lnd_payment_test.go | 12 +- itest/lnd_psbt_test.go | 16 +- itest/lnd_recovery_test.go | 18 +- itest/lnd_remote_signer_test.go | 12 +- itest/lnd_res_handoff_test.go | 4 +- itest/lnd_rest_api_test.go | 16 +- itest/lnd_revocation_test.go | 10 +- itest/lnd_routing_test.go | 16 +- itest/lnd_rpc_middleware_interceptor_test.go | 10 +- itest/lnd_send_multi_path_payment_test.go | 6 +- itest/lnd_signer_test.go | 12 +- itest/lnd_single_hop_invoice_test.go | 12 +- itest/lnd_switch_test.go | 6 +- itest/lnd_taproot_test.go | 18 +- itest/lnd_test.go | 8 +- itest/lnd_trackpayments_test.go | 6 +- itest/lnd_wallet_import_test.go | 12 +- itest/lnd_watchtower_test.go | 14 +- itest/lnd_wipe_fwdpkgs_test.go | 6 +- itest/lnd_wumbo_channels_test.go | 6 +- itest/lnd_zero_conf_test.go | 18 +- kvdb/bolt_compact.go | 2 +- kvdb/etcd_test.go | 2 +- kvdb/go.mod | 6 +- kvdb/go.sum | 8 +- kvdb/kvdb_etcd.go | 2 +- kvdb/kvdb_no_etcd.go | 2 +- kvdb/kvdb_no_postgres.go | 2 +- kvdb/kvdb_postgres.go | 2 +- kvdb/kvdb_sqlite.go | 4 +- kvdb/log.go | 2 +- kvdb/postgres/db.go | 2 +- kvdb/postgres/fixture.go | 2 +- kvdb/postgres_test.go | 2 +- kvdb/sqlite/db.go | 2 +- kvdb/sqlite/db_test.go | 2 +- labels/labels.go | 2 +- lncfg/address.go | 4 +- lncfg/chain.go | 2 +- lncfg/cluster.go | 2 +- lncfg/db.go | 14 +- lncfg/db_test.go | 4 +- lncfg/gossip.go | 4 +- lncfg/protocol_experimental_off.go | 4 +- lncfg/protocol_experimental_on.go | 4 +- lncfg/watchtower.go | 2 +- lncfg/workers_test.go | 2 +- lncfg/wtclient.go | 4 +- lnd.go | 30 +- lnencrypt/crypto.go | 2 +- lnencrypt/test_utils.go | 2 +- lnmock/clock.go | 2 +- lnmock/routing.go | 2 +- lnpeer/mock_peer.go | 2 +- lnpeer/peer.go | 6 +- lnrpc/README.md | 8 +- lnrpc/autopilotrpc/autopilot.proto | 2 +- lnrpc/autopilotrpc/autopilot_server.go | 4 +- lnrpc/autopilotrpc/config_active.go | 2 +- lnrpc/autopilotrpc/driver.go | 2 +- lnrpc/autopilotrpc/log.go | 2 +- lnrpc/chainrpc/chain_server.go | 6 +- lnrpc/chainrpc/chainkit.proto | 2 +- lnrpc/chainrpc/chainnotifier.proto | 2 +- lnrpc/chainrpc/config_active.go | 6 +- lnrpc/chainrpc/driver.go | 2 +- lnrpc/chainrpc/log.go | 2 +- lnrpc/devrpc/config_active.go | 2 +- lnrpc/devrpc/dev.pb.go | 2 +- lnrpc/devrpc/dev.pb.gw.go | 2 +- lnrpc/devrpc/dev.pb.json.go | 2 +- lnrpc/devrpc/dev.proto | 2 +- lnrpc/devrpc/dev_grpc.pb.go | 2 +- lnrpc/devrpc/dev_server.go | 8 +- lnrpc/devrpc/driver.go | 2 +- lnrpc/devrpc/log.go | 2 +- lnrpc/gen_protos.sh | 4 +- lnrpc/invoicesrpc/addinvoice.go | 14 +- lnrpc/invoicesrpc/addinvoice_test.go | 6 +- lnrpc/invoicesrpc/config_active.go | 10 +- lnrpc/invoicesrpc/driver.go | 2 +- lnrpc/invoicesrpc/invoices.pb.go | 2 +- lnrpc/invoicesrpc/invoices.proto | 2 +- lnrpc/invoicesrpc/invoices_grpc.pb.go | 2 +- lnrpc/invoicesrpc/invoices_server.go | 8 +- lnrpc/invoicesrpc/log.go | 2 +- lnrpc/invoicesrpc/utils.go | 8 +- lnrpc/lightning.proto | 2 +- lnrpc/lnclipb/lncli.pb.go | 2 +- lnrpc/lnclipb/lncli.proto | 2 +- lnrpc/marshall_utils.go | 4 +- lnrpc/neutrinorpc/driver.go | 2 +- lnrpc/neutrinorpc/log.go | 2 +- lnrpc/neutrinorpc/neutrino.proto | 2 +- lnrpc/neutrinorpc/neutrino_server.go | 2 +- lnrpc/peersrpc/config_active.go | 4 +- lnrpc/peersrpc/driver.go | 2 +- lnrpc/peersrpc/log.go | 2 +- lnrpc/peersrpc/peers.pb.go | 2 +- lnrpc/peersrpc/peers.proto | 2 +- lnrpc/peersrpc/peers_server.go | 10 +- lnrpc/routerrpc/config.go | 4 +- lnrpc/routerrpc/driver.go | 2 +- lnrpc/routerrpc/forward_interceptor.go | 10 +- lnrpc/routerrpc/log.go | 2 +- lnrpc/routerrpc/router.pb.go | 2 +- lnrpc/routerrpc/router.proto | 2 +- lnrpc/routerrpc/router_backend.go | 22 +- lnrpc/routerrpc/router_backend_test.go | 12 +- lnrpc/routerrpc/router_grpc.pb.go | 2 +- lnrpc/routerrpc/router_server.go | 14 +- lnrpc/routerrpc/router_server_deprecated.go | 6 +- lnrpc/routerrpc/router_server_test.go | 8 +- lnrpc/routerrpc/subscribe_events.go | 6 +- lnrpc/rpc_utils.go | 6 +- lnrpc/signrpc/config_active.go | 6 +- lnrpc/signrpc/driver.go | 2 +- lnrpc/signrpc/log.go | 2 +- lnrpc/signrpc/signer.proto | 2 +- lnrpc/signrpc/signer_server.go | 10 +- lnrpc/signrpc/signer_utils.go | 2 +- lnrpc/stateservice.proto | 2 +- lnrpc/verrpc/driver.go | 2 +- lnrpc/verrpc/log.go | 2 +- lnrpc/verrpc/server.go | 4 +- lnrpc/verrpc/verrpc.proto | 2 +- lnrpc/walletrpc/config_active.go | 10 +- lnrpc/walletrpc/driver.go | 2 +- lnrpc/walletrpc/log.go | 2 +- lnrpc/walletrpc/psbt.go | 2 +- lnrpc/walletrpc/walletkit.pb.go | 4 +- lnrpc/walletrpc/walletkit.pb.gw.go | 2 +- lnrpc/walletrpc/walletkit.pb.json.go | 2 +- lnrpc/walletrpc/walletkit.proto | 2 +- lnrpc/walletrpc/walletkit_grpc.pb.go | 2 +- lnrpc/walletrpc/walletkit_server.go | 20 +- lnrpc/walletrpc/walletkit_util.go | 2 +- lnrpc/walletunlocker.proto | 2 +- lnrpc/watchtowerrpc/driver.go | 2 +- lnrpc/watchtowerrpc/handler.go | 2 +- lnrpc/watchtowerrpc/log.go | 2 +- lnrpc/watchtowerrpc/watchtower.proto | 2 +- lnrpc/wtclientrpc/config.go | 4 +- lnrpc/wtclientrpc/driver.go | 2 +- lnrpc/wtclientrpc/wtclient.go | 14 +- lnrpc/wtclientrpc/wtclient.proto | 2 +- lntest/bitcoind_common.go | 2 +- lntest/btcd.go | 2 +- lntest/fee_service.go | 4 +- lntest/harness.go | 20 +- lntest/harness_assertion.go | 18 +- lntest/harness_miner.go | 4 +- lntest/harness_node_manager.go | 6 +- lntest/harness_setup.go | 2 +- lntest/mock/chainnotifier.go | 2 +- lntest/mock/secretkeyring.go | 2 +- lntest/mock/signer.go | 4 +- lntest/mock/spendnotifier.go | 2 +- lntest/mock/walletcontroller.go | 4 +- lntest/neutrino.go | 2 +- lntest/node/config.go | 6 +- lntest/node/harness_node.go | 8 +- lntest/node/state.go | 8 +- lntest/node/watcher.go | 8 +- lntest/rpc/chain_kit.go | 2 +- lntest/rpc/chain_notifier.go | 2 +- lntest/rpc/harness_rpc.go | 22 +- lntest/rpc/invoices.go | 6 +- lntest/rpc/lnd.go | 2 +- lntest/rpc/neutrino_kit.go | 2 +- lntest/rpc/peers.go | 2 +- lntest/rpc/router.go | 4 +- lntest/rpc/signer.go | 2 +- lntest/rpc/state.go | 2 +- lntest/rpc/wallet_kit.go | 4 +- lntest/rpc/wallet_unlocker.go | 2 +- lntest/rpc/watchtower.go | 4 +- lntest/utils.go | 12 +- lnutils/sync_map_bench_test.go | 2 +- lnutils/sync_map_test.go | 2 +- lnwallet/README.md | 8 +- lnwallet/btcwallet/blockchain.go | 4 +- lnwallet/btcwallet/btcwallet.go | 12 +- lnwallet/btcwallet/btcwallet_test.go | 2 +- lnwallet/btcwallet/driver.go | 4 +- lnwallet/btcwallet/log.go | 2 +- lnwallet/btcwallet/psbt.go | 6 +- lnwallet/btcwallet/psbt_test.go | 4 +- lnwallet/btcwallet/signer.go | 6 +- lnwallet/btcwallet/signer_test.go | 6 +- lnwallet/chainfee/log.go | 2 +- lnwallet/chancloser/chancloser.go | 14 +- lnwallet/chancloser/chancloser_test.go | 14 +- lnwallet/chancloser/interface.go | 10 +- lnwallet/chancloser/log.go | 2 +- lnwallet/chanfunding/assembler.go | 2 +- lnwallet/chanfunding/canned_assembler.go | 4 +- lnwallet/chanfunding/coin_select.go | 4 +- lnwallet/chanfunding/coin_select_test.go | 4 +- lnwallet/chanfunding/log.go | 2 +- lnwallet/chanfunding/psbt_assembler.go | 4 +- lnwallet/chanfunding/psbt_assembler_test.go | 4 +- lnwallet/chanfunding/wallet_assembler.go | 4 +- lnwallet/channel.go | 20 +- lnwallet/channel_test.go | 12 +- lnwallet/chanvalidate/validate.go | 2 +- lnwallet/chanvalidate/validate_test.go | 4 +- lnwallet/commit_sort_test.go | 2 +- lnwallet/commitment.go | 8 +- lnwallet/config.go | 10 +- lnwallet/errors.go | 2 +- lnwallet/interface.go | 4 +- lnwallet/log.go | 4 +- lnwallet/mock.go | 4 +- lnwallet/musig_session.go | 8 +- lnwallet/musig_session_test.go | 4 +- lnwallet/parameters.go | 4 +- lnwallet/parameters_test.go | 4 +- lnwallet/rebroadcaster_test.go | 4 +- lnwallet/reservation.go | 10 +- lnwallet/revocation_producer.go | 6 +- lnwallet/revocation_producer_itest.go | 6 +- lnwallet/rpcwallet/healthcheck.go | 2 +- lnwallet/rpcwallet/log.go | 2 +- lnwallet/rpcwallet/rpcwallet.go | 20 +- lnwallet/sigpool.go | 4 +- lnwallet/test/bitcoind/bitcoind_test.go | 2 +- lnwallet/test/btcd/btcd_test.go | 2 +- lnwallet/test/neutrino/neutrino_test.go | 2 +- lnwallet/test/test_interface.go | 28 +- lnwallet/test_utils.go | 12 +- lnwallet/transactions.go | 2 +- lnwallet/transactions_test.go | 14 +- lnwallet/wallet.go | 16 +- lnwire/README.md | 8 +- lnwire/accept_channel.go | 2 +- lnwire/channel_ready.go | 2 +- lnwire/channel_reestablish.go | 2 +- lnwire/channel_type.go | 2 +- lnwire/closing_signed.go | 2 +- lnwire/commit_sig.go | 2 +- lnwire/extra_bytes.go | 2 +- lnwire/extra_bytes_test.go | 2 +- lnwire/funding_created.go | 2 +- lnwire/funding_signed.go | 2 +- lnwire/lnwire.go | 2 +- lnwire/lnwire_test.go | 2 +- lnwire/message_test.go | 4 +- lnwire/musig2.go | 2 +- lnwire/onion_error.go | 2 +- lnwire/open_channel.go | 2 +- lnwire/partial_sig.go | 2 +- lnwire/revoke_and_ack.go | 2 +- lnwire/short_channel_id.go | 2 +- lnwire/shutdown.go | 2 +- lnwire/signature.go | 2 +- lnwire/typed_delivery_addr.go | 2 +- lnwire/typed_lease_expiry.go | 2 +- lnwire/writer.go | 2 +- lnwire/writer_test.go | 2 +- log.go | 86 +++--- macaroons/constraints_test.go | 2 +- macaroons/service_test.go | 4 +- macaroons/store.go | 2 +- macaroons/store_test.go | 4 +- mobile/README.md | 6 +- mobile/bindings.go | 4 +- mobile/gen_bindings.sh | 2 +- monitoring/log.go | 2 +- monitoring/monitoring_off.go | 2 +- monitoring/monitoring_on.go | 2 +- netann/chan_status_manager.go | 8 +- netann/chan_status_manager_test.go | 8 +- netann/channel_announcement.go | 4 +- netann/channel_announcement_test.go | 6 +- netann/channel_update.go | 8 +- netann/channel_update_test.go | 10 +- netann/host_ann.go | 4 +- netann/host_ann_test.go | 2 +- netann/interface.go | 2 +- netann/log.go | 2 +- netann/node_announcement.go | 6 +- netann/node_signer.go | 4 +- netann/sign.go | 8 +- peer/brontide.go | 54 ++-- peer/brontide_test.go | 22 +- peer/interfaces.go | 6 +- peer/log.go | 2 +- peer/musig_chan_closer.go | 8 +- peer/test_utils.go | 28 +- peernotifier/log.go | 2 +- peernotifier/peernotifier.go | 2 +- pilot.go | 14 +- pool/read.go | 2 +- pool/read_buffer.go | 2 +- pool/recycle.go | 2 +- pool/recycle_test.go | 4 +- pool/worker_test.go | 4 +- pool/write.go | 2 +- pool/write_buffer.go | 2 +- queue/gc_queue.go | 2 +- queue/gc_queue_test.go | 2 +- queue/go.mod | 6 +- queue/queue_test.go | 2 +- record/amp.go | 2 +- record/hop.go | 2 +- record/mpp.go | 4 +- record/record_test.go | 6 +- routing/README.md | 8 +- routing/ann_validation.go | 2 +- routing/bandwidth.go | 8 +- routing/bandwidth_test.go | 4 +- routing/chainview/bitcoind.go | 4 +- routing/chainview/btcd.go | 4 +- routing/chainview/interface.go | 2 +- routing/chainview/interface_test.go | 8 +- routing/chainview/log.go | 2 +- routing/chainview/neutrino.go | 6 +- routing/control_tower.go | 8 +- routing/control_tower_test.go | 6 +- routing/graph.go | 8 +- routing/heap.go | 6 +- routing/heap_test.go | 2 +- routing/integrated_routing_context_test.go | 8 +- routing/integrated_routing_test.go | 4 +- routing/localchans/manager.go | 14 +- routing/localchans/manager_test.go | 14 +- routing/log.go | 4 +- routing/missioncontrol.go | 8 +- routing/missioncontrol_state.go | 2 +- routing/missioncontrol_state_test.go | 2 +- routing/missioncontrol_store.go | 6 +- routing/missioncontrol_store_test.go | 6 +- routing/missioncontrol_test.go | 6 +- routing/mock_graph_test.go | 6 +- routing/mock_test.go | 10 +- routing/nodepair.go | 2 +- routing/notifications.go | 4 +- routing/notifications_test.go | 14 +- routing/pathfind.go | 12 +- routing/pathfind_test.go | 12 +- routing/payment_lifecycle.go | 14 +- routing/payment_lifecycle_test.go | 12 +- routing/payment_session.go | 8 +- routing/payment_session_source.go | 8 +- routing/payment_session_test.go | 10 +- routing/probability_apriori.go | 4 +- routing/probability_apriori_test.go | 4 +- routing/probability_bimodal.go | 6 +- routing/probability_bimodal_test.go | 4 +- routing/probability_estimator.go | 4 +- routing/probability_estimator_test.go | 2 +- routing/result_interpretation.go | 6 +- routing/result_interpretation_test.go | 4 +- routing/route/route.go | 8 +- routing/route/route_test.go | 4 +- routing/router.go | 46 +-- routing/router_test.go | 22 +- routing/setup_test.go | 2 +- routing/shards/shard_tracker.go | 4 +- routing/shards/shard_tracker_test.go | 4 +- routing/unified_edges.go | 8 +- routing/unified_edges_test.go | 6 +- routing/validation_barrier.go | 6 +- routing/validation_barrier_test.go | 4 +- rpcperms/interceptor.go | 8 +- rpcperms/log.go | 2 +- rpcperms/middleware_handler.go | 4 +- rpcperms/middleware_handler_test.go | 2 +- rpcserver.go | 86 +++--- scripts/check-sample-lnd-conf.sh | 4 +- scripts/release.sh | 2 +- server.go | 98 +++--- server_test.go | 2 +- shachain/producer.go | 2 +- shachain/store.go | 2 +- sqldb/interfaces.go | 2 +- sqldb/postgres.go | 2 +- sqldb/sqlite.go | 2 +- subrpcserver_config.go | 48 +-- subscribe/subscribe.go | 2 +- subscribe/subscribe_test.go | 2 +- sweep/backend_mock_test.go | 2 +- sweep/fee_estimator_mock_test.go | 2 +- sweep/interface.go | 2 +- sweep/log.go | 2 +- sweep/setup_test.go | 2 +- sweep/store.go | 2 +- sweep/store_test.go | 2 +- sweep/sweeper.go | 10 +- sweep/sweeper_test.go | 12 +- sweep/test_utils.go | 2 +- sweep/tx_input_set.go | 6 +- sweep/tx_input_set_test.go | 4 +- sweep/txgenerator.go | 6 +- sweep/txgenerator_test.go | 2 +- sweep/walletsweep.go | 6 +- sweep/walletsweep_test.go | 6 +- sweep/weight_estimator.go | 4 +- sweep/weight_estimator_test.go | 4 +- sweeper_wallet.go | 2 +- ticker/go.mod | 2 +- ticker/ticker_test.go | 2 +- tls_manager.go | 10 +- tls_manager_test.go | 10 +- tlv/go.mod | 2 +- tlv/primitive_test.go | 2 +- tlv/stream_test.go | 2 +- tlv/tlv_test.go | 2 +- tlv/truncated_test.go | 2 +- tlv/varint_test.go | 2 +- tools/go.mod | 2 +- tor/README.md | 2 +- tor/go.mod | 2 +- walletunlocker/service.go | 16 +- walletunlocker/service_test.go | 16 +- watchtower/blob/justice_kit.go | 4 +- watchtower/blob/justice_kit_test.go | 6 +- watchtower/blob/type_test.go | 2 +- watchtower/config.go | 6 +- watchtower/interface.go | 4 +- watchtower/log.go | 10 +- watchtower/lookout/interface.go | 6 +- watchtower/lookout/justice_descriptor.go | 6 +- watchtower/lookout/justice_descriptor_test.go | 16 +- watchtower/lookout/log.go | 2 +- watchtower/lookout/lookout.go | 4 +- watchtower/lookout/lookout_test.go | 14 +- watchtower/lookout/mock.go | 2 +- watchtower/lookout/punisher.go | 2 +- watchtower/standalone.go | 10 +- watchtower/tlv_bench_test.go | 8 +- watchtower/wtclient/addr_iterator.go | 2 +- watchtower/wtclient/addr_iterator_test.go | 2 +- watchtower/wtclient/backup_task.go | 10 +- .../wtclient/backup_task_internal_test.go | 20 +- watchtower/wtclient/candidate_iterator.go | 2 +- .../wtclient/candidate_iterator_test.go | 2 +- watchtower/wtclient/client.go | 28 +- watchtower/wtclient/client_test.go | 34 +- watchtower/wtclient/interface.go | 12 +- watchtower/wtclient/log.go | 2 +- watchtower/wtclient/queue.go | 2 +- watchtower/wtclient/queue_test.go | 8 +- watchtower/wtclient/sess_close_min_heap.go | 4 +- watchtower/wtclient/session_negotiator.go | 14 +- watchtower/wtclient/session_queue.go | 12 +- watchtower/wtdb/client_chan_summary.go | 2 +- watchtower/wtdb/client_db.go | 8 +- watchtower/wtdb/client_db_test.go | 12 +- watchtower/wtdb/client_session.go | 6 +- watchtower/wtdb/codec.go | 8 +- watchtower/wtdb/codec_test.go | 4 +- watchtower/wtdb/db_common.go | 2 +- watchtower/wtdb/log.go | 16 +- watchtower/wtdb/migration1/client_db.go | 2 +- watchtower/wtdb/migration1/client_db_test.go | 4 +- watchtower/wtdb/migration1/codec.go | 8 +- watchtower/wtdb/migration2/client_db.go | 2 +- watchtower/wtdb/migration2/client_db_test.go | 4 +- watchtower/wtdb/migration3/client_db.go | 4 +- watchtower/wtdb/migration3/client_db_test.go | 6 +- watchtower/wtdb/migration4/client_db.go | 4 +- watchtower/wtdb/migration4/client_db_test.go | 4 +- watchtower/wtdb/migration5/client_db.go | 2 +- watchtower/wtdb/migration5/client_db_test.go | 4 +- watchtower/wtdb/migration6/client_db.go | 4 +- watchtower/wtdb/migration6/client_db_test.go | 6 +- watchtower/wtdb/migration7/client_db.go | 4 +- watchtower/wtdb/migration7/client_db_test.go | 4 +- watchtower/wtdb/queue.go | 2 +- watchtower/wtdb/queue_test.go | 4 +- watchtower/wtdb/session_info.go | 4 +- watchtower/wtdb/session_state_update.go | 2 +- watchtower/wtdb/tower_db.go | 6 +- watchtower/wtdb/tower_db_test.go | 14 +- watchtower/wtdb/version.go | 18 +- watchtower/wtmock/keyring.go | 2 +- watchtower/wtmock/peer.go | 2 +- watchtower/wtmock/queue.go | 2 +- watchtower/wtmock/signer.go | 4 +- watchtower/wtmock/tower_db.go | 6 +- watchtower/wtpolicy/policy.go | 6 +- watchtower/wtpolicy/policy_test.go | 4 +- watchtower/wtserver/create_session.go | 8 +- watchtower/wtserver/delete_session.go | 4 +- watchtower/wtserver/interface.go | 2 +- watchtower/wtserver/log.go | 2 +- watchtower/wtserver/server.go | 8 +- watchtower/wtserver/server_test.go | 12 +- watchtower/wtserver/state_update.go | 4 +- watchtower/wtwire/create_session.go | 4 +- watchtower/wtwire/features.go | 2 +- watchtower/wtwire/init.go | 4 +- watchtower/wtwire/init_test.go | 6 +- watchtower/wtwire/wtwire.go | 6 +- watchtower/wtwire/wtwire_test.go | 4 +- witness_beacon.go | 14 +- witness_beacon_test.go | 10 +- zpay32/README.md | 8 +- zpay32/amountunits.go | 2 +- zpay32/decode.go | 4 +- zpay32/encode.go | 4 +- zpay32/invoice.go | 2 +- zpay32/invoice_internal_test.go | 2 +- zpay32/invoice_test.go | 2 +- 951 files changed, 3706 insertions(+), 3705 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index a04ad5ae3b..5519301c1e 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,7 +1,7 @@ blank_issues_enabled: false contact_links: - name: Discussions - url: https://github.com/lightningnetwork/lnd/discussions + url: https://github.com/voltagecloud/lnd/discussions about: For general or troubleshooting questions or if you're not sure what issue type to pick. - name: Documentation for lnd and lightning-terminal url: https://docs.lightning.engineering/ @@ -10,5 +10,5 @@ contact_links: url: https://lightning.engineering/slack.html about: Please ask and answer questions here. - name: Security issue disclosure policy - url: https://github.com/lightningnetwork/lnd#security + url: https://github.com/voltagecloud/lnd#security about: Please refer to this document when reporting security related issues. diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 21f3fa92d8..d853c4de55 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -11,9 +11,9 @@ Steps for reviewers to follow to test the change. - [ ] Bug fixes contain tests triggering the bug to prevent regressions. ### Code Style and Documentation -- [ ] The change obeys the [Code Documentation and Commenting](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md#CodeDocumentation) guidelines, and lines wrap at 80. -- [ ] Commits follow the [Ideal Git Commit Structure](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md#IdealGitCommitStructure). +- [ ] The change obeys the [Code Documentation and Commenting](https://github.com/voltagecloud/lnd/blob/master/docs/code_contribution_guidelines.md#CodeDocumentation) guidelines, and lines wrap at 80. +- [ ] Commits follow the [Ideal Git Commit Structure](https://github.com/voltagecloud/lnd/blob/master/docs/code_contribution_guidelines.md#IdealGitCommitStructure). - [ ] Any new logging statements use an appropriate subsystem and logging level. -- [ ] [There is a change description in the release notes](https://github.com/lightningnetwork/lnd/tree/master/docs/release-notes), or `[skip ci]` in the commit message for small changes. +- [ ] [There is a change description in the release notes](https://github.com/voltagecloud/lnd/tree/master/docs/release-notes), or `[skip ci]` in the commit message for small changes. -📝 Please see our [Contribution Guidelines](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md) for further guidance. \ No newline at end of file +📝 Please see our [Contribution Guidelines](https://github.com/voltagecloud/lnd/blob/master/docs/code_contribution_guidelines.md) for further guidance. \ No newline at end of file diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7389def06f..1c57314d32 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -58,7 +58,7 @@ jobs: In order to verify the release, you'll need to have `gpg` or `gpg2` installed on your system. Once you've obtained a copy (and hopefully verified that as well), you'll first need to import the keys that have signed this release if you haven't done so already: ``` - curl https://raw.githubusercontent.com/lightningnetwork/lnd/master/scripts/keys/roasbeef.asc | gpg --import + curl https://raw.githubusercontent.com/voltagecloud/lnd/master/scripts/keys/roasbeef.asc | gpg --import ``` Once you have the required PGP keys, you can verify the release (assuming `manifest-roasbeef-${{ env.RELEASE_VERSION }}.sig` and `manifest-${{ env.RELEASE_VERSION }}.txt` are in the current directory) with: @@ -92,7 +92,7 @@ jobs: ## Verifying the Release Binaries - Our release binaries are fully reproducible. Third parties are able to verify that the release binaries were produced properly without having to trust the release manager(s). See our [reproducible builds guide](https://github.com/lightningnetwork/lnd/tree/master/build/release) for how this can be achieved. + Our release binaries are fully reproducible. Third parties are able to verify that the release binaries were produced properly without having to trust the release manager(s). See our [reproducible builds guide](https://github.com/voltagecloud/lnd/tree/master/build/release) for how this can be achieved. The release binaries are compiled with `go${{ env.GO_VERSION }}`, which is required by verifiers to arrive at the same ones. They include the following build tags: `autopilotrpc`, `signrpc`, `walletrpc`, `chainrpc`, `invoicesrpc`, `neutrinorpc`, `routerrpc`, `watchtowerrpc`, `monitoring`, `peersrpc`, `kvdb_postrgres`, `kvdb_etcd` and `kvdb_sqlite`. Note that these are already included in the release script, so they do not need to be provided. @@ -126,13 +126,13 @@ jobs: ``` tar -xvzf vendor.tar.gz tar -xvzf lnd-source-${{ env.RELEASE_VERSION }}.tar.gz - GO111MODULE=on go install -v -mod=vendor -ldflags "-X github.com/lightningnetwork/lnd/build.Commit=${{ env.RELEASE_VERSION }}" ./cmd/lnd - GO111MODULE=on go install -v -mod=vendor -ldflags "-X github.com/lightningnetwork/lnd/build.Commit=${{ env.RELEASE_VERSION }}" ./cmd/lncli + GO111MODULE=on go install -v -mod=vendor -ldflags "-X github.com/voltagecloud/lnd/build.Commit=${{ env.RELEASE_VERSION }}" ./cmd/lnd + GO111MODULE=on go install -v -mod=vendor -ldflags "-X github.com/voltagecloud/lnd/build.Commit=${{ env.RELEASE_VERSION }}" ./cmd/lncli ``` The `-mod=vendor` flag tells the `go build` command that it doesn't need to fetch the dependencies, and instead, they're all enclosed in the local vendor directory. - Additionally, it's now possible to use the [enclosed `release.sh` script to bundle a release for a _specific_ system like so](https://github.com/lightningnetwork/lnd/pull/2191): + Additionally, it's now possible to use the [enclosed `release.sh` script to bundle a release for a _specific_ system like so](https://github.com/voltagecloud/lnd/pull/2191): ``` make release sys="linux-arm64 darwin-amd64" diff --git a/Dockerfile b/Dockerfile index c35ed81bf9..f46821b90a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,15 +14,15 @@ ENV GODEBUG netdns=cgo # image to be built from a specified Git state. The default image # will use the Git tip of master by default. ARG checkout="master" -ARG git_url="https://github.com/lightningnetwork/lnd" +ARG git_url="https://github.com/voltagecloud/lnd" # Install dependencies and build the binaries. RUN apk add --no-cache --update alpine-sdk \ git \ make \ gcc \ -&& git clone $git_url /go/src/github.com/lightningnetwork/lnd \ -&& cd /go/src/github.com/lightningnetwork/lnd \ +&& git clone $git_url /go/src/github.com/voltagecloud/lnd \ +&& cd /go/src/github.com/voltagecloud/lnd \ && git checkout $checkout \ && make release-install @@ -44,8 +44,8 @@ RUN apk --no-cache add \ # Copy the binaries from the builder image. COPY --from=builder /go/bin/lncli /bin/ COPY --from=builder /go/bin/lnd /bin/ -COPY --from=builder /go/src/github.com/lightningnetwork/lnd/scripts/verify-install.sh / -COPY --from=builder /go/src/github.com/lightningnetwork/lnd/scripts/keys/* /keys/ +COPY --from=builder /go/src/github.com/voltagecloud/lnd/scripts/verify-install.sh / +COPY --from=builder /go/src/github.com/voltagecloud/lnd/scripts/keys/* /keys/ # Store the SHA256 hash of the binaries that were just produced for later # verification. diff --git a/Makefile b/Makefile index e31c0adde2..ca2c092347 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PKG := github.com/lightningnetwork/lnd +PKG := github.com/voltagecloud/lnd ESCPKG := github.com\/lightningnetwork\/lnd MOBILE_PKG := $(PKG)/mobile TOOLS_DIR := tools diff --git a/README.md b/README.md index 20615d03a0..dd1b1b7538 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ ## Lightning Network Daemon -[![Build Status](https://img.shields.io/travis/lightningnetwork/lnd.svg)](https://travis-ci.org/lightningnetwork/lnd) -[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/lightningnetwork/lnd/blob/master/LICENSE) +[![Build Status](https://img.shields.io/travis/voltagecloud/lnd.svg)](https://travis-ci.org/voltagecloud/lnd) +[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/voltagecloud/lnd/blob/master/LICENSE) [![Irc](https://img.shields.io/badge/chat-on%20libera-brightgreen.svg)](https://web.libera.chat/#lnd) -[![Godoc](https://godoc.org/github.com/lightningnetwork/lnd?status.svg)](https://godoc.org/github.com/lightningnetwork/lnd) +[![Godoc](https://godoc.org/github.com/voltagecloud/lnd?status.svg)](https://godoc.org/github.com/voltagecloud/lnd) @@ -20,14 +20,14 @@ within it. In the current state `lnd` is capable of: * Completely managing all channel states (including the exceptional ones!). * Maintaining a fully authenticated+validated channel graph. * Performing path finding within the network, passively forwarding incoming payments. -* Sending outgoing [onion-encrypted payments](https://github.com/lightningnetwork/lightning-onion) +* Sending outgoing [onion-encrypted payments](https://github.com/voltagecloud/lightning-onion) through the network. * Updating advertised fee schedules. -* Automatic channel management ([`autopilot`](https://github.com/lightningnetwork/lnd/tree/master/autopilot)). +* Automatic channel management ([`autopilot`](https://github.com/voltagecloud/lnd/tree/master/autopilot)). ## Lightning Network Specification Compliance `lnd` _fully_ conforms to the [Lightning Network specification -(BOLTs)](https://github.com/lightningnetwork/lightning-rfc). BOLT stands for: +(BOLTs)](https://github.com/voltagecloud/lightning-rfc). BOLT stands for: Basis of Lightning Technology. The specifications are currently being drafted by several groups of implementers based around the world including the developers of `lnd`. The set of specification documents as well as our @@ -93,5 +93,5 @@ preferably encrypted using our designated PGP key [here](https://gist.githubusercontent.com/Roasbeef/6fb5b52886183239e4aa558f83d085d3/raw/5fa96010af201628bcfa61e9309d9b13d23d220f/security@lightning.engineering). ## Further reading -* [Step-by-step send payment guide with docker](https://github.com/lightningnetwork/lnd/tree/master/docker) -* [Contribution guide](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md) +* [Step-by-step send payment guide with docker](https://github.com/voltagecloud/lnd/tree/master/docker) +* [Contribution guide](https://github.com/voltagecloud/lnd/blob/master/docs/code_contribution_guidelines.md) diff --git a/aezeed/README.md b/aezeed/README.md index b9298b2c33..cac58aa2a9 100644 --- a/aezeed/README.md +++ b/aezeed/README.md @@ -1,6 +1,6 @@ # aezeed -[In this PR](https://github.com/lightningnetwork/lnd/pull/773) we added a new package implementing the aezeed cipher +[In this PR](https://github.com/voltagecloud/lnd/pull/773) we added a new package implementing the aezeed cipher seed scheme (based on [aez](http://web.cs.ucdavis.edu/~rogaway/aez/)). This new scheme aims to address @@ -18,11 +18,11 @@ $ go test -run=XXX -bench=. goos: linux goarch: amd64 -pkg: github.com/lightningnetwork/lnd/aezeed +pkg: github.com/voltagecloud/lnd/aezeed BenchmarkTomnemonic-4 20 93280730 ns/op 33559670 B/op 36 allocs/op BenchmarkToCipherSeed-4 10 102323892 ns/op 36915684 B/op 41 allocs/op PASS -ok github.com/lightningnetwork/lnd/aezeed 4.168s +ok github.com/voltagecloud/lnd/aezeed 4.168s ``` Aside from addressing the shortcomings of BIP 39, an aezeed cipher seed diff --git a/aliasmgr/aliasmgr.go b/aliasmgr/aliasmgr.go index f33eb391eb..7498a44e91 100644 --- a/aliasmgr/aliasmgr.go +++ b/aliasmgr/aliasmgr.go @@ -5,9 +5,9 @@ import ( "fmt" "sync" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/aliasmgr/aliasmgr_test.go b/aliasmgr/aliasmgr_test.go index 17159ed877..a58af3658b 100644 --- a/aliasmgr/aliasmgr_test.go +++ b/aliasmgr/aliasmgr_test.go @@ -5,9 +5,9 @@ import ( "path/filepath" "testing" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" ) // TestAliasStorePeerAlias tests that putting and retrieving a peer's alias diff --git a/amp/child.go b/amp/child.go index 5614625c12..ba1dd0c6ba 100644 --- a/amp/child.go +++ b/amp/child.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "fmt" - "github.com/lightningnetwork/lnd/lntypes" + "github.com/voltagecloud/lnd/lntypes" ) // Share represents an n-of-n sharing of a secret 32-byte value. The secret can diff --git a/amp/derivation_test.go b/amp/derivation_test.go index af8162d1d4..820894f335 100644 --- a/amp/derivation_test.go +++ b/amp/derivation_test.go @@ -3,8 +3,8 @@ package amp_test import ( "testing" - "github.com/lightningnetwork/lnd/amp" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/amp" ) type sharerTest struct { diff --git a/amp/shard_tracker.go b/amp/shard_tracker.go index 473447e4e4..80c0959b9e 100644 --- a/amp/shard_tracker.go +++ b/amp/shard_tracker.go @@ -6,10 +6,10 @@ import ( "fmt" "sync" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" - "github.com/lightningnetwork/lnd/routing/shards" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/record" + "github.com/voltagecloud/lnd/routing/shards" ) // Shard is an implementation of the shards.PaymentShards interface specific diff --git a/amp/shard_tracker_test.go b/amp/shard_tracker_test.go index 4f0ca982d4..6734b403f2 100644 --- a/amp/shard_tracker_test.go +++ b/amp/shard_tracker_test.go @@ -4,10 +4,10 @@ import ( "crypto/rand" "testing" - "github.com/lightningnetwork/lnd/amp" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/shards" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/amp" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/shards" ) // TestAMPShardTracker tests that we can derive and cancel shards at will using diff --git a/autopilot/agent.go b/autopilot/agent.go index 22eb6c90a3..c85f61ea31 100644 --- a/autopilot/agent.go +++ b/autopilot/agent.go @@ -11,7 +11,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) // Config couples all the items that an autopilot agent needs to function. diff --git a/autopilot/agent_constraints_test.go b/autopilot/agent_constraints_test.go index 64152cef8a..9522c89c07 100644 --- a/autopilot/agent_constraints_test.go +++ b/autopilot/agent_constraints_test.go @@ -6,7 +6,7 @@ import ( "time" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) func TestConstraintsChannelBudget(t *testing.T) { diff --git a/autopilot/externalscoreattach_test.go b/autopilot/externalscoreattach_test.go index aa0f87fb26..4438b985e3 100644 --- a/autopilot/externalscoreattach_test.go +++ b/autopilot/externalscoreattach_test.go @@ -5,7 +5,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/autopilot" + "github.com/voltagecloud/lnd/autopilot" ) // randKey returns a random public key. diff --git a/autopilot/graph.go b/autopilot/graph.go index 0b062a5358..a11b9ed68a 100644 --- a/autopilot/graph.go +++ b/autopilot/graph.go @@ -11,10 +11,10 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/ecdsa" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) var ( diff --git a/autopilot/graph_test.go b/autopilot/graph_test.go index 9a52e67c89..2c17fb75d2 100644 --- a/autopilot/graph_test.go +++ b/autopilot/graph_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/autopilot" + "github.com/voltagecloud/lnd/autopilot" ) // TestMedian tests the Median method. diff --git a/autopilot/interface.go b/autopilot/interface.go index 671d343325..7f851b9b77 100644 --- a/autopilot/interface.go +++ b/autopilot/interface.go @@ -6,7 +6,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) // DefaultConfTarget is the default confirmation target for autopilot channels. diff --git a/autopilot/log.go b/autopilot/log.go index 34e53c8462..8ce8be8842 100644 --- a/autopilot/log.go +++ b/autopilot/log.go @@ -2,7 +2,7 @@ package autopilot import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This diff --git a/autopilot/manager.go b/autopilot/manager.go index e2b09f11ef..a7b1b96807 100644 --- a/autopilot/manager.go +++ b/autopilot/manager.go @@ -6,9 +6,9 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing" ) // ManagerCfg houses a set of values and methods that is passed to the Manager diff --git a/autopilot/prefattach_test.go b/autopilot/prefattach_test.go index 524116aa4c..ef731172a4 100644 --- a/autopilot/prefattach_test.go +++ b/autopilot/prefattach_test.go @@ -8,8 +8,8 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/channeldb" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" ) type genGraphFunc func(t *testing.T) (testGraph, error) diff --git a/batch/batch.go b/batch/batch.go index fcc691582a..2d3d66992e 100644 --- a/batch/batch.go +++ b/batch/batch.go @@ -4,7 +4,7 @@ import ( "errors" "sync" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) // errSolo is a sentinel error indicating that the requester should re-run the diff --git a/batch/interface.go b/batch/interface.go index a1690c3840..36a179eaa4 100644 --- a/batch/interface.go +++ b/batch/interface.go @@ -1,6 +1,6 @@ package batch -import "github.com/lightningnetwork/lnd/kvdb" +import "github.com/voltagecloud/lnd/kvdb" // Request defines an operation that can be batched into a single bbolt // transaction. diff --git a/batch/scheduler.go b/batch/scheduler.go index 4a01adda71..ad0da51266 100644 --- a/batch/scheduler.go +++ b/batch/scheduler.go @@ -4,7 +4,7 @@ import ( "sync" "time" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) // TimeScheduler is a batching engine that executes requests within a fixed diff --git a/blockcache/blockcache.go b/blockcache/blockcache.go index 09d5d33955..a8b55361af 100644 --- a/blockcache/blockcache.go +++ b/blockcache/blockcache.go @@ -7,8 +7,8 @@ import ( "github.com/lightninglabs/neutrino" "github.com/lightninglabs/neutrino/cache" "github.com/lightninglabs/neutrino/cache/lru" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/multimutex" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/multimutex" ) // BlockCache is an lru cache for blocks. diff --git a/brontide/README.md b/brontide/README.md index e64006875a..d47eda845c 100644 --- a/brontide/README.md +++ b/brontide/README.md @@ -1,9 +1,9 @@ brontide ========== -[![Build Status](http://img.shields.io/travis/lightningnetwork/lnd.svg)](https://travis-ci.org/lightningnetwork/lnd) -[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/lightningnetwork/lnd/blob/master/LICENSE) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/lightningnetwork/lnd/brontide) +[![Build Status](http://img.shields.io/travis/voltagecloud/lnd.svg)](https://travis-ci.org/voltagecloud/lnd) +[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/voltagecloud/lnd/blob/master/LICENSE) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/voltagecloud/lnd/brontide) The brontide package implements a secure crypto messaging protocol based off of the [Noise Protocol Framework](http://noiseprotocol.org/noise.html). The @@ -15,7 +15,7 @@ which allows the encrypted transport to be seamlessly integrated into a codebase. The secure messaging scheme implemented within this package is described in -detail in [BOLT #8 of the Lightning Network specifications](https://github.com/lightningnetwork/lightning-rfc/blob/master/08-transport.md). +detail in [BOLT #8 of the Lightning Network specifications](https://github.com/voltagecloud/lightning-rfc/blob/master/08-transport.md). This package has intentionally been designed so it can be used as a standalone package for any projects needing secure encrypted+authenticated communications @@ -24,5 +24,5 @@ between network enabled programs. ## Installation and Updating ```shell -$ go get -u github.com/lightningnetwork/lnd/brontide +$ go get -u github.com/voltagecloud/lnd/brontide ``` diff --git a/brontide/conn.go b/brontide/conn.go index e83c8a5a89..83fca536a8 100644 --- a/brontide/conn.go +++ b/brontide/conn.go @@ -8,9 +8,9 @@ import ( "time" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/tor" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/tor" ) // Conn is an implementation of net.Conn which enforces an authenticated key diff --git a/brontide/fuzz_test.go b/brontide/fuzz_test.go index 56592d1ff5..9488c15c0a 100644 --- a/brontide/fuzz_test.go +++ b/brontide/fuzz_test.go @@ -12,7 +12,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/davecgh/go-spew/spew" "github.com/decred/dcrd/dcrec/secp256k1/v4" - "github.com/lightningnetwork/lnd/keychain" + "github.com/voltagecloud/lnd/keychain" ) var ( diff --git a/brontide/listener.go b/brontide/listener.go index e3f93a665d..c7da0c7344 100644 --- a/brontide/listener.go +++ b/brontide/listener.go @@ -7,7 +7,7 @@ import ( "net" "time" - "github.com/lightningnetwork/lnd/keychain" + "github.com/voltagecloud/lnd/keychain" ) // defaultHandshakes is the maximum number of handshakes that can be done in diff --git a/brontide/noise.go b/brontide/noise.go index 3c8c5cd74d..5cea1e7633 100644 --- a/brontide/noise.go +++ b/brontide/noise.go @@ -11,7 +11,7 @@ import ( "time" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/keychain" + "github.com/voltagecloud/lnd/keychain" "golang.org/x/crypto/chacha20poly1305" "golang.org/x/crypto/hkdf" ) diff --git a/brontide/noise_test.go b/brontide/noise_test.go index 1539ece0f0..55e58ed544 100644 --- a/brontide/noise_test.go +++ b/brontide/noise_test.go @@ -11,10 +11,10 @@ import ( "testing/iotest" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/tor" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/tor" ) type maybeNetConn struct { diff --git a/buffer/buffer_test.go b/buffer/buffer_test.go index 754da0e6b7..5f87b032eb 100644 --- a/buffer/buffer_test.go +++ b/buffer/buffer_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/lightningnetwork/lnd/buffer" + "github.com/voltagecloud/lnd/buffer" ) // TestRecycleSlice asserts that RecycleSlice always zeros a byte slice. diff --git a/buffer/read.go b/buffer/read.go index f38ab971e3..4a4a4e181f 100644 --- a/buffer/read.go +++ b/buffer/read.go @@ -1,7 +1,7 @@ package buffer import ( - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) // ReadSize represents the size of the maximum message that can be read off the diff --git a/buffer/write.go b/buffer/write.go index 712571b972..12254969b6 100644 --- a/buffer/write.go +++ b/buffer/write.go @@ -1,7 +1,7 @@ package buffer import ( - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) // WriteSize represents the size of the maximum plaintext message than can be diff --git a/build/log_test.go b/build/log_test.go index 001b8e08b3..8e62acb4a6 100644 --- a/build/log_test.go +++ b/build/log_test.go @@ -4,8 +4,8 @@ import ( "testing" "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/build" ) type mockSubLogger struct { diff --git a/cert/go.mod b/cert/go.mod index 24498a3fee..14c4adff37 100644 --- a/cert/go.mod +++ b/cert/go.mod @@ -1,4 +1,4 @@ -module github.com/lightningnetwork/lnd/cert +module github.com/voltagecloud/lnd/cert go 1.19 diff --git a/cert/selfsigned_test.go b/cert/selfsigned_test.go index 437aa4bf2f..4ebb991f52 100644 --- a/cert/selfsigned_test.go +++ b/cert/selfsigned_test.go @@ -6,8 +6,8 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/cert" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/cert" ) const ( diff --git a/chainntnfs/README.md b/chainntnfs/README.md index 886e64f383..ce91c334ae 100644 --- a/chainntnfs/README.md +++ b/chainntnfs/README.md @@ -1,9 +1,9 @@ chainntnfs ========== -[![Build Status](http://img.shields.io/travis/lightningnetwork/lnd.svg)](https://travis-ci.org/lightningnetwork/lnd) -[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/lightningnetwork/lnd/blob/master/LICENSE) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/lightningnetwork/lnd/chainntnfs) +[![Build Status](http://img.shields.io/travis/voltagecloud/lnd.svg)](https://travis-ci.org/voltagecloud/lnd) +[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/voltagecloud/lnd/blob/master/LICENSE) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/voltagecloud/lnd/chainntnfs) The chainntnfs package implements a set of interfaces which allow callers to receive notifications in response to specific on-chain events. The set of @@ -26,5 +26,5 @@ implementation of the `ChainNotifier` interface depends on `btcd`. ## Installation and Updating ```shell -$ go get -u github.com/lightningnetwork/lnd/chainntnfs +$ go get -u github.com/voltagecloud/lnd/chainntnfs ``` diff --git a/chainntnfs/bitcoindnotify/bitcoind.go b/chainntnfs/bitcoindnotify/bitcoind.go index ef29c45032..390872cb95 100644 --- a/chainntnfs/bitcoindnotify/bitcoind.go +++ b/chainntnfs/bitcoindnotify/bitcoind.go @@ -13,9 +13,9 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcwallet/chain" - "github.com/lightningnetwork/lnd/blockcache" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/queue" + "github.com/voltagecloud/lnd/blockcache" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/queue" ) const ( diff --git a/chainntnfs/bitcoindnotify/bitcoind_dev.go b/chainntnfs/bitcoindnotify/bitcoind_dev.go index d71caf4df5..004415eaa3 100644 --- a/chainntnfs/bitcoindnotify/bitcoind_dev.go +++ b/chainntnfs/bitcoindnotify/bitcoind_dev.go @@ -9,7 +9,7 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcwallet/chain" - "github.com/lightningnetwork/lnd/chainntnfs" + "github.com/voltagecloud/lnd/chainntnfs" ) // UnsafeStart starts the notifier with a specified best height and optional diff --git a/chainntnfs/bitcoindnotify/bitcoind_test.go b/chainntnfs/bitcoindnotify/bitcoind_test.go index 3eefe8e328..d611c6522c 100644 --- a/chainntnfs/bitcoindnotify/bitcoind_test.go +++ b/chainntnfs/bitcoindnotify/bitcoind_test.go @@ -12,11 +12,11 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/integration/rpctest" "github.com/btcsuite/btcwallet/chain" - "github.com/lightningnetwork/lnd/blockcache" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lntest/wait" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/blockcache" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lntest/wait" ) var ( diff --git a/chainntnfs/bitcoindnotify/driver.go b/chainntnfs/bitcoindnotify/driver.go index 1968f74c65..cf00e12e32 100644 --- a/chainntnfs/bitcoindnotify/driver.go +++ b/chainntnfs/bitcoindnotify/driver.go @@ -6,8 +6,8 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcwallet/chain" - "github.com/lightningnetwork/lnd/blockcache" - "github.com/lightningnetwork/lnd/chainntnfs" + "github.com/voltagecloud/lnd/blockcache" + "github.com/voltagecloud/lnd/chainntnfs" ) // createNewNotifier creates a new instance of the ChainNotifier interface diff --git a/chainntnfs/btcdnotify/btcd.go b/chainntnfs/btcdnotify/btcd.go index 2c2619b2c3..97839a0bcb 100644 --- a/chainntnfs/btcdnotify/btcd.go +++ b/chainntnfs/btcdnotify/btcd.go @@ -14,9 +14,9 @@ import ( "github.com/btcsuite/btcd/rpcclient" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/blockcache" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/queue" + "github.com/voltagecloud/lnd/blockcache" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/queue" ) const ( diff --git a/chainntnfs/btcdnotify/btcd_dev.go b/chainntnfs/btcdnotify/btcd_dev.go index 11b20ff7ce..7f1a2ce8e8 100644 --- a/chainntnfs/btcdnotify/btcd_dev.go +++ b/chainntnfs/btcdnotify/btcd_dev.go @@ -8,7 +8,7 @@ import ( "time" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/chainntnfs" + "github.com/voltagecloud/lnd/chainntnfs" ) // UnsafeStart starts the notifier with a specified best height and optional diff --git a/chainntnfs/btcdnotify/btcd_test.go b/chainntnfs/btcdnotify/btcd_test.go index 517710be56..e1a10cc578 100644 --- a/chainntnfs/btcdnotify/btcd_test.go +++ b/chainntnfs/btcdnotify/btcd_test.go @@ -9,10 +9,10 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/integration/rpctest" - "github.com/lightningnetwork/lnd/blockcache" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/blockcache" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/channeldb" ) var ( diff --git a/chainntnfs/btcdnotify/driver.go b/chainntnfs/btcdnotify/driver.go index 067b48cf82..ff4d8230c0 100644 --- a/chainntnfs/btcdnotify/driver.go +++ b/chainntnfs/btcdnotify/driver.go @@ -6,8 +6,8 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/rpcclient" - "github.com/lightningnetwork/lnd/blockcache" - "github.com/lightningnetwork/lnd/chainntnfs" + "github.com/voltagecloud/lnd/blockcache" + "github.com/voltagecloud/lnd/chainntnfs" ) // createNewNotifier creates a new instance of the ChainNotifier interface diff --git a/chainntnfs/log.go b/chainntnfs/log.go index f21246053e..179fdfd866 100644 --- a/chainntnfs/log.go +++ b/chainntnfs/log.go @@ -2,7 +2,7 @@ package chainntnfs import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // Log is a logger that is initialized with no output filters. This diff --git a/chainntnfs/mempool.go b/chainntnfs/mempool.go index 59ce28f7b1..3f60b70fdd 100644 --- a/chainntnfs/mempool.go +++ b/chainntnfs/mempool.go @@ -6,7 +6,7 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnutils" + "github.com/voltagecloud/lnd/lnutils" ) // inputsWithTx is a map of outpoints to the tx that spends them. diff --git a/chainntnfs/neutrinonotify/driver.go b/chainntnfs/neutrinonotify/driver.go index dbd8971803..60a768b203 100644 --- a/chainntnfs/neutrinonotify/driver.go +++ b/chainntnfs/neutrinonotify/driver.go @@ -5,8 +5,8 @@ import ( "fmt" "github.com/lightninglabs/neutrino" - "github.com/lightningnetwork/lnd/blockcache" - "github.com/lightningnetwork/lnd/chainntnfs" + "github.com/voltagecloud/lnd/blockcache" + "github.com/voltagecloud/lnd/chainntnfs" ) // createNewNotifier creates a new instance of the ChainNotifier interface diff --git a/chainntnfs/neutrinonotify/neutrino.go b/chainntnfs/neutrinonotify/neutrino.go index 6f8f9717cb..902fdd25a3 100644 --- a/chainntnfs/neutrinonotify/neutrino.go +++ b/chainntnfs/neutrinonotify/neutrino.go @@ -17,10 +17,10 @@ import ( "github.com/btcsuite/btcd/wire" "github.com/lightninglabs/neutrino" "github.com/lightninglabs/neutrino/headerfs" - "github.com/lightningnetwork/lnd/blockcache" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/queue" + "github.com/voltagecloud/lnd/blockcache" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/queue" ) const ( diff --git a/chainntnfs/neutrinonotify/neutrino_dev.go b/chainntnfs/neutrinonotify/neutrino_dev.go index e70cdf4d0f..ad0c8048bd 100644 --- a/chainntnfs/neutrinonotify/neutrino_dev.go +++ b/chainntnfs/neutrinonotify/neutrino_dev.go @@ -10,7 +10,7 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/rpcclient" "github.com/lightninglabs/neutrino" - "github.com/lightningnetwork/lnd/chainntnfs" + "github.com/voltagecloud/lnd/chainntnfs" ) // UnsafeStart starts the notifier with a specified best height and optional diff --git a/chainntnfs/test/bitcoind/bitcoind_test.go b/chainntnfs/test/bitcoind/bitcoind_test.go index cc379de817..4ef4fabf47 100644 --- a/chainntnfs/test/bitcoind/bitcoind_test.go +++ b/chainntnfs/test/bitcoind/bitcoind_test.go @@ -6,7 +6,7 @@ package bitcoind_test import ( "testing" - chainntnfstest "github.com/lightningnetwork/lnd/chainntnfs/test" + chainntnfstest "github.com/voltagecloud/lnd/chainntnfs/test" ) // TestInterfaces executes the generic notifier test suite against a bitcoind diff --git a/chainntnfs/test/btcd/btcd_test.go b/chainntnfs/test/btcd/btcd_test.go index 5ef4483642..5f237e02f2 100644 --- a/chainntnfs/test/btcd/btcd_test.go +++ b/chainntnfs/test/btcd/btcd_test.go @@ -6,7 +6,7 @@ package btcd_test import ( "testing" - chainntnfstest "github.com/lightningnetwork/lnd/chainntnfs/test" + chainntnfstest "github.com/voltagecloud/lnd/chainntnfs/test" ) // TestInterfaces executes the generic notifier test suite against a btcd diff --git a/chainntnfs/test/neutrino/neutrino_test.go b/chainntnfs/test/neutrino/neutrino_test.go index e8be853717..c13dde5bc7 100644 --- a/chainntnfs/test/neutrino/neutrino_test.go +++ b/chainntnfs/test/neutrino/neutrino_test.go @@ -6,7 +6,7 @@ package neutrino_test import ( "testing" - chainntnfstest "github.com/lightningnetwork/lnd/chainntnfs/test" + chainntnfstest "github.com/voltagecloud/lnd/chainntnfs/test" ) // TestInterfaces executes the generic notifier test suite against a neutrino diff --git a/chainntnfs/test/test_interface.go b/chainntnfs/test/test_interface.go index de01cc149a..99d65fccb0 100644 --- a/chainntnfs/test/test_interface.go +++ b/chainntnfs/test/test_interface.go @@ -19,14 +19,14 @@ import ( "github.com/btcsuite/btcwallet/chain" _ "github.com/btcsuite/btcwallet/walletdb/bdb" // Required to auto-register the boltdb walletdb implementation. "github.com/lightninglabs/neutrino" - "github.com/lightningnetwork/lnd/blockcache" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/chainntnfs/bitcoindnotify" - "github.com/lightningnetwork/lnd/chainntnfs/btcdnotify" - "github.com/lightningnetwork/lnd/chainntnfs/neutrinonotify" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnutils" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/blockcache" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/chainntnfs/bitcoindnotify" + "github.com/voltagecloud/lnd/chainntnfs/btcdnotify" + "github.com/voltagecloud/lnd/chainntnfs/neutrinonotify" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lnutils" ) func testSingleConfirmationNotification(miner *rpctest.Harness, diff --git a/chainntnfs/test_utils.go b/chainntnfs/test_utils.go index fa6b7cd568..85916ded41 100644 --- a/chainntnfs/test_utils.go +++ b/chainntnfs/test_utils.go @@ -24,9 +24,9 @@ import ( "github.com/btcsuite/btcwallet/chain" "github.com/btcsuite/btcwallet/walletdb" "github.com/lightninglabs/neutrino" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntest/wait" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntest/wait" ) var ( diff --git a/chainntnfs/txnotifier_test.go b/chainntnfs/txnotifier_test.go index 354c2103be..f4a029d9bb 100644 --- a/chainntnfs/txnotifier_test.go +++ b/chainntnfs/txnotifier_test.go @@ -9,8 +9,8 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chainntnfs" ) var ( diff --git a/chainreg/chainparams.go b/chainreg/chainparams.go index 6d15c93031..d577332452 100644 --- a/chainreg/chainparams.go +++ b/chainreg/chainparams.go @@ -5,9 +5,9 @@ import ( bitcoinCfg "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" bitcoinWire "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/keychain" litecoinCfg "github.com/ltcsuite/ltcd/chaincfg" litecoinWire "github.com/ltcsuite/ltcd/wire" + "github.com/voltagecloud/lnd/keychain" ) // BitcoinNetParams couples the p2p parameters of a network with the diff --git a/chainreg/chainregistry.go b/chainreg/chainregistry.go index 3092385058..9d7edc8acb 100644 --- a/chainreg/chainregistry.go +++ b/chainreg/chainregistry.go @@ -19,22 +19,22 @@ import ( "github.com/btcsuite/btcd/rpcclient" "github.com/btcsuite/btcwallet/chain" "github.com/lightninglabs/neutrino" - "github.com/lightningnetwork/lnd/blockcache" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/chainntnfs/bitcoindnotify" - "github.com/lightningnetwork/lnd/chainntnfs/btcdnotify" - "github.com/lightningnetwork/lnd/chainntnfs/neutrinonotify" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/chainview" - "github.com/lightningnetwork/lnd/walletunlocker" + "github.com/voltagecloud/chainntnfs" + "github.com/voltagecloud/chainntnfs/bitcoindnotify" + "github.com/voltagecloud/chainntnfs/btcdnotify" + "github.com/voltagecloud/chainntnfs/neutrinonotify" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/channeldb/models" + "github.com/voltagecloud/input" + "github.com/voltagecloud/keychain" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/lncfg" + "github.com/voltagecloud/lnd/blockcache" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwallet/chainfee" + "github.com/voltagecloud/lnwire" + "github.com/voltagecloud/routing/chainview" + "github.com/voltagecloud/walletunlocker" ) // Config houses necessary fields that a chainControl instance needs to diff --git a/chainreg/log.go b/chainreg/log.go index 2670794786..a499e8b57b 100644 --- a/chainreg/log.go +++ b/chainreg/log.go @@ -2,7 +2,7 @@ package chainreg import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // Subsystem defines the logging code for this subsystem. diff --git a/chainreg/no_chain_backend.go b/chainreg/no_chain_backend.go index 7d601dadff..ee11033b8e 100644 --- a/chainreg/no_chain_backend.go +++ b/chainreg/no_chain_backend.go @@ -9,10 +9,10 @@ import ( "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcwallet/chain" "github.com/btcsuite/btcwallet/waddrmgr" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/routing/chainview" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnwallet/chainfee" + "github.com/voltagecloud/routing/chainview" ) var ( diff --git a/chanacceptor/acceptor_test.go b/chanacceptor/acceptor_test.go index 5a6aaa0127..ef1b802bfe 100644 --- a/chanacceptor/acceptor_test.go +++ b/chanacceptor/acceptor_test.go @@ -8,11 +8,11 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnwallet/chancloser" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnwallet/chancloser" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/require" ) const testTimeout = time.Second diff --git a/chanacceptor/interface.go b/chanacceptor/interface.go index 3149cb05b3..850b6eb1fb 100644 --- a/chanacceptor/interface.go +++ b/chanacceptor/interface.go @@ -5,7 +5,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/chanacceptor/log.go b/chanacceptor/log.go index 26e131c438..3685494e38 100644 --- a/chanacceptor/log.go +++ b/chanacceptor/log.go @@ -2,7 +2,7 @@ package chanacceptor import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // Subsystem defines the logging code for this subsystem. diff --git a/chanacceptor/merge.go b/chanacceptor/merge.go index 34f191743d..37ccbe400b 100644 --- a/chanacceptor/merge.go +++ b/chanacceptor/merge.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) const ( diff --git a/chanacceptor/merge_test.go b/chanacceptor/merge_test.go index c6b6579a70..cf5c6a2154 100644 --- a/chanacceptor/merge_test.go +++ b/chanacceptor/merge_test.go @@ -3,8 +3,8 @@ package chanacceptor import ( "testing" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnwire" ) // TestMergeResponse tests merging of channel acceptor responses. diff --git a/chanacceptor/rpcacceptor.go b/chanacceptor/rpcacceptor.go index 779ba6f286..ac0ba1d409 100644 --- a/chanacceptor/rpcacceptor.go +++ b/chanacceptor/rpcacceptor.go @@ -9,10 +9,10 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnwallet/chancloser" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnwallet/chancloser" + "github.com/voltagecloud/lnwire" ) var ( diff --git a/chanacceptor/rpcacceptor_test.go b/chanacceptor/rpcacceptor_test.go index de1f380c17..c5bf03ff74 100644 --- a/chanacceptor/rpcacceptor_test.go +++ b/chanacceptor/rpcacceptor_test.go @@ -7,11 +7,11 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnwallet/chancloser" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/input" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnwallet/chancloser" ) // TestValidateAcceptorResponse test validation of acceptor responses. diff --git a/chanacceptor/zeroconfacceptor.go b/chanacceptor/zeroconfacceptor.go index 524a4b7ead..5f33403960 100644 --- a/chanacceptor/zeroconfacceptor.go +++ b/chanacceptor/zeroconfacceptor.go @@ -1,6 +1,6 @@ package chanacceptor -import "github.com/lightningnetwork/lnd/lnwire" +import "github.com/voltagecloud/lnd/lnwire" // ZeroConfAcceptor wraps a regular ChainedAcceptor. If no acceptors are in the // ChainedAcceptor, then Accept will reject all channel open requests. This diff --git a/chanacceptor/zeroconfacceptor_test.go b/chanacceptor/zeroconfacceptor_test.go index f3e0496bfe..01401dec10 100644 --- a/chanacceptor/zeroconfacceptor_test.go +++ b/chanacceptor/zeroconfacceptor_test.go @@ -3,8 +3,8 @@ package chanacceptor import ( "testing" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnwire" ) // dummyAcceptor is a ChannelAcceptor that will never return a failure. diff --git a/chanbackup/backup.go b/chanbackup/backup.go index 9a61d23cd3..8919bc39d2 100644 --- a/chanbackup/backup.go +++ b/chanbackup/backup.go @@ -6,8 +6,8 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/kvdb" ) // LiveChannelSource is an interface that allows us to query for the set of diff --git a/chanbackup/backup_test.go b/chanbackup/backup_test.go index 511b1081dc..295c08bf8e 100644 --- a/chanbackup/backup_test.go +++ b/chanbackup/backup_test.go @@ -7,9 +7,9 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/kvdb" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/kvdb" ) type mockChannelSource struct { diff --git a/chanbackup/backupfile.go b/chanbackup/backupfile.go index d2d6b788c1..fea1429cf0 100644 --- a/chanbackup/backupfile.go +++ b/chanbackup/backupfile.go @@ -6,7 +6,7 @@ import ( "os" "path/filepath" - "github.com/lightningnetwork/lnd/keychain" + "github.com/voltagecloud/lnd/keychain" ) const ( diff --git a/chanbackup/backupfile_test.go b/chanbackup/backupfile_test.go index 1bc94f38a2..12ae4a94f5 100644 --- a/chanbackup/backupfile_test.go +++ b/chanbackup/backupfile_test.go @@ -9,8 +9,8 @@ import ( "path/filepath" "testing" - "github.com/lightningnetwork/lnd/lnencrypt" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnencrypt" ) func makeFakePackedMulti() (PackedMulti, error) { diff --git a/chanbackup/log.go b/chanbackup/log.go index 730fbc9e4e..07b6b8207d 100644 --- a/chanbackup/log.go +++ b/chanbackup/log.go @@ -2,7 +2,7 @@ package chanbackup import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This diff --git a/chanbackup/multi.go b/chanbackup/multi.go index 40e09f4518..a59a941514 100644 --- a/chanbackup/multi.go +++ b/chanbackup/multi.go @@ -5,9 +5,9 @@ import ( "fmt" "io" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnencrypt" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnencrypt" + "github.com/voltagecloud/lnd/lnwire" ) // MultiBackupVersion denotes the version of the multi channel static channel diff --git a/chanbackup/multi_test.go b/chanbackup/multi_test.go index a296f914ea..7c8e36182b 100644 --- a/chanbackup/multi_test.go +++ b/chanbackup/multi_test.go @@ -5,8 +5,8 @@ import ( "net" "testing" - "github.com/lightningnetwork/lnd/lnencrypt" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnencrypt" ) // TestMultiPackUnpack... diff --git a/chanbackup/pubsub.go b/chanbackup/pubsub.go index 3e1580ddd2..199cd4edb1 100644 --- a/chanbackup/pubsub.go +++ b/chanbackup/pubsub.go @@ -8,8 +8,8 @@ import ( "sync" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/keychain" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/keychain" ) // Swapper is an interface that allows the chanbackup.SubSwapper to update the diff --git a/chanbackup/pubsub_test.go b/chanbackup/pubsub_test.go index 9586605cac..3c47a41b02 100644 --- a/chanbackup/pubsub_test.go +++ b/chanbackup/pubsub_test.go @@ -6,9 +6,9 @@ import ( "time" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnencrypt" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnencrypt" ) type mockSwapper struct { diff --git a/chanbackup/recover.go b/chanbackup/recover.go index ebd48dccfd..005c6ba6d8 100644 --- a/chanbackup/recover.go +++ b/chanbackup/recover.go @@ -5,8 +5,8 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/keychain" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/keychain" ) // ChannelRestorer is an interface that allows the Recover method to map the diff --git a/chanbackup/recover_test.go b/chanbackup/recover_test.go index e3e607737b..0051b442b8 100644 --- a/chanbackup/recover_test.go +++ b/chanbackup/recover_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/lnencrypt" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnencrypt" ) type mockChannelRestorer struct { diff --git a/chanbackup/single.go b/chanbackup/single.go index ab982d59c6..ef8b85b051 100644 --- a/chanbackup/single.go +++ b/chanbackup/single.go @@ -10,10 +10,10 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnencrypt" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnencrypt" + "github.com/voltagecloud/lnd/lnwire" ) // SingleBackupVersion denotes the version of the single static channel backup. diff --git a/chanbackup/single_test.go b/chanbackup/single_test.go index ab418e1901..d894a7a375 100644 --- a/chanbackup/single_test.go +++ b/chanbackup/single_test.go @@ -12,12 +12,12 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnencrypt" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/shachain" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnencrypt" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/shachain" ) var ( diff --git a/chanfitness/chanevent.go b/chanfitness/chanevent.go index b829a6c306..f900b8b599 100644 --- a/chanfitness/chanevent.go +++ b/chanfitness/chanevent.go @@ -5,7 +5,7 @@ import ( "time" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/clock" + "github.com/voltagecloud/lnd/clock" ) type eventType int diff --git a/chanfitness/chanevent_test.go b/chanfitness/chanevent_test.go index 43046db253..93e54a0527 100644 --- a/chanfitness/chanevent_test.go +++ b/chanfitness/chanevent_test.go @@ -5,8 +5,8 @@ import ( "time" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/clock" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/clock" ) // TestPeerLog tests the functionality of the peer log struct. diff --git a/chanfitness/chaneventstore.go b/chanfitness/chaneventstore.go index 53a699932b..0898f33b5e 100644 --- a/chanfitness/chaneventstore.go +++ b/chanfitness/chaneventstore.go @@ -16,13 +16,13 @@ import ( "time" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channelnotifier" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/peernotifier" - "github.com/lightningnetwork/lnd/routing/route" - "github.com/lightningnetwork/lnd/subscribe" - "github.com/lightningnetwork/lnd/ticker" + "github.com/voltagecloud/channelnotifier" + "github.com/voltagecloud/clock" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/peernotifier" + "github.com/voltagecloud/routing/route" + "github.com/voltagecloud/subscribe" + "github.com/voltagecloud/ticker" ) const ( diff --git a/chanfitness/chaneventstore_test.go b/chanfitness/chaneventstore_test.go index 0608889a98..1ec75ddadf 100644 --- a/chanfitness/chaneventstore_test.go +++ b/chanfitness/chaneventstore_test.go @@ -7,11 +7,11 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/routing/route" - "github.com/lightningnetwork/lnd/subscribe" "github.com/stretchr/testify/require" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/clock" + "github.com/voltagecloud/lnd/subscribe" + "github.com/voltagecloud/routing/route" ) // testNow is the current time tests will use. diff --git a/chanfitness/chaneventstore_testctx_test.go b/chanfitness/chaneventstore_testctx_test.go index aff4c5fca5..3d4a559af6 100644 --- a/chanfitness/chaneventstore_testctx_test.go +++ b/chanfitness/chaneventstore_testctx_test.go @@ -7,14 +7,14 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channelnotifier" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/peernotifier" - "github.com/lightningnetwork/lnd/routing/route" - "github.com/lightningnetwork/lnd/subscribe" - "github.com/lightningnetwork/lnd/ticker" "github.com/stretchr/testify/require" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/channelnotifier" + "github.com/voltagecloud/clock" + "github.com/voltagecloud/lnd/ticker" + "github.com/voltagecloud/peernotifier" + "github.com/voltagecloud/routing/route" + "github.com/voltagecloud/subscribe" ) // timeout is the amount of time we allow our blocking test calls. diff --git a/chanfitness/log.go b/chanfitness/log.go index 626f7538dc..ba351b6a72 100644 --- a/chanfitness/log.go +++ b/chanfitness/log.go @@ -2,7 +2,7 @@ package chanfitness import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // Subsystem defines the logging code for this subsystem. diff --git a/channel_notifier.go b/channel_notifier.go index 5995eb4097..b20edb1b9f 100644 --- a/channel_notifier.go +++ b/channel_notifier.go @@ -6,9 +6,9 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chanbackup" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channelnotifier" + "github.com/voltagecloud/lnd/chanbackup" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channelnotifier" ) // addrSource is an interface that allow us to get the addresses for a target diff --git a/channeldb/README.md b/channeldb/README.md index 26640dce9e..262161635f 100644 --- a/channeldb/README.md +++ b/channeldb/README.md @@ -1,9 +1,9 @@ channeldb ========== -[![Build Status](http://img.shields.io/travis/lightningnetwork/lnd.svg)](https://travis-ci.org/lightningnetwork/lnd) -[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/lightningnetwork/lnd/blob/master/LICENSE) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/lightningnetwork/lnd/channeldb) +[![Build Status](http://img.shields.io/travis/voltagecloud/lnd.svg)](https://travis-ci.org/voltagecloud/lnd) +[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/voltagecloud/lnd/blob/master/LICENSE) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/voltagecloud/lnd/channeldb) The channeldb implements the persistent storage engine for `lnd` and generically a data storage layer for the required state within the Lightning @@ -20,5 +20,5 @@ node and channel announcements, outgoing payments, and invoices ## Installation and Updating ```shell -$ go get -u github.com/lightningnetwork/lnd/channeldb +$ go get -u github.com/voltagecloud/lnd/channeldb ``` diff --git a/channeldb/addr.go b/channeldb/addr.go index dd057265c2..727404fd37 100644 --- a/channeldb/addr.go +++ b/channeldb/addr.go @@ -7,7 +7,7 @@ import ( "io" "net" - "github.com/lightningnetwork/lnd/tor" + "github.com/voltagecloud/lnd/tor" ) // addressType specifies the network protocol and version that should be used diff --git a/channeldb/addr_test.go b/channeldb/addr_test.go index c761989c05..e6b2facf99 100644 --- a/channeldb/addr_test.go +++ b/channeldb/addr_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/lightningnetwork/lnd/tor" + "github.com/voltagecloud/lnd/tor" ) type unknownAddrType struct{} diff --git a/channeldb/channel.go b/channeldb/channel.go index dbd796c879..9f2f2dad67 100644 --- a/channeldb/channel.go +++ b/channeldb/channel.go @@ -19,14 +19,14 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcwallet/walletdb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/shachain" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/shachain" + "github.com/voltagecloud/lnd/tlv" ) const ( diff --git a/channeldb/channel_test.go b/channeldb/channel_test.go index bfebad824b..42bf076186 100644 --- a/channeldb/channel_test.go +++ b/channeldb/channel_test.go @@ -15,15 +15,15 @@ import ( "github.com/btcsuite/btcd/wire" _ "github.com/btcsuite/btcwallet/walletdb/bdb" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnmock" - "github.com/lightningnetwork/lnd/lntest/channels" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/shachain" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/clock" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnmock" + "github.com/voltagecloud/lnd/lntest/channels" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/shachain" ) var ( diff --git a/channeldb/codec.go b/channeldb/codec.go index a79ef8558f..ed166d39f5 100644 --- a/channeldb/codec.go +++ b/channeldb/codec.go @@ -11,10 +11,10 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/shachain" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/shachain" + "github.com/voltagecloud/lnd/tlv" ) // writeOutpoint writes an outpoint to the passed writer using the minimal diff --git a/channeldb/db.go b/channeldb/db.go index 18a66c46e0..c7cd41ec0e 100644 --- a/channeldb/db.go +++ b/channeldb/db.go @@ -12,25 +12,25 @@ import ( "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcwallet/walletdb" "github.com/go-errors/errors" - mig "github.com/lightningnetwork/lnd/channeldb/migration" - "github.com/lightningnetwork/lnd/channeldb/migration12" - "github.com/lightningnetwork/lnd/channeldb/migration13" - "github.com/lightningnetwork/lnd/channeldb/migration16" - "github.com/lightningnetwork/lnd/channeldb/migration20" - "github.com/lightningnetwork/lnd/channeldb/migration21" - "github.com/lightningnetwork/lnd/channeldb/migration23" - "github.com/lightningnetwork/lnd/channeldb/migration24" - "github.com/lightningnetwork/lnd/channeldb/migration25" - "github.com/lightningnetwork/lnd/channeldb/migration26" - "github.com/lightningnetwork/lnd/channeldb/migration27" - "github.com/lightningnetwork/lnd/channeldb/migration29" - "github.com/lightningnetwork/lnd/channeldb/migration30" - "github.com/lightningnetwork/lnd/channeldb/migration31" - "github.com/lightningnetwork/lnd/channeldb/migration_01_to_11" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + mig "github.com/voltagecloud/lnd/channeldb/migration" + "github.com/voltagecloud/lnd/channeldb/migration12" + "github.com/voltagecloud/lnd/channeldb/migration13" + "github.com/voltagecloud/lnd/channeldb/migration16" + "github.com/voltagecloud/lnd/channeldb/migration20" + "github.com/voltagecloud/lnd/channeldb/migration21" + "github.com/voltagecloud/lnd/channeldb/migration23" + "github.com/voltagecloud/lnd/channeldb/migration24" + "github.com/voltagecloud/lnd/channeldb/migration25" + "github.com/voltagecloud/lnd/channeldb/migration26" + "github.com/voltagecloud/lnd/channeldb/migration27" + "github.com/voltagecloud/lnd/channeldb/migration29" + "github.com/voltagecloud/lnd/channeldb/migration30" + "github.com/voltagecloud/lnd/channeldb/migration31" + "github.com/voltagecloud/lnd/channeldb/migration_01_to_11" + "github.com/voltagecloud/lnd/clock" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) const ( diff --git a/channeldb/db_test.go b/channeldb/db_test.go index 62e7204073..f3bf8fb5c6 100644 --- a/channeldb/db_test.go +++ b/channeldb/db_test.go @@ -12,11 +12,11 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/shachain" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/shachain" ) func TestOpenWithCreate(t *testing.T) { diff --git a/channeldb/duplicate_payments.go b/channeldb/duplicate_payments.go index 2f6a0a2788..73f88a5a5f 100644 --- a/channeldb/duplicate_payments.go +++ b/channeldb/duplicate_payments.go @@ -8,10 +8,10 @@ import ( "time" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) var ( diff --git a/channeldb/forwarding_log.go b/channeldb/forwarding_log.go index f527b78dd0..630a632a6b 100644 --- a/channeldb/forwarding_log.go +++ b/channeldb/forwarding_log.go @@ -7,8 +7,8 @@ import ( "time" "github.com/btcsuite/btcwallet/walletdb" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/channeldb/forwarding_log_test.go b/channeldb/forwarding_log_test.go index 7ac2dfbc5d..1b3c8fea63 100644 --- a/channeldb/forwarding_log_test.go +++ b/channeldb/forwarding_log_test.go @@ -7,9 +7,9 @@ import ( "time" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnwire" ) // TestForwardingLogBasicStorageAndQuery tests that we're able to store and diff --git a/channeldb/forwarding_package.go b/channeldb/forwarding_package.go index 09f5671cc9..d3ccae2798 100644 --- a/channeldb/forwarding_package.go +++ b/channeldb/forwarding_package.go @@ -7,8 +7,8 @@ import ( "fmt" "io" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" ) // ErrCorruptedFwdPkg signals that the on-disk structure of the forwarding diff --git a/channeldb/forwarding_package_test.go b/channeldb/forwarding_package_test.go index 1aabe7614d..f996c5ea5f 100644 --- a/channeldb/forwarding_package_test.go +++ b/channeldb/forwarding_package_test.go @@ -7,10 +7,10 @@ import ( "testing" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" ) // TestPkgFilterBruteForce tests the behavior of a pkg filter up to size 1000, diff --git a/channeldb/forwarding_policy.go b/channeldb/forwarding_policy.go index 2a41230457..2cd23186ef 100644 --- a/channeldb/forwarding_policy.go +++ b/channeldb/forwarding_policy.go @@ -1,9 +1,9 @@ package channeldb import ( - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/channeldb/graph.go b/channeldb/graph.go index 8367aaf68b..b7b6677747 100644 --- a/channeldb/graph.go +++ b/channeldb/graph.go @@ -20,12 +20,12 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/aliasmgr" - "github.com/lightningnetwork/lnd/batch" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/aliasmgr" + "github.com/voltagecloud/lnd/batch" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) var ( diff --git a/channeldb/graph_cache.go b/channeldb/graph_cache.go index 1aae21d06d..2982743929 100644 --- a/channeldb/graph_cache.go +++ b/channeldb/graph_cache.go @@ -5,9 +5,9 @@ import ( "sync" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) // GraphCacheNode is an interface for all the information the cache needs to know diff --git a/channeldb/graph_cache_test.go b/channeldb/graph_cache_test.go index b408ec36d8..794cd101f7 100644 --- a/channeldb/graph_cache_test.go +++ b/channeldb/graph_cache_test.go @@ -4,10 +4,10 @@ import ( "encoding/hex" "testing" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) var ( diff --git a/channeldb/graph_test.go b/channeldb/graph_test.go index 0afc9ea198..410f2343c7 100644 --- a/channeldb/graph_test.go +++ b/channeldb/graph_test.go @@ -22,10 +22,10 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) var ( diff --git a/channeldb/height_hint.go b/channeldb/height_hint.go index 9744c17c0b..7a12ca5888 100644 --- a/channeldb/height_hint.go +++ b/channeldb/height_hint.go @@ -3,8 +3,8 @@ package channeldb import ( "bytes" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/height_hint_test.go b/channeldb/height_hint_test.go index 3d98707e55..6c8e415d96 100644 --- a/channeldb/height_hint_test.go +++ b/channeldb/height_hint_test.go @@ -6,8 +6,8 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chainntnfs" ) func initHintCache(t *testing.T) *HeightHintCache { diff --git a/channeldb/invoice_test.go b/channeldb/invoice_test.go index ce2d960b6e..082e9642e4 100644 --- a/channeldb/invoice_test.go +++ b/channeldb/invoice_test.go @@ -8,15 +8,15 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/feature" - invpkg "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" - "github.com/lightningnetwork/lnd/tlv" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/clock" + "github.com/voltagecloud/lnd/feature" + invpkg "github.com/voltagecloud/lnd/invoices" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/record" + "github.com/voltagecloud/lnd/tlv" ) var ( diff --git a/channeldb/invoices.go b/channeldb/invoices.go index 1567c41837..32a0cec17e 100644 --- a/channeldb/invoices.go +++ b/channeldb/invoices.go @@ -8,14 +8,14 @@ import ( "io" "time" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - invpkg "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/htlcswitch/hop" + invpkg "github.com/voltagecloud/lnd/invoices" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/record" + "github.com/voltagecloud/lnd/tlv" ) var ( @@ -2754,7 +2754,7 @@ func (d *DB) DeleteInvoice(invoicesToDelete []invpkg.InvoiceDeleteRef) error { // with an empty migration it may be // possible that the index doesn't have // an entry for this invoice. - // ref: https://github.com/lightningnetwork/lnd/pull/4285/commits/cbf71b5452fa1d3036a43309e490787c5f7f08dc#r426368127 + // ref: https://github.com/voltagecloud/lnd/pull/4285/commits/cbf71b5452fa1d3036a43309e490787c5f7f08dc#r426368127 if err := payAddrIndex.Delete( ref.PayAddr[:], ); err != nil { diff --git a/channeldb/log.go b/channeldb/log.go index a53d662cdc..16f6b912c0 100644 --- a/channeldb/log.go +++ b/channeldb/log.go @@ -2,16 +2,16 @@ package channeldb import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" - mig "github.com/lightningnetwork/lnd/channeldb/migration" - "github.com/lightningnetwork/lnd/channeldb/migration12" - "github.com/lightningnetwork/lnd/channeldb/migration13" - "github.com/lightningnetwork/lnd/channeldb/migration16" - "github.com/lightningnetwork/lnd/channeldb/migration24" - "github.com/lightningnetwork/lnd/channeldb/migration30" - "github.com/lightningnetwork/lnd/channeldb/migration31" - "github.com/lightningnetwork/lnd/channeldb/migration_01_to_11" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/build" + mig "github.com/voltagecloud/lnd/channeldb/migration" + "github.com/voltagecloud/lnd/channeldb/migration12" + "github.com/voltagecloud/lnd/channeldb/migration13" + "github.com/voltagecloud/lnd/channeldb/migration16" + "github.com/voltagecloud/lnd/channeldb/migration24" + "github.com/voltagecloud/lnd/channeldb/migration30" + "github.com/voltagecloud/lnd/channeldb/migration31" + "github.com/voltagecloud/lnd/channeldb/migration_01_to_11" + "github.com/voltagecloud/lnd/kvdb" ) // log is a logger that is initialized with no output filters. This diff --git a/channeldb/meta.go b/channeldb/meta.go index a32ab81ed1..d2c370b0f9 100644 --- a/channeldb/meta.go +++ b/channeldb/meta.go @@ -5,8 +5,8 @@ import ( "errors" "fmt" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/tlv" ) var ( diff --git a/channeldb/meta_test.go b/channeldb/meta_test.go index defa9f3291..98ea065977 100644 --- a/channeldb/meta_test.go +++ b/channeldb/meta_test.go @@ -6,8 +6,8 @@ import ( "github.com/btcsuite/btcwallet/walletdb" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/kvdb" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb" ) // applyMigration is a helper test function that encapsulates the general steps diff --git a/channeldb/migration/create_tlb.go b/channeldb/migration/create_tlb.go index ae48640c8f..5dd649052f 100644 --- a/channeldb/migration/create_tlb.go +++ b/channeldb/migration/create_tlb.go @@ -3,7 +3,7 @@ package migration import ( "fmt" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) // CreateTLB creates a new top-level bucket with the passed bucket identifier. diff --git a/channeldb/migration/create_tlb_test.go b/channeldb/migration/create_tlb_test.go index 164e8f27f9..5a8a5271bb 100644 --- a/channeldb/migration/create_tlb_test.go +++ b/channeldb/migration/create_tlb_test.go @@ -4,9 +4,9 @@ import ( "fmt" "testing" - "github.com/lightningnetwork/lnd/channeldb/migration" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/channeldb/migration" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" ) // TestCreateTLB asserts that a CreateTLB properly initializes a new top-level diff --git a/channeldb/migration/lnwire21/lnwire.go b/channeldb/migration/lnwire21/lnwire.go index a88c5e50b5..e9a68c1b49 100644 --- a/channeldb/migration/lnwire21/lnwire.go +++ b/channeldb/migration/lnwire21/lnwire.go @@ -14,7 +14,7 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/tor" + "github.com/voltagecloud/lnd/tor" ) // MaxSliceLength is the maximum allowed length for any opaque byte slices in diff --git a/channeldb/migration/lnwire21/onion_error.go b/channeldb/migration/lnwire21/onion_error.go index 362ab48b05..08367894ca 100644 --- a/channeldb/migration/lnwire21/onion_error.go +++ b/channeldb/migration/lnwire21/onion_error.go @@ -10,7 +10,7 @@ import ( "github.com/davecgh/go-spew/spew" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) // FailureMessage represents the onion failure object identified by its unique diff --git a/channeldb/migration/lnwire21/signature.go b/channeldb/migration/lnwire21/signature.go index 51ff9e6666..9de172cf70 100644 --- a/channeldb/migration/lnwire21/signature.go +++ b/channeldb/migration/lnwire21/signature.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/btcsuite/btcd/btcec/v2/ecdsa" - "github.com/lightningnetwork/lnd/input" + "github.com/voltagecloud/lnd/input" ) // Sig is a fixed-sized ECDSA signature. Unlike Bitcoin, we use fixed sized diff --git a/channeldb/migration12/invoices.go b/channeldb/migration12/invoices.go index 6b83518f30..1888411357 100644 --- a/channeldb/migration12/invoices.go +++ b/channeldb/migration12/invoices.go @@ -7,9 +7,9 @@ import ( "time" "github.com/btcsuite/btcd/wire" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/tlv" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/tlv" ) const ( diff --git a/channeldb/migration12/migration.go b/channeldb/migration12/migration.go index 2fdd279a16..e2c0b3394f 100644 --- a/channeldb/migration12/migration.go +++ b/channeldb/migration12/migration.go @@ -3,8 +3,8 @@ package migration12 import ( "bytes" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/kvdb" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/kvdb" ) var emptyFeatures = lnwire.NewFeatureVector(nil, nil) diff --git a/channeldb/migration12/migration_test.go b/channeldb/migration12/migration_test.go index 75d74fdd6d..782f654f14 100644 --- a/channeldb/migration12/migration_test.go +++ b/channeldb/migration12/migration_test.go @@ -5,10 +5,10 @@ import ( "fmt" "testing" - "github.com/lightningnetwork/lnd/channeldb/migration12" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntypes" + "github.com/voltagecloud/lnd/channeldb/migration12" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntypes" ) var ( diff --git a/channeldb/migration13/migration.go b/channeldb/migration13/migration.go index e553d6a3c5..c8d44b3986 100644 --- a/channeldb/migration13/migration.go +++ b/channeldb/migration13/migration.go @@ -4,7 +4,7 @@ import ( "encoding/binary" "fmt" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration13/migration_test.go b/channeldb/migration13/migration_test.go index 7a97a9876f..fe6389b993 100644 --- a/channeldb/migration13/migration_test.go +++ b/channeldb/migration13/migration_test.go @@ -3,8 +3,8 @@ package migration13 import ( "testing" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration16/migration.go b/channeldb/migration16/migration.go index 64a5e493d2..c3ace5c629 100644 --- a/channeldb/migration16/migration.go +++ b/channeldb/migration16/migration.go @@ -7,7 +7,7 @@ import ( "fmt" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration16/migration_test.go b/channeldb/migration16/migration_test.go index dc2d017fbd..386bc63cfe 100644 --- a/channeldb/migration16/migration_test.go +++ b/channeldb/migration16/migration_test.go @@ -4,8 +4,8 @@ import ( "encoding/hex" "testing" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration20/migration.go b/channeldb/migration20/migration.go index c341d6a55a..7dda04b1df 100644 --- a/channeldb/migration20/migration.go +++ b/channeldb/migration20/migration.go @@ -5,8 +5,8 @@ import ( "fmt" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/tlv" ) var ( diff --git a/channeldb/migration20/migration_test.go b/channeldb/migration20/migration_test.go index 90a4cbdcec..6a5714ec09 100644 --- a/channeldb/migration20/migration_test.go +++ b/channeldb/migration20/migration_test.go @@ -3,8 +3,8 @@ package migration20 import ( "testing" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration21/common/enclosed_types.go b/channeldb/migration21/common/enclosed_types.go index 58f5c9cf22..cd719ebaa7 100644 --- a/channeldb/migration21/common/enclosed_types.go +++ b/channeldb/migration21/common/enclosed_types.go @@ -9,8 +9,8 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/keychain" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/keychain" ) // CircuitKey is used by a channel to uniquely identify the HTLCs it receives diff --git a/channeldb/migration21/current/current_codec.go b/channeldb/migration21/current/current_codec.go index c78319a4f7..266e112adc 100644 --- a/channeldb/migration21/current/current_codec.go +++ b/channeldb/migration21/current/current_codec.go @@ -10,10 +10,10 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/channeldb/migration21/common" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/shachain" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/channeldb/migration21/common" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/shachain" ) var ( diff --git a/channeldb/migration21/current/current_encoding.go b/channeldb/migration21/current/current_encoding.go index 02c5b20ce7..72940d10d6 100644 --- a/channeldb/migration21/current/current_encoding.go +++ b/channeldb/migration21/current/current_encoding.go @@ -7,9 +7,9 @@ import ( "fmt" "io" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/channeldb/migration21/common" - "github.com/lightningnetwork/lnd/kvdb" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/channeldb/migration21/common" + "github.com/voltagecloud/lnd/kvdb" ) func serializeChanCommit(w io.Writer, c *common.ChannelCommitment) error { // nolint: dupl diff --git a/channeldb/migration21/legacy/legacy_codec.go b/channeldb/migration21/legacy/legacy_codec.go index 8416ff39b6..cca0ebcdab 100644 --- a/channeldb/migration21/legacy/legacy_codec.go +++ b/channeldb/migration21/legacy/legacy_codec.go @@ -9,9 +9,9 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/channeldb/migration21/common" - "github.com/lightningnetwork/lnd/keychain" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/channeldb/migration21/common" + "github.com/voltagecloud/lnd/keychain" ) var ( diff --git a/channeldb/migration21/legacy/legacy_decoding.go b/channeldb/migration21/legacy/legacy_decoding.go index ea44e18356..90420d1a43 100644 --- a/channeldb/migration21/legacy/legacy_decoding.go +++ b/channeldb/migration21/legacy/legacy_decoding.go @@ -6,9 +6,9 @@ import ( "errors" "io" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/channeldb/migration21/common" - "github.com/lightningnetwork/lnd/kvdb" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/channeldb/migration21/common" + "github.com/voltagecloud/lnd/kvdb" ) func deserializeHtlcs(r io.Reader) ([]common.HTLC, error) { diff --git a/channeldb/migration21/migration.go b/channeldb/migration21/migration.go index 51882c756b..003d8fb2d2 100644 --- a/channeldb/migration21/migration.go +++ b/channeldb/migration21/migration.go @@ -5,11 +5,11 @@ import ( "encoding/binary" "fmt" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/channeldb/migration21/common" - "github.com/lightningnetwork/lnd/channeldb/migration21/current" - "github.com/lightningnetwork/lnd/channeldb/migration21/legacy" - "github.com/lightningnetwork/lnd/kvdb" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/channeldb/migration21/common" + "github.com/voltagecloud/lnd/channeldb/migration21/current" + "github.com/voltagecloud/lnd/channeldb/migration21/legacy" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration21/migration_test.go b/channeldb/migration21/migration_test.go index 735e45dc0d..aa52d89201 100644 --- a/channeldb/migration21/migration_test.go +++ b/channeldb/migration21/migration_test.go @@ -12,12 +12,12 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/channeldb/migration21/common" - "github.com/lightningnetwork/lnd/channeldb/migration21/current" - "github.com/lightningnetwork/lnd/channeldb/migration21/legacy" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/channeldb/migration21/common" + "github.com/voltagecloud/lnd/channeldb/migration21/current" + "github.com/voltagecloud/lnd/channeldb/migration21/legacy" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration23/migration.go b/channeldb/migration23/migration.go index f3043e2577..5f48dd3c78 100644 --- a/channeldb/migration23/migration.go +++ b/channeldb/migration23/migration.go @@ -3,7 +3,7 @@ package migration23 import ( "fmt" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration23/migration_test.go b/channeldb/migration23/migration_test.go index 350c4cc91a..c1167ad936 100644 --- a/channeldb/migration23/migration_test.go +++ b/channeldb/migration23/migration_test.go @@ -3,8 +3,8 @@ package migration23 import ( "testing" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration24/migration.go b/channeldb/migration24/migration.go index 8382a9ba63..2afbb3c8c6 100644 --- a/channeldb/migration24/migration.go +++ b/channeldb/migration24/migration.go @@ -5,8 +5,8 @@ import ( "encoding/binary" "io" - mig "github.com/lightningnetwork/lnd/channeldb/migration_01_to_11" - "github.com/lightningnetwork/lnd/kvdb" + mig "github.com/voltagecloud/lnd/channeldb/migration_01_to_11" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration24/migration_test.go b/channeldb/migration24/migration_test.go index 417c3d0edf..15df3fcf47 100644 --- a/channeldb/migration24/migration_test.go +++ b/channeldb/migration24/migration_test.go @@ -13,10 +13,10 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - mig "github.com/lightningnetwork/lnd/channeldb/migration_01_to_11" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + mig "github.com/voltagecloud/lnd/channeldb/migration_01_to_11" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration25/channel.go b/channeldb/migration25/channel.go index f825e83cb2..46cb16fd41 100644 --- a/channeldb/migration25/channel.go +++ b/channeldb/migration25/channel.go @@ -7,12 +7,12 @@ import ( "strconv" "strings" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - mig24 "github.com/lightningnetwork/lnd/channeldb/migration24" - mig "github.com/lightningnetwork/lnd/channeldb/migration_01_to_11" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/tlv" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + mig24 "github.com/voltagecloud/lnd/channeldb/migration24" + mig "github.com/voltagecloud/lnd/channeldb/migration_01_to_11" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/tlv" ) const ( diff --git a/channeldb/migration25/migration.go b/channeldb/migration25/migration.go index 5e708e4bcc..117e0be002 100644 --- a/channeldb/migration25/migration.go +++ b/channeldb/migration25/migration.go @@ -4,8 +4,8 @@ import ( "bytes" "fmt" - mig "github.com/lightningnetwork/lnd/channeldb/migration_01_to_11" - "github.com/lightningnetwork/lnd/kvdb" + mig "github.com/voltagecloud/lnd/channeldb/migration_01_to_11" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration25/migration_test.go b/channeldb/migration25/migration_test.go index 6098e440e3..46c9433117 100644 --- a/channeldb/migration25/migration_test.go +++ b/channeldb/migration25/migration_test.go @@ -9,11 +9,11 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - mig24 "github.com/lightningnetwork/lnd/channeldb/migration24" - mig "github.com/lightningnetwork/lnd/channeldb/migration_01_to_11" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + mig24 "github.com/voltagecloud/lnd/channeldb/migration24" + mig "github.com/voltagecloud/lnd/channeldb/migration_01_to_11" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration26/channel.go b/channeldb/migration26/channel.go index cff1932748..524071cc86 100644 --- a/channeldb/migration26/channel.go +++ b/channeldb/migration26/channel.go @@ -4,11 +4,11 @@ import ( "bytes" "fmt" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - mig25 "github.com/lightningnetwork/lnd/channeldb/migration25" - mig "github.com/lightningnetwork/lnd/channeldb/migration_01_to_11" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/tlv" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + mig25 "github.com/voltagecloud/lnd/channeldb/migration25" + mig "github.com/voltagecloud/lnd/channeldb/migration_01_to_11" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/tlv" ) const ( diff --git a/channeldb/migration26/migration.go b/channeldb/migration26/migration.go index a1b8606e9b..41c6d72227 100644 --- a/channeldb/migration26/migration.go +++ b/channeldb/migration26/migration.go @@ -3,8 +3,8 @@ package migration26 import ( "fmt" - mig25 "github.com/lightningnetwork/lnd/channeldb/migration25" - "github.com/lightningnetwork/lnd/kvdb" + mig25 "github.com/voltagecloud/lnd/channeldb/migration25" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration26/migration_test.go b/channeldb/migration26/migration_test.go index a775386f77..da59b34e18 100644 --- a/channeldb/migration26/migration_test.go +++ b/channeldb/migration26/migration_test.go @@ -7,11 +7,11 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - mig25 "github.com/lightningnetwork/lnd/channeldb/migration25" - mig "github.com/lightningnetwork/lnd/channeldb/migration_01_to_11" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + mig25 "github.com/voltagecloud/lnd/channeldb/migration25" + mig "github.com/voltagecloud/lnd/channeldb/migration_01_to_11" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration27/channel.go b/channeldb/migration27/channel.go index 7fd87a0b4d..94b9b79ca8 100644 --- a/channeldb/migration27/channel.go +++ b/channeldb/migration27/channel.go @@ -4,12 +4,12 @@ import ( "bytes" "fmt" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - mig25 "github.com/lightningnetwork/lnd/channeldb/migration25" - mig26 "github.com/lightningnetwork/lnd/channeldb/migration26" - mig "github.com/lightningnetwork/lnd/channeldb/migration_01_to_11" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/tlv" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + mig25 "github.com/voltagecloud/lnd/channeldb/migration25" + mig26 "github.com/voltagecloud/lnd/channeldb/migration26" + mig "github.com/voltagecloud/lnd/channeldb/migration_01_to_11" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/tlv" ) const ( diff --git a/channeldb/migration27/migration.go b/channeldb/migration27/migration.go index a538c2e938..8110dfdad5 100644 --- a/channeldb/migration27/migration.go +++ b/channeldb/migration27/migration.go @@ -4,9 +4,9 @@ import ( "bytes" "fmt" - mig26 "github.com/lightningnetwork/lnd/channeldb/migration26" - mig "github.com/lightningnetwork/lnd/channeldb/migration_01_to_11" - "github.com/lightningnetwork/lnd/kvdb" + mig26 "github.com/voltagecloud/lnd/channeldb/migration26" + mig "github.com/voltagecloud/lnd/channeldb/migration_01_to_11" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration27/migration_test.go b/channeldb/migration27/migration_test.go index f2005ed65a..870ea01057 100644 --- a/channeldb/migration27/migration_test.go +++ b/channeldb/migration27/migration_test.go @@ -8,11 +8,11 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - mig25 "github.com/lightningnetwork/lnd/channeldb/migration25" - mig26 "github.com/lightningnetwork/lnd/channeldb/migration26" - mig "github.com/lightningnetwork/lnd/channeldb/migration_01_to_11" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" + mig25 "github.com/voltagecloud/lnd/channeldb/migration25" + mig26 "github.com/voltagecloud/lnd/channeldb/migration26" + mig "github.com/voltagecloud/lnd/channeldb/migration_01_to_11" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration29/migration.go b/channeldb/migration29/migration.go index 7ca3a8f894..16d8bf61c7 100644 --- a/channeldb/migration29/migration.go +++ b/channeldb/migration29/migration.go @@ -4,7 +4,7 @@ import ( "bytes" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration29/migration_test.go b/channeldb/migration29/migration_test.go index d0a13fd5da..df303237b7 100644 --- a/channeldb/migration29/migration_test.go +++ b/channeldb/migration29/migration_test.go @@ -3,8 +3,8 @@ package migration29 import ( "testing" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration30/iterator.go b/channeldb/migration30/iterator.go index c4b5cbd6cc..c9d1cce31a 100644 --- a/channeldb/migration30/iterator.go +++ b/channeldb/migration30/iterator.go @@ -6,8 +6,8 @@ import ( "errors" "fmt" - mig25 "github.com/lightningnetwork/lnd/channeldb/migration25" - "github.com/lightningnetwork/lnd/kvdb" + mig25 "github.com/voltagecloud/lnd/channeldb/migration25" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration30/iterator_test.go b/channeldb/migration30/iterator_test.go index 8d2206eb5b..88b73e309c 100644 --- a/channeldb/migration30/iterator_test.go +++ b/channeldb/migration30/iterator_test.go @@ -7,13 +7,13 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - mig25 "github.com/lightningnetwork/lnd/channeldb/migration25" - mig26 "github.com/lightningnetwork/lnd/channeldb/migration26" - mig "github.com/lightningnetwork/lnd/channeldb/migration_01_to_11" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" "github.com/stretchr/testify/require" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + mig25 "github.com/voltagecloud/lnd/channeldb/migration25" + mig26 "github.com/voltagecloud/lnd/channeldb/migration26" + mig "github.com/voltagecloud/lnd/channeldb/migration_01_to_11" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration30/lnwallet.go b/channeldb/migration30/lnwallet.go index 02e84a3b99..567a161bda 100644 --- a/channeldb/migration30/lnwallet.go +++ b/channeldb/migration30/lnwallet.go @@ -5,10 +5,10 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/chaincfg/chainhash" - mig25 "github.com/lightningnetwork/lnd/channeldb/migration25" - mig26 "github.com/lightningnetwork/lnd/channeldb/migration26" - mig "github.com/lightningnetwork/lnd/channeldb/migration_01_to_11" - "github.com/lightningnetwork/lnd/input" + mig25 "github.com/voltagecloud/lnd/channeldb/migration25" + mig26 "github.com/voltagecloud/lnd/channeldb/migration26" + mig "github.com/voltagecloud/lnd/channeldb/migration_01_to_11" + "github.com/voltagecloud/lnd/input" ) // CommitmentKeyRing holds all derived keys needed to construct commitment and diff --git a/channeldb/migration30/migration.go b/channeldb/migration30/migration.go index 6c743b4b32..adf7cfe799 100644 --- a/channeldb/migration30/migration.go +++ b/channeldb/migration30/migration.go @@ -7,10 +7,10 @@ import ( "math" "sync" - mig24 "github.com/lightningnetwork/lnd/channeldb/migration24" - mig26 "github.com/lightningnetwork/lnd/channeldb/migration26" - mig "github.com/lightningnetwork/lnd/channeldb/migration_01_to_11" - "github.com/lightningnetwork/lnd/kvdb" + mig24 "github.com/voltagecloud/lnd/channeldb/migration24" + mig26 "github.com/voltagecloud/lnd/channeldb/migration26" + mig "github.com/voltagecloud/lnd/channeldb/migration_01_to_11" + "github.com/voltagecloud/lnd/kvdb" ) // recordsPerTx specifies the number of records to be migrated in each database diff --git a/channeldb/migration30/migration_test.go b/channeldb/migration30/migration_test.go index 01773292c4..7efe820a67 100644 --- a/channeldb/migration30/migration_test.go +++ b/channeldb/migration30/migration_test.go @@ -5,13 +5,13 @@ import ( "fmt" "testing" - mig25 "github.com/lightningnetwork/lnd/channeldb/migration25" - mig26 "github.com/lightningnetwork/lnd/channeldb/migration26" - mig "github.com/lightningnetwork/lnd/channeldb/migration_01_to_11" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" + mig25 "github.com/voltagecloud/lnd/channeldb/migration25" + mig26 "github.com/voltagecloud/lnd/channeldb/migration26" + mig "github.com/voltagecloud/lnd/channeldb/migration_01_to_11" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" ) type ( diff --git a/channeldb/migration30/revocation_log.go b/channeldb/migration30/revocation_log.go index c4f3f1626b..bc35f92be1 100644 --- a/channeldb/migration30/revocation_log.go +++ b/channeldb/migration30/revocation_log.go @@ -7,14 +7,14 @@ import ( "math" "github.com/btcsuite/btcd/btcutil" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - mig24 "github.com/lightningnetwork/lnd/channeldb/migration24" - mig25 "github.com/lightningnetwork/lnd/channeldb/migration25" - mig26 "github.com/lightningnetwork/lnd/channeldb/migration26" - mig "github.com/lightningnetwork/lnd/channeldb/migration_01_to_11" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/tlv" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + mig24 "github.com/voltagecloud/lnd/channeldb/migration24" + mig25 "github.com/voltagecloud/lnd/channeldb/migration25" + mig26 "github.com/voltagecloud/lnd/channeldb/migration26" + mig "github.com/voltagecloud/lnd/channeldb/migration_01_to_11" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/tlv" ) const ( diff --git a/channeldb/migration30/test_mock.go b/channeldb/migration30/test_mock.go index 0246ca90d8..e841cc4bcc 100644 --- a/channeldb/migration30/test_mock.go +++ b/channeldb/migration30/test_mock.go @@ -5,8 +5,8 @@ import ( "io" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/shachain" "github.com/stretchr/testify/mock" + "github.com/voltagecloud/lnd/shachain" ) // mockStore mocks the shachain.Store. diff --git a/channeldb/migration30/test_utils.go b/channeldb/migration30/test_utils.go index c66b796b52..f6104c027b 100644 --- a/channeldb/migration30/test_utils.go +++ b/channeldb/migration30/test_utils.go @@ -10,13 +10,13 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - mig25 "github.com/lightningnetwork/lnd/channeldb/migration25" - mig26 "github.com/lightningnetwork/lnd/channeldb/migration26" - mig "github.com/lightningnetwork/lnd/channeldb/migration_01_to_11" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/shachain" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + mig25 "github.com/voltagecloud/lnd/channeldb/migration25" + mig26 "github.com/voltagecloud/lnd/channeldb/migration26" + mig "github.com/voltagecloud/lnd/channeldb/migration_01_to_11" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/shachain" ) var ( diff --git a/channeldb/migration31/migration.go b/channeldb/migration31/migration.go index 4392d8508c..2712d8e671 100644 --- a/channeldb/migration31/migration.go +++ b/channeldb/migration31/migration.go @@ -4,7 +4,7 @@ import ( "errors" "github.com/btcsuite/btcwallet/walletdb" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) // DeleteLastPublishedTxTLB deletes the top level bucket with the key diff --git a/channeldb/migration31/migration_test.go b/channeldb/migration31/migration_test.go index c3290736f6..2e6ec9fc5d 100644 --- a/channeldb/migration31/migration_test.go +++ b/channeldb/migration31/migration_test.go @@ -4,9 +4,9 @@ import ( "fmt" "testing" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration_01_to_11/addr.go b/channeldb/migration_01_to_11/addr.go index 2e7def07ca..4fe7f53e10 100644 --- a/channeldb/migration_01_to_11/addr.go +++ b/channeldb/migration_01_to_11/addr.go @@ -7,7 +7,7 @@ import ( "io" "net" - "github.com/lightningnetwork/lnd/tor" + "github.com/voltagecloud/lnd/tor" ) // addressType specifies the network protocol and version that should be used diff --git a/channeldb/migration_01_to_11/channel.go b/channeldb/migration_01_to_11/channel.go index 47cbca3559..863d6ec4f8 100644 --- a/channeldb/migration_01_to_11/channel.go +++ b/channeldb/migration_01_to_11/channel.go @@ -12,9 +12,9 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/shachain" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/shachain" ) var ( diff --git a/channeldb/migration_01_to_11/channel_test.go b/channeldb/migration_01_to_11/channel_test.go index 76a16c7d0b..b89f4c54a1 100644 --- a/channeldb/migration_01_to_11/channel_test.go +++ b/channeldb/migration_01_to_11/channel_test.go @@ -10,9 +10,9 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" _ "github.com/btcsuite/btcwallet/walletdb/bdb" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/shachain" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/shachain" ) var ( diff --git a/channeldb/migration_01_to_11/codec.go b/channeldb/migration_01_to_11/codec.go index a87f6eda72..cda197358b 100644 --- a/channeldb/migration_01_to_11/codec.go +++ b/channeldb/migration_01_to_11/codec.go @@ -10,9 +10,9 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/shachain" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/shachain" ) // WriteOutpoint writes an outpoint to the passed writer using the minimal diff --git a/channeldb/migration_01_to_11/db.go b/channeldb/migration_01_to_11/db.go index 65cc8d221d..3b5f8dae7e 100644 --- a/channeldb/migration_01_to_11/db.go +++ b/channeldb/migration_01_to_11/db.go @@ -8,7 +8,7 @@ import ( "path/filepath" "time" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) const ( diff --git a/channeldb/migration_01_to_11/graph.go b/channeldb/migration_01_to_11/graph.go index 0f36a78edf..520405f478 100644 --- a/channeldb/migration_01_to_11/graph.go +++ b/channeldb/migration_01_to_11/graph.go @@ -13,8 +13,8 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/kvdb" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration_01_to_11/graph_test.go b/channeldb/migration_01_to_11/graph_test.go index 060c3aada0..cd9289cc36 100644 --- a/channeldb/migration_01_to_11/graph_test.go +++ b/channeldb/migration_01_to_11/graph_test.go @@ -9,7 +9,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/ecdsa" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" ) var ( diff --git a/channeldb/migration_01_to_11/invoices.go b/channeldb/migration_01_to_11/invoices.go index 3adbbf5f25..e5ae56c9d3 100644 --- a/channeldb/migration_01_to_11/invoices.go +++ b/channeldb/migration_01_to_11/invoices.go @@ -8,10 +8,10 @@ import ( "time" "github.com/btcsuite/btcd/wire" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/tlv" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/tlv" ) var ( diff --git a/channeldb/migration_01_to_11/meta.go b/channeldb/migration_01_to_11/meta.go index 3d07a2c309..57dcce9fd6 100644 --- a/channeldb/migration_01_to_11/meta.go +++ b/channeldb/migration_01_to_11/meta.go @@ -1,7 +1,7 @@ package migration_01_to_11 import ( - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/migration_01_to_11/meta_test.go b/channeldb/migration_01_to_11/meta_test.go index 513b90d565..5cb4e4b29c 100644 --- a/channeldb/migration_01_to_11/meta_test.go +++ b/channeldb/migration_01_to_11/meta_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) // applyMigration is a helper test function that encapsulates the general steps diff --git a/channeldb/migration_01_to_11/migration_09_legacy_serialization.go b/channeldb/migration_01_to_11/migration_09_legacy_serialization.go index 1a16bda4ab..1c6caa6028 100644 --- a/channeldb/migration_01_to_11/migration_09_legacy_serialization.go +++ b/channeldb/migration_01_to_11/migration_09_legacy_serialization.go @@ -7,9 +7,9 @@ import ( "io" "sort" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntypes" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntypes" ) var ( diff --git a/channeldb/migration_01_to_11/migration_10_route_tlv_records.go b/channeldb/migration_01_to_11/migration_10_route_tlv_records.go index a17de78bf3..fa2c11cb3d 100644 --- a/channeldb/migration_01_to_11/migration_10_route_tlv_records.go +++ b/channeldb/migration_01_to_11/migration_10_route_tlv_records.go @@ -4,7 +4,7 @@ import ( "bytes" "io" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) // MigrateRouteSerialization migrates the way we serialize routes across the diff --git a/channeldb/migration_01_to_11/migration_11_invoices.go b/channeldb/migration_01_to_11/migration_11_invoices.go index 91d0e00f90..05387dfbd6 100644 --- a/channeldb/migration_01_to_11/migration_11_invoices.go +++ b/channeldb/migration_01_to_11/migration_11_invoices.go @@ -8,10 +8,10 @@ import ( bitcoinCfg "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/wire" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/channeldb/migration_01_to_11/zpay32" - "github.com/lightningnetwork/lnd/kvdb" litecoinCfg "github.com/ltcsuite/ltcd/chaincfg" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/channeldb/migration_01_to_11/zpay32" + "github.com/voltagecloud/lnd/kvdb" ) // MigrateInvoices adds invoice htlcs and a separate cltv delta field to the diff --git a/channeldb/migration_01_to_11/migration_11_invoices_test.go b/channeldb/migration_01_to_11/migration_11_invoices_test.go index 567150ec4c..b287e941ee 100644 --- a/channeldb/migration_01_to_11/migration_11_invoices_test.go +++ b/channeldb/migration_01_to_11/migration_11_invoices_test.go @@ -9,9 +9,9 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/ecdsa" bitcoinCfg "github.com/btcsuite/btcd/chaincfg" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/zpay32" litecoinCfg "github.com/ltcsuite/ltcd/chaincfg" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/zpay32" ) var ( diff --git a/channeldb/migration_01_to_11/migrations.go b/channeldb/migration_01_to_11/migrations.go index 918a9317d7..0e318635da 100644 --- a/channeldb/migration_01_to_11/migrations.go +++ b/channeldb/migration_01_to_11/migrations.go @@ -7,8 +7,8 @@ import ( "fmt" "github.com/btcsuite/btcd/btcec/v2" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/kvdb" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/kvdb" ) // MigrateNodeAndEdgeUpdateIndex is a migration function that will update the diff --git a/channeldb/migration_01_to_11/migrations_test.go b/channeldb/migration_01_to_11/migrations_test.go index 9c47bdcdf2..cf58198c86 100644 --- a/channeldb/migration_01_to_11/migrations_test.go +++ b/channeldb/migration_01_to_11/migrations_test.go @@ -13,9 +13,9 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/davecgh/go-spew/spew" "github.com/go-errors/errors" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntypes" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntypes" ) // TestPaymentStatusesMigration checks that already completed payments will have diff --git a/channeldb/migration_01_to_11/payment_control.go b/channeldb/migration_01_to_11/payment_control.go index 56c7081639..87c33d6882 100644 --- a/channeldb/migration_01_to_11/payment_control.go +++ b/channeldb/migration_01_to_11/payment_control.go @@ -1,6 +1,6 @@ package migration_01_to_11 -import "github.com/lightningnetwork/lnd/kvdb" +import "github.com/voltagecloud/lnd/kvdb" // fetchPaymentStatus fetches the payment status of the payment. If the payment // isn't found, it will default to "StatusUnknown". diff --git a/channeldb/migration_01_to_11/payments.go b/channeldb/migration_01_to_11/payments.go index 7e9eebd644..8550ccbb7a 100644 --- a/channeldb/migration_01_to_11/payments.go +++ b/channeldb/migration_01_to_11/payments.go @@ -11,10 +11,10 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/wire" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/tlv" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/tlv" ) var ( diff --git a/channeldb/migration_01_to_11/payments_test.go b/channeldb/migration_01_to_11/payments_test.go index ff2fbdf030..f7dbe64905 100644 --- a/channeldb/migration_01_to_11/payments_test.go +++ b/channeldb/migration_01_to_11/payments_test.go @@ -7,7 +7,7 @@ import ( "time" "github.com/btcsuite/btcd/btcec/v2" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" ) var ( diff --git a/channeldb/migration_01_to_11/route.go b/channeldb/migration_01_to_11/route.go index b4cb03849d..3e250fb8da 100644 --- a/channeldb/migration_01_to_11/route.go +++ b/channeldb/migration_01_to_11/route.go @@ -10,10 +10,10 @@ import ( "strings" "github.com/btcsuite/btcd/btcec/v2" - sphinx "github.com/lightningnetwork/lightning-onion" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" - "github.com/lightningnetwork/lnd/record" - "github.com/lightningnetwork/lnd/tlv" + sphinx "github.com/voltagecloud/lightning-onion" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" + "github.com/voltagecloud/lnd/record" + "github.com/voltagecloud/lnd/tlv" ) // VertexSize is the size of the array to store a vertex. diff --git a/channeldb/migration_01_to_11/zpay32/amountunits.go b/channeldb/migration_01_to_11/zpay32/amountunits.go index 0cc1fcdbe4..3f2ab6eafe 100644 --- a/channeldb/migration_01_to_11/zpay32/amountunits.go +++ b/channeldb/migration_01_to_11/zpay32/amountunits.go @@ -4,7 +4,7 @@ import ( "fmt" "strconv" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" ) var ( diff --git a/channeldb/migration_01_to_11/zpay32/decode.go b/channeldb/migration_01_to_11/zpay32/decode.go index 9f27543c05..cce23650a6 100644 --- a/channeldb/migration_01_to_11/zpay32/decode.go +++ b/channeldb/migration_01_to_11/zpay32/decode.go @@ -14,7 +14,7 @@ import ( "github.com/btcsuite/btcd/btcutil/bech32" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" ) // Decode parses the provided encoded invoice and returns a decoded Invoice if diff --git a/channeldb/migration_01_to_11/zpay32/invoice.go b/channeldb/migration_01_to_11/zpay32/invoice.go index cf24e4e10d..2f0bd5514e 100644 --- a/channeldb/migration_01_to_11/zpay32/invoice.go +++ b/channeldb/migration_01_to_11/zpay32/invoice.go @@ -8,7 +8,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg" - lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21" + lnwire "github.com/voltagecloud/lnd/channeldb/migration/lnwire21" ) const ( diff --git a/channeldb/migtest/migtest.go b/channeldb/migtest/migtest.go index a3884a0d6e..98de29fde5 100644 --- a/channeldb/migtest/migtest.go +++ b/channeldb/migtest/migtest.go @@ -5,8 +5,8 @@ import ( "os" "testing" - "github.com/lightningnetwork/lnd/kvdb" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb" ) // MakeDB creates a new instance of the ChannelDB for testing purposes. diff --git a/channeldb/migtest/raw_db.go b/channeldb/migtest/raw_db.go index f0d54cbc0e..2652b6cb5c 100644 --- a/channeldb/migtest/raw_db.go +++ b/channeldb/migtest/raw_db.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) // DumpDB dumps go code describing the contents of the database to stdout. This diff --git a/channeldb/models/channel.go b/channeldb/models/channel.go index 4a65462e72..e012e7ffac 100644 --- a/channeldb/models/channel.go +++ b/channeldb/models/channel.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) const ( diff --git a/channeldb/mp_payment.go b/channeldb/mp_payment.go index 3137be640e..3b5f2a8133 100644 --- a/channeldb/mp_payment.go +++ b/channeldb/mp_payment.go @@ -9,9 +9,9 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) // HTLCAttemptInfo contains static information about a specific HTLC attempt diff --git a/channeldb/nodes.go b/channeldb/nodes.go index b6e1573cff..01f1c3fb8b 100644 --- a/channeldb/nodes.go +++ b/channeldb/nodes.go @@ -8,7 +8,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/options.go b/channeldb/options.go index 3f5b472f61..4e9bab4e22 100644 --- a/channeldb/options.go +++ b/channeldb/options.go @@ -3,8 +3,8 @@ package channeldb import ( "time" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/clock" + "github.com/voltagecloud/lnd/kvdb" ) const ( diff --git a/channeldb/options_test.go b/channeldb/options_test.go index e60c1cfcfc..960159466f 100644 --- a/channeldb/options_test.go +++ b/channeldb/options_test.go @@ -3,9 +3,9 @@ package channeldb_test import ( "testing" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/kvdb" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/kvdb" ) // TestDefaultOptions tests the default options are created as intended. diff --git a/channeldb/paginate.go b/channeldb/paginate.go index 496c236e05..5110fa354e 100644 --- a/channeldb/paginate.go +++ b/channeldb/paginate.go @@ -1,6 +1,6 @@ package channeldb -import "github.com/lightningnetwork/lnd/kvdb" +import "github.com/voltagecloud/lnd/kvdb" type paginator struct { // cursor is the cursor which we are using to iterate through a bucket. diff --git a/channeldb/payment_control.go b/channeldb/payment_control.go index 3328f086df..1d58ca2ba9 100644 --- a/channeldb/payment_control.go +++ b/channeldb/payment_control.go @@ -8,8 +8,8 @@ import ( "io" "sync" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntypes" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntypes" ) const ( diff --git a/channeldb/payment_control_test.go b/channeldb/payment_control_test.go index bcd4a834a4..b6f5d3d6d3 100644 --- a/channeldb/payment_control_test.go +++ b/channeldb/payment_control_test.go @@ -12,11 +12,11 @@ import ( "github.com/btcsuite/btcwallet/walletdb" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/record" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/record" ) func genPreimage() ([32]byte, error) { diff --git a/channeldb/payments.go b/channeldb/payments.go index 93abe4fb16..d8d1b83968 100644 --- a/channeldb/payments.go +++ b/channeldb/payments.go @@ -10,12 +10,12 @@ import ( "time" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" - "github.com/lightningnetwork/lnd/routing/route" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/record" + "github.com/voltagecloud/lnd/routing/route" + "github.com/voltagecloud/lnd/tlv" ) var ( diff --git a/channeldb/payments_test.go b/channeldb/payments_test.go index a3a4ac9ab1..b017902a58 100644 --- a/channeldb/payments_test.go +++ b/channeldb/payments_test.go @@ -11,11 +11,11 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcwallet/walletdb" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/record" - "github.com/lightningnetwork/lnd/routing/route" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/record" + "github.com/voltagecloud/lnd/routing/route" ) var ( diff --git a/channeldb/peers.go b/channeldb/peers.go index 62342fc793..78ebd7aff0 100644 --- a/channeldb/peers.go +++ b/channeldb/peers.go @@ -6,8 +6,8 @@ import ( "fmt" "time" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/routing/route" ) var ( diff --git a/channeldb/peers_test.go b/channeldb/peers_test.go index 9d32e50b42..f1888a8178 100644 --- a/channeldb/peers_test.go +++ b/channeldb/peers_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/routing/route" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/routing/route" ) // TestFlapCount tests lookup and writing of flap count to disk. diff --git a/channeldb/reports.go b/channeldb/reports.go index c4e58d81e6..5591838c96 100644 --- a/channeldb/reports.go +++ b/channeldb/reports.go @@ -8,8 +8,8 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/tlv" ) var ( diff --git a/channeldb/reports_test.go b/channeldb/reports_test.go index 48a41914fa..4a8d10d437 100644 --- a/channeldb/reports_test.go +++ b/channeldb/reports_test.go @@ -6,8 +6,8 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/kvdb" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/channeldb/revocation_log.go b/channeldb/revocation_log.go index f062ac0860..73a77a59b2 100644 --- a/channeldb/revocation_log.go +++ b/channeldb/revocation_log.go @@ -7,10 +7,10 @@ import ( "math" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/tlv" ) const ( diff --git a/channeldb/revocation_log_test.go b/channeldb/revocation_log_test.go index fc5303a48d..7c5a2979f1 100644 --- a/channeldb/revocation_log_test.go +++ b/channeldb/revocation_log_test.go @@ -8,11 +8,11 @@ import ( "testing" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntest/channels" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/tlv" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntest/channels" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/tlv" ) const ( diff --git a/channeldb/setup_test.go b/channeldb/setup_test.go index 91d3bfb470..b560080e0e 100644 --- a/channeldb/setup_test.go +++ b/channeldb/setup_test.go @@ -3,7 +3,7 @@ package channeldb import ( "testing" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) func TestMain(m *testing.M) { diff --git a/channeldb/waitingproof.go b/channeldb/waitingproof.go index c6b2b9df52..0c29a54f53 100644 --- a/channeldb/waitingproof.go +++ b/channeldb/waitingproof.go @@ -8,8 +8,8 @@ import ( "sync" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/channeldb/waitingproof_test.go b/channeldb/waitingproof_test.go index 1a00c829e0..909509fafa 100644 --- a/channeldb/waitingproof_test.go +++ b/channeldb/waitingproof_test.go @@ -6,8 +6,8 @@ import ( "github.com/davecgh/go-spew/spew" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnwire" ) // TestWaitingProofStore tests add/get/remove functions of the waiting proof diff --git a/channeldb/witness_cache.go b/channeldb/witness_cache.go index d2643f3642..6a4acdcdb9 100644 --- a/channeldb/witness_cache.go +++ b/channeldb/witness_cache.go @@ -3,8 +3,8 @@ package channeldb import ( "fmt" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntypes" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntypes" ) var ( diff --git a/channeldb/witness_cache_test.go b/channeldb/witness_cache_test.go index 861084499f..453cc29cab 100644 --- a/channeldb/witness_cache_test.go +++ b/channeldb/witness_cache_test.go @@ -4,8 +4,8 @@ import ( "crypto/sha256" "testing" - "github.com/lightningnetwork/lnd/lntypes" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lntypes" ) // TestWitnessCacheSha256Retrieval tests that we're able to add and lookup new diff --git a/channelnotifier/channelnotifier.go b/channelnotifier/channelnotifier.go index 78e1a80336..8904738f00 100644 --- a/channelnotifier/channelnotifier.go +++ b/channelnotifier/channelnotifier.go @@ -4,8 +4,8 @@ import ( "sync" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/subscribe" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/subscribe" ) // ChannelNotifier is a subsystem which all active, inactive, and closed channel diff --git a/channelnotifier/log.go b/channelnotifier/log.go index 5756f69976..9555c290a3 100644 --- a/channelnotifier/log.go +++ b/channelnotifier/log.go @@ -2,7 +2,7 @@ package channelnotifier import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This means the diff --git a/chanrestore.go b/chanrestore.go index b8787344bf..42775bf9dc 100644 --- a/chanrestore.go +++ b/chanrestore.go @@ -8,12 +8,12 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/chanbackup" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/contractcourt" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/shachain" + "github.com/voltagecloud/lnd/chanbackup" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/contractcourt" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/shachain" ) const ( diff --git a/clock/go.mod b/clock/go.mod index b54398ffc4..24bb26ad56 100644 --- a/clock/go.mod +++ b/clock/go.mod @@ -1,4 +1,4 @@ -module github.com/lightningnetwork/lnd/clock +module github.com/voltagecloud/lnd/clock go 1.19 diff --git a/cluster/etcd_elector.go b/cluster/etcd_elector.go index 71057c3606..833bc2e587 100644 --- a/cluster/etcd_elector.go +++ b/cluster/etcd_elector.go @@ -7,7 +7,7 @@ import ( "context" "time" - "github.com/lightningnetwork/lnd/kvdb/etcd" + "github.com/voltagecloud/lnd/kvdb/etcd" "go.etcd.io/etcd/client/pkg/v3/transport" clientv3 "go.etcd.io/etcd/client/v3" "go.etcd.io/etcd/client/v3/concurrency" diff --git a/cluster/etcd_elector_factory.go b/cluster/etcd_elector_factory.go index 9aeecbb227..505101d8a3 100644 --- a/cluster/etcd_elector_factory.go +++ b/cluster/etcd_elector_factory.go @@ -7,7 +7,7 @@ import ( "context" "fmt" - "github.com/lightningnetwork/lnd/kvdb/etcd" + "github.com/voltagecloud/lnd/kvdb/etcd" ) // makeEtcdElector will construct a new etcdLeaderElector. It expects a cancel diff --git a/cluster/etcd_elector_test.go b/cluster/etcd_elector_test.go index 999a3d7913..7aa03dbb9a 100644 --- a/cluster/etcd_elector_test.go +++ b/cluster/etcd_elector_test.go @@ -11,8 +11,8 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/kvdb/etcd" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb/etcd" ) // GuardTimeout implements a test level timeout guard. diff --git a/cluster/log.go b/cluster/log.go index 11ced0871c..eab637c08e 100644 --- a/cluster/log.go +++ b/cluster/log.go @@ -2,7 +2,7 @@ package cluster import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // Subsystem defines the logging code for this subsystem. diff --git a/cmd/lncli/autopilotrpc_active.go b/cmd/lncli/autopilotrpc_active.go index 961e859947..0260a7a8b8 100644 --- a/cmd/lncli/autopilotrpc_active.go +++ b/cmd/lncli/autopilotrpc_active.go @@ -4,8 +4,8 @@ package main import ( - "github.com/lightningnetwork/lnd/lnrpc/autopilotrpc" "github.com/urfave/cli" + "github.com/voltagecloud/lnd/lnrpc/autopilotrpc" ) func getAutopilotClient(ctx *cli.Context) (autopilotrpc.AutopilotClient, func()) { diff --git a/cmd/lncli/chainrpc_active.go b/cmd/lncli/chainrpc_active.go index 48946e0d5d..c8e764da3f 100644 --- a/cmd/lncli/chainrpc_active.go +++ b/cmd/lncli/chainrpc_active.go @@ -10,8 +10,8 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnrpc/chainrpc" "github.com/urfave/cli" + "github.com/voltagecloud/lnd/lnrpc/chainrpc" ) // chainCommands will return the set of commands to enable for chainrpc builds. diff --git a/cmd/lncli/cmd_custom.go b/cmd/lncli/cmd_custom.go index 7ff5d8a71e..ffa9106795 100644 --- a/cmd/lncli/cmd_custom.go +++ b/cmd/lncli/cmd_custom.go @@ -4,8 +4,8 @@ import ( "encoding/hex" "fmt" - "github.com/lightningnetwork/lnd/lnrpc" "github.com/urfave/cli" + "github.com/voltagecloud/lnd/lnrpc" ) var sendCustomCommand = cli.Command{ diff --git a/cmd/lncli/cmd_import_mission_control.go b/cmd/lncli/cmd_import_mission_control.go index 22ca217f77..274a1c2ec4 100644 --- a/cmd/lncli/cmd_import_mission_control.go +++ b/cmd/lncli/cmd_import_mission_control.go @@ -6,9 +6,9 @@ import ( "fmt" "strconv" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/routing/route" "github.com/urfave/cli" + "github.com/voltagecloud/lnd/routing/route" + "github.com/voltagecloud/lnrpc/routerrpc" ) const argsStr = "[source node] [dest node] [unix ts seconds] [amount in msat]" diff --git a/cmd/lncli/cmd_invoice.go b/cmd/lncli/cmd_invoice.go index 3419f8192c..960cad745c 100644 --- a/cmd/lncli/cmd_invoice.go +++ b/cmd/lncli/cmd_invoice.go @@ -5,8 +5,8 @@ import ( "fmt" "strconv" - "github.com/lightningnetwork/lnd/lnrpc" "github.com/urfave/cli" + "github.com/voltagecloud/lnd/lnrpc" ) var addInvoiceCommand = cli.Command{ diff --git a/cmd/lncli/cmd_macaroon.go b/cmd/lncli/cmd_macaroon.go index 8b8848a2b7..9671830c82 100644 --- a/cmd/lncli/cmd_macaroon.go +++ b/cmd/lncli/cmd_macaroon.go @@ -10,10 +10,10 @@ import ( "strings" "unicode" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/macaroons" "github.com/urfave/cli" + "github.com/voltagecloud/lncfg" + "github.com/voltagecloud/lnd/macaroons" + "github.com/voltagecloud/lnrpc" "google.golang.org/protobuf/proto" "gopkg.in/macaroon-bakery.v2/bakery" "gopkg.in/macaroon.v2" diff --git a/cmd/lncli/cmd_mission_control.go b/cmd/lncli/cmd_mission_control.go index 9749bcf2f0..1e1f0700e6 100644 --- a/cmd/lncli/cmd_mission_control.go +++ b/cmd/lncli/cmd_mission_control.go @@ -5,11 +5,11 @@ import ( "strconv" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing" - "github.com/lightningnetwork/lnd/routing/route" "github.com/urfave/cli" + "github.com/voltagecloud/lnd/routing/route" + "github.com/voltagecloud/lnrpc/routerrpc" + "github.com/voltagecloud/lnwire" + "github.com/voltagecloud/routing" ) var getCfgCommand = cli.Command{ diff --git a/cmd/lncli/cmd_open_channel.go b/cmd/lncli/cmd_open_channel.go index 28e1b4b2a7..bba12f9480 100644 --- a/cmd/lncli/cmd_open_channel.go +++ b/cmd/lncli/cmd_open_channel.go @@ -17,9 +17,9 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnwallet/chanfunding" "github.com/urfave/cli" + "github.com/voltagecloud/lnd/lnwallet/chanfunding" + "github.com/voltagecloud/lnrpc" ) const ( diff --git a/cmd/lncli/cmd_payments.go b/cmd/lncli/cmd_payments.go index 007cca7d0a..c86678c679 100644 --- a/cmd/lncli/cmd_payments.go +++ b/cmd/lncli/cmd_payments.go @@ -17,15 +17,15 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/jedib0t/go-pretty/v6/table" "github.com/jedib0t/go-pretty/v6/text" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" - "github.com/lightningnetwork/lnd/routing/route" "github.com/urfave/cli" + "github.com/voltagecloud/chainreg" + "github.com/voltagecloud/lnd/routing/route" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnrpc/routerrpc" + "github.com/voltagecloud/lntypes" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwire" + "github.com/voltagecloud/record" ) const ( diff --git a/cmd/lncli/cmd_profile.go b/cmd/lncli/cmd_profile.go index 428daede8c..e90bde7846 100644 --- a/cmd/lncli/cmd_profile.go +++ b/cmd/lncli/cmd_profile.go @@ -8,8 +8,8 @@ import ( "strings" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/lncfg" "github.com/urfave/cli" + "github.com/voltagecloud/lnd/lncfg" "gopkg.in/macaroon.v2" ) diff --git a/cmd/lncli/cmd_state.go b/cmd/lncli/cmd_state.go index afca13e9d6..1abd9f66e5 100644 --- a/cmd/lncli/cmd_state.go +++ b/cmd/lncli/cmd_state.go @@ -3,8 +3,8 @@ package main import ( "context" - "github.com/lightningnetwork/lnd/lnrpc" "github.com/urfave/cli" + "github.com/voltagecloud/lnd/lnrpc" ) var getStateCommand = cli.Command{ diff --git a/cmd/lncli/cmd_update_chan_status.go b/cmd/lncli/cmd_update_chan_status.go index 23c22f0b16..67ece2f54b 100644 --- a/cmd/lncli/cmd_update_chan_status.go +++ b/cmd/lncli/cmd_update_chan_status.go @@ -3,8 +3,8 @@ package main import ( "errors" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" "github.com/urfave/cli" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" ) var updateChanStatusCommand = cli.Command{ diff --git a/cmd/lncli/cmd_version.go b/cmd/lncli/cmd_version.go index bd8dd66a5a..e7f9b06809 100644 --- a/cmd/lncli/cmd_version.go +++ b/cmd/lncli/cmd_version.go @@ -3,10 +3,10 @@ package main import ( "fmt" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/lnrpc/lnclipb" - "github.com/lightningnetwork/lnd/lnrpc/verrpc" "github.com/urfave/cli" + "github.com/voltagecloud/build" + "github.com/voltagecloud/lnd/lnrpc/verrpc" + "github.com/voltagecloud/lnrpc/lnclipb" ) var versionCommand = cli.Command{ diff --git a/cmd/lncli/cmd_walletunlocker.go b/cmd/lncli/cmd_walletunlocker.go index cbf900f828..bc458f0a98 100644 --- a/cmd/lncli/cmd_walletunlocker.go +++ b/cmd/lncli/cmd_walletunlocker.go @@ -10,11 +10,11 @@ import ( "strconv" "strings" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/walletunlocker" "github.com/urfave/cli" + "github.com/voltagecloud/lncfg" + "github.com/voltagecloud/lnd/walletunlocker" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnrpc/walletrpc" ) var ( diff --git a/cmd/lncli/commands.go b/cmd/lncli/commands.go index b4d2f318fc..3f90c08fc6 100644 --- a/cmd/lncli/commands.go +++ b/cmd/lncli/commands.go @@ -18,11 +18,11 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/routing" - "github.com/lightningnetwork/lnd/routing/route" - "github.com/lightningnetwork/lnd/signal" "github.com/urfave/cli" + "github.com/voltagecloud/lnd/signal" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/routing" + "github.com/voltagecloud/routing/route" "golang.org/x/term" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/cmd/lncli/devrpc_active.go b/cmd/lncli/devrpc_active.go index 02cdcdee6a..1353f0da57 100644 --- a/cmd/lncli/devrpc_active.go +++ b/cmd/lncli/devrpc_active.go @@ -7,10 +7,10 @@ import ( "fmt" "os" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/devrpc" "github.com/urfave/cli" + "github.com/voltagecloud/lncfg" + "github.com/voltagecloud/lnd/lnrpc/devrpc" + "github.com/voltagecloud/lnrpc" ) // devCommands will return the set of commands to enable for devrpc builds. diff --git a/cmd/lncli/invoicesrpc_active.go b/cmd/lncli/invoicesrpc_active.go index 095911b663..840c521c5c 100644 --- a/cmd/lncli/invoicesrpc_active.go +++ b/cmd/lncli/invoicesrpc_active.go @@ -8,8 +8,8 @@ import ( "fmt" "strconv" - "github.com/lightningnetwork/lnd/lnrpc/invoicesrpc" "github.com/urfave/cli" + "github.com/voltagecloud/lnd/lnrpc/invoicesrpc" ) // invoicesCommands will return nil for non-invoicesrpc builds. diff --git a/cmd/lncli/main.go b/cmd/lncli/main.go index 3f2bdcf39d..1753388782 100644 --- a/cmd/lncli/main.go +++ b/cmd/lncli/main.go @@ -15,12 +15,12 @@ import ( "syscall" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/macaroons" - "github.com/lightningnetwork/lnd/tor" "github.com/urfave/cli" + "github.com/voltagecloud/build" + "github.com/voltagecloud/lncfg" + "github.com/voltagecloud/lnd/tor" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/macaroons" "golang.org/x/term" "google.golang.org/grpc" "google.golang.org/grpc/credentials" diff --git a/cmd/lncli/neutrino_active.go b/cmd/lncli/neutrino_active.go index 099da46c6e..7ba5a05462 100644 --- a/cmd/lncli/neutrino_active.go +++ b/cmd/lncli/neutrino_active.go @@ -4,8 +4,8 @@ package main import ( - "github.com/lightningnetwork/lnd/lnrpc/neutrinorpc" "github.com/urfave/cli" + "github.com/voltagecloud/lnd/lnrpc/neutrinorpc" ) func getNeutrinoKitClient(ctx *cli.Context) (neutrinorpc.NeutrinoKitClient, func()) { diff --git a/cmd/lncli/peersrpc_active.go b/cmd/lncli/peersrpc_active.go index 5ac94f2c7a..c742a3f9ad 100644 --- a/cmd/lncli/peersrpc_active.go +++ b/cmd/lncli/peersrpc_active.go @@ -6,9 +6,9 @@ package main import ( "fmt" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/peersrpc" "github.com/urfave/cli" + "github.com/voltagecloud/lnd/lnrpc/peersrpc" + "github.com/voltagecloud/lnrpc" ) // peersCommands will return the set of commands to enable for peersrpc diff --git a/cmd/lncli/profile.go b/cmd/lncli/profile.go index e5d4aacb53..ccd5e9dc79 100644 --- a/cmd/lncli/profile.go +++ b/cmd/lncli/profile.go @@ -10,10 +10,10 @@ import ( "path" "strings" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/walletunlocker" "github.com/urfave/cli" + "github.com/voltagecloud/lncfg" + "github.com/voltagecloud/lnd/walletunlocker" + "github.com/voltagecloud/lnrpc" "gopkg.in/macaroon.v2" ) diff --git a/cmd/lncli/types.go b/cmd/lncli/types.go index 5e85d0d18d..c9e78e8cc5 100644 --- a/cmd/lncli/types.go +++ b/cmd/lncli/types.go @@ -8,7 +8,7 @@ import ( "strings" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" ) // OutPoint displays an outpoint string in the form ":". diff --git a/cmd/lncli/walletrpc_active.go b/cmd/lncli/walletrpc_active.go index 577121928c..cf6a3654e5 100644 --- a/cmd/lncli/walletrpc_active.go +++ b/cmd/lncli/walletrpc_active.go @@ -15,9 +15,9 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" "github.com/urfave/cli" + "github.com/voltagecloud/lnd/lnrpc/walletrpc" + "github.com/voltagecloud/lnrpc" ) var ( diff --git a/cmd/lncli/walletrpc_types.go b/cmd/lncli/walletrpc_types.go index 09b3ec69a9..3d3c0fa1c2 100644 --- a/cmd/lncli/walletrpc_types.go +++ b/cmd/lncli/walletrpc_types.go @@ -1,6 +1,6 @@ package main -import "github.com/lightningnetwork/lnd/lnrpc/walletrpc" +import "github.com/voltagecloud/lnd/lnrpc/walletrpc" // PendingSweep is a CLI-friendly type of the walletrpc.PendingSweep proto. We // use this to show more useful string versions of byte slices and enums. diff --git a/cmd/lncli/watchtower_active.go b/cmd/lncli/watchtower_active.go index 9c31c6ec4b..0d4efe0546 100644 --- a/cmd/lncli/watchtower_active.go +++ b/cmd/lncli/watchtower_active.go @@ -4,8 +4,8 @@ package main import ( - "github.com/lightningnetwork/lnd/lnrpc/watchtowerrpc" "github.com/urfave/cli" + "github.com/voltagecloud/lnd/lnrpc/watchtowerrpc" ) func watchtowerCommands() []cli.Command { diff --git a/cmd/lncli/wtclient.go b/cmd/lncli/wtclient.go index c08601c324..a4494d599e 100644 --- a/cmd/lncli/wtclient.go +++ b/cmd/lncli/wtclient.go @@ -6,8 +6,8 @@ import ( "fmt" "strings" - "github.com/lightningnetwork/lnd/lnrpc/wtclientrpc" "github.com/urfave/cli" + "github.com/voltagecloud/lnd/lnrpc/wtclientrpc" ) // wtclientCommands will return nil for non-wtclientrpc builds. diff --git a/cmd/lnd/main.go b/cmd/lnd/main.go index 3f30567c14..8426868b7a 100644 --- a/cmd/lnd/main.go +++ b/cmd/lnd/main.go @@ -5,8 +5,8 @@ import ( "os" "github.com/jessevdk/go-flags" - "github.com/lightningnetwork/lnd" - "github.com/lightningnetwork/lnd/signal" + "github.com/voltagecloud/lnd" + "github.com/voltagecloud/signal" ) func main() { diff --git a/config.go b/config.go index ab42976abe..62e0b3f176 100644 --- a/config.go +++ b/config.go @@ -23,27 +23,27 @@ import ( "github.com/btcsuite/btcd/chaincfg" flags "github.com/jessevdk/go-flags" "github.com/lightninglabs/neutrino" - "github.com/lightningnetwork/lnd/autopilot" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/chanbackup" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/discovery" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/htlcswitch/hodl" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/peersrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lnrpc/signrpc" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing" - "github.com/lightningnetwork/lnd/signal" - "github.com/lightningnetwork/lnd/sweep" - "github.com/lightningnetwork/lnd/tor" + "github.com/voltagecloud/lnd/autopilot" + "github.com/voltagecloud/lnd/build" + "github.com/voltagecloud/lnd/chainreg" + "github.com/voltagecloud/lnd/chanbackup" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/discovery" + "github.com/voltagecloud/lnd/funding" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/htlcswitch/hodl" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lncfg" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/peersrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lnrpc/signrpc" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing" + "github.com/voltagecloud/lnd/signal" + "github.com/voltagecloud/lnd/sweep" + "github.com/voltagecloud/lnd/tor" ) const ( diff --git a/config_builder.go b/config_builder.go index 1827587e8c..89c938a129 100644 --- a/config_builder.go +++ b/config_builder.go @@ -27,25 +27,25 @@ import ( "github.com/lightninglabs/neutrino/blockntfns" "github.com/lightninglabs/neutrino/headerfs" "github.com/lightninglabs/neutrino/pushtx" - "github.com/lightningnetwork/lnd/blockcache" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/btcwallet" - "github.com/lightningnetwork/lnd/lnwallet/rpcwallet" - "github.com/lightningnetwork/lnd/macaroons" - "github.com/lightningnetwork/lnd/rpcperms" - "github.com/lightningnetwork/lnd/signal" - "github.com/lightningnetwork/lnd/walletunlocker" - "github.com/lightningnetwork/lnd/watchtower" - "github.com/lightningnetwork/lnd/watchtower/wtclient" - "github.com/lightningnetwork/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/blockcache" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/chainreg" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/invoices" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lncfg" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/btcwallet" + "github.com/voltagecloud/lnd/lnwallet/rpcwallet" + "github.com/voltagecloud/lnd/macaroons" + "github.com/voltagecloud/lnd/rpcperms" + "github.com/voltagecloud/lnd/signal" + "github.com/voltagecloud/lnd/walletunlocker" + "github.com/voltagecloud/lnd/watchtower" + "github.com/voltagecloud/lnd/watchtower/wtclient" + "github.com/voltagecloud/lnd/watchtower/wtdb" "google.golang.org/grpc" "gopkg.in/macaroon-bakery.v2/bakery" ) diff --git a/contractcourt/anchor_resolver.go b/contractcourt/anchor_resolver.go index d969600268..099e8794cc 100644 --- a/contractcourt/anchor_resolver.go +++ b/contractcourt/anchor_resolver.go @@ -8,9 +8,9 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/sweep" + "github.com/voltagecloud/input" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/sweep" ) // anchorResolver is a resolver that will attempt to sweep our anchor output. diff --git a/contractcourt/breach_resolver.go b/contractcourt/breach_resolver.go index 922ec609ab..31068a488b 100644 --- a/contractcourt/breach_resolver.go +++ b/contractcourt/breach_resolver.go @@ -4,7 +4,7 @@ import ( "encoding/binary" "io" - "github.com/lightningnetwork/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb" ) // breachResolver is a resolver that will handle breached closes. In the diff --git a/contractcourt/breacharbiter.go b/contractcourt/breacharbiter.go index 7c9cc608fd..2afdd8a31c 100644 --- a/contractcourt/breacharbiter.go +++ b/contractcourt/breacharbiter.go @@ -14,13 +14,13 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/labels" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/input" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/labels" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwallet/chainfee" ) const ( diff --git a/contractcourt/breacharbiter_test.go b/contractcourt/breacharbiter_test.go index 78fa9d7079..ca172b90bd 100644 --- a/contractcourt/breacharbiter_test.go +++ b/contractcourt/breacharbiter_test.go @@ -20,18 +20,18 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lntest/channels" - "github.com/lightningnetwork/lnd/lntest/mock" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/shachain" "github.com/stretchr/testify/require" + "github.com/voltagecloud/chainntnfs" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/input" + "github.com/voltagecloud/keychain" + "github.com/voltagecloud/lnd/shachain" + "github.com/voltagecloud/lntest/channels" + "github.com/voltagecloud/lntest/mock" + "github.com/voltagecloud/lntest/wait" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwallet/chainfee" + "github.com/voltagecloud/lnwire" ) var ( diff --git a/contractcourt/briefcase.go b/contractcourt/briefcase.go index 95f6a933d7..4d97a72074 100644 --- a/contractcourt/briefcase.go +++ b/contractcourt/briefcase.go @@ -9,10 +9,10 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwallet" + "github.com/voltagecloud/input" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnwallet" ) // ContractResolutions is a wrapper struct around the two forms of resolutions diff --git a/contractcourt/briefcase_test.go b/contractcourt/briefcase_test.go index a112b7f8c9..d2bab68f14 100644 --- a/contractcourt/briefcase_test.go +++ b/contractcourt/briefcase_test.go @@ -13,13 +13,13 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnmock" - "github.com/lightningnetwork/lnd/lntest/channels" - "github.com/lightningnetwork/lnd/lnwallet" "github.com/stretchr/testify/require" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/input" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnmock" + "github.com/voltagecloud/lntest/channels" ) var ( diff --git a/contractcourt/chain_arbitrator.go b/contractcourt/chain_arbitrator.go index ffd26e66a9..a299c194d7 100644 --- a/contractcourt/chain_arbitrator.go +++ b/contractcourt/chain_arbitrator.go @@ -11,15 +11,15 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcwallet/walletdb" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/labels" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/clock" + "github.com/voltagecloud/input" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/labels" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwallet/chainfee" + "github.com/voltagecloud/lnwire" ) // ErrChainArbExiting signals that the chain arbitrator is shutting down. diff --git a/contractcourt/chain_arbitrator_test.go b/contractcourt/chain_arbitrator_test.go index 9e90864d73..564bdb7e66 100644 --- a/contractcourt/chain_arbitrator_test.go +++ b/contractcourt/chain_arbitrator_test.go @@ -6,12 +6,12 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/lntest/mock" - "github.com/lightningnetwork/lnd/lnwallet" "github.com/stretchr/testify/require" + "github.com/voltagecloud/chainntnfs" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/clock" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lntest/mock" ) // TestChainArbitratorRepulishCloses tests that the chain arbitrator will diff --git a/contractcourt/chain_watcher.go b/contractcourt/chain_watcher.go index 71f2f9a83d..d1bbad1f73 100644 --- a/contractcourt/chain_watcher.go +++ b/contractcourt/chain_watcher.go @@ -14,10 +14,10 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwallet" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/input" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnwallet" ) const ( diff --git a/contractcourt/chain_watcher_test.go b/contractcourt/chain_watcher_test.go index 489a605185..258445ed26 100644 --- a/contractcourt/chain_watcher_test.go +++ b/contractcourt/chain_watcher_test.go @@ -8,13 +8,13 @@ import ( "time" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lntest/mock" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/chainntnfs" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/input" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lntest/mock" + "github.com/voltagecloud/lnwallet" ) // TestChainWatcherRemoteUnilateralClose tests that the chain watcher is able diff --git a/contractcourt/channel_arbitrator.go b/contractcourt/channel_arbitrator.go index 3176cf0128..73139f0491 100644 --- a/contractcourt/channel_arbitrator.go +++ b/contractcourt/channel_arbitrator.go @@ -14,17 +14,17 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/labels" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/sweep" + "github.com/voltagecloud/channeldb/models" + "github.com/voltagecloud/htlcswitch/hop" + "github.com/voltagecloud/input" + "github.com/voltagecloud/invoices" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/labels" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lntypes" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwire" + "github.com/voltagecloud/sweep" ) var ( diff --git a/contractcourt/channel_arbitrator_test.go b/contractcourt/channel_arbitrator_test.go index 34c6122fda..c7e7353807 100644 --- a/contractcourt/channel_arbitrator_test.go +++ b/contractcourt/channel_arbitrator_test.go @@ -13,16 +13,16 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntest/mock" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/chainntnfs" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/clock" + "github.com/voltagecloud/input" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lntest/mock" + "github.com/voltagecloud/lntypes" + "github.com/voltagecloud/lnwallet" ) const ( diff --git a/contractcourt/commit_sweep_resolver.go b/contractcourt/commit_sweep_resolver.go index cd59f9654a..2368e462ed 100644 --- a/contractcourt/commit_sweep_resolver.go +++ b/contractcourt/commit_sweep_resolver.go @@ -11,11 +11,11 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/sweep" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/input" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/sweep" ) const ( diff --git a/contractcourt/commit_sweep_resolver_test.go b/contractcourt/commit_sweep_resolver_test.go index 0583ce8ead..89ce624b93 100644 --- a/contractcourt/commit_sweep_resolver_test.go +++ b/contractcourt/commit_sweep_resolver_test.go @@ -6,14 +6,14 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntest/mock" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/sweep" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/input" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lntest/mock" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwallet/chainfee" + "github.com/voltagecloud/sweep" ) type commitSweepResolverTestContext struct { diff --git a/contractcourt/contract_resolvers.go b/contractcourt/contract_resolvers.go index b12c4815c4..2d74eb974f 100644 --- a/contractcourt/contract_resolvers.go +++ b/contractcourt/contract_resolvers.go @@ -8,8 +8,8 @@ import ( "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/channeldb" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/lnd/build" ) var ( diff --git a/contractcourt/htlc_incoming_contest_resolver.go b/contractcourt/htlc_incoming_contest_resolver.go index 9c45ee7bae..1dd6287fa5 100644 --- a/contractcourt/htlc_incoming_contest_resolver.go +++ b/contractcourt/htlc_incoming_contest_resolver.go @@ -9,14 +9,14 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/txscript" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/queue" + "github.com/voltagecloud/channeldb/models" + "github.com/voltagecloud/htlcswitch/hop" + "github.com/voltagecloud/invoices" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lntypes" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwire" + "github.com/voltagecloud/queue" ) // htlcIncomingContestResolver is a ContractResolver that's able to resolve an diff --git a/contractcourt/htlc_incoming_resolver_test.go b/contractcourt/htlc_incoming_resolver_test.go index e8532abe58..e68b324561 100644 --- a/contractcourt/htlc_incoming_resolver_test.go +++ b/contractcourt/htlc_incoming_resolver_test.go @@ -6,19 +6,20 @@ import ( "io/ioutil" "testing" - sphinx "github.com/lightningnetwork/lightning-onion" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnmock" - "github.com/lightningnetwork/lnd/lntest/mock" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" + sphinx "git/voltagecloud/ud/lightning-onion" + "github.com/stretchr/testify/require" + "github.com/voltagecloud/chainntnfs" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/channeldb/models" + "github.com/voltagecloud/htlcswitch/hop" + "github.com/voltagecloud/invoices" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnmock" + "github.com/voltagecloud/lntest/mock" + "github.com/voltagecloud/lntypes" + "github.com/voltagecloud/lnwallet" ) const ( diff --git a/contractcourt/htlc_lease_resolver.go b/contractcourt/htlc_lease_resolver.go index 87e55d5cc4..6c416eed5a 100644 --- a/contractcourt/htlc_lease_resolver.go +++ b/contractcourt/htlc_lease_resolver.go @@ -4,9 +4,9 @@ import ( "math" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/input" + "github.com/voltagecloud/lnd/chainntnfs" ) // htlcLeaseResolver is a struct that houses the lease specific HTLC resolution diff --git a/contractcourt/htlc_outgoing_contest_resolver.go b/contractcourt/htlc_outgoing_contest_resolver.go index 41ef2516ac..8be7b35ff1 100644 --- a/contractcourt/htlc_outgoing_contest_resolver.go +++ b/contractcourt/htlc_outgoing_contest_resolver.go @@ -5,8 +5,8 @@ import ( "io" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnwallet" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnwallet" ) // htlcOutgoingContestResolver is a ContractResolver that's able to resolve an diff --git a/contractcourt/htlc_outgoing_contest_resolver_test.go b/contractcourt/htlc_outgoing_contest_resolver_test.go index f83d177497..fe223af4c3 100644 --- a/contractcourt/htlc_outgoing_contest_resolver_test.go +++ b/contractcourt/htlc_outgoing_contest_resolver_test.go @@ -5,15 +5,15 @@ import ( "testing" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnmock" - "github.com/lightningnetwork/lnd/lntest/mock" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/input" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnmock" + "github.com/voltagecloud/lntest/mock" + "github.com/voltagecloud/lntypes" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwire" ) const ( diff --git a/contractcourt/htlc_success_resolver.go b/contractcourt/htlc_success_resolver.go index 545a70f9fb..ec0c33360d 100644 --- a/contractcourt/htlc_success_resolver.go +++ b/contractcourt/htlc_success_resolver.go @@ -10,14 +10,14 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/labels" - "github.com/lightningnetwork/lnd/lnutils" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/sweep" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/channeldb/models" + "github.com/voltagecloud/input" + "github.com/voltagecloud/labels" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnutils" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/sweep" ) // htlcSuccessResolver is a resolver that's capable of sweeping an incoming diff --git a/contractcourt/htlc_success_resolver_test.go b/contractcourt/htlc_success_resolver_test.go index d2c9bf0516..6d292658a4 100644 --- a/contractcourt/htlc_success_resolver_test.go +++ b/contractcourt/htlc_success_resolver_test.go @@ -10,14 +10,14 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnmock" - "github.com/lightningnetwork/lnd/lntest/mock" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/input" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnmock" + "github.com/voltagecloud/lntest/mock" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwire" ) var testHtlcAmt = lnwire.MilliSatoshi(200000) diff --git a/contractcourt/htlc_timeout_resolver.go b/contractcourt/htlc_timeout_resolver.go index 480ec3b23b..54cf5d7d0a 100644 --- a/contractcourt/htlc_timeout_resolver.go +++ b/contractcourt/htlc_timeout_resolver.go @@ -10,14 +10,14 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnutils" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/sweep" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/input" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lntypes" + "github.com/voltagecloud/lnutils" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwire" + "github.com/voltagecloud/sweep" ) // htlcTimeoutResolver is a ContractResolver that's capable of resolving an diff --git a/contractcourt/htlc_timeout_resolver_test.go b/contractcourt/htlc_timeout_resolver_test.go index 8b2451ed2b..5f830115dc 100644 --- a/contractcourt/htlc_timeout_resolver_test.go +++ b/contractcourt/htlc_timeout_resolver_test.go @@ -12,16 +12,16 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntest/mock" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/chainntnfs" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/htlcswitch/hop" + "github.com/voltagecloud/input" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lntest/mock" + "github.com/voltagecloud/lntypes" + "github.com/voltagecloud/lnwallet" ) type mockWitnessBeacon struct { diff --git a/contractcourt/interfaces.go b/contractcourt/interfaces.go index 49e1f913aa..8f51d17e13 100644 --- a/contractcourt/interfaces.go +++ b/contractcourt/interfaces.go @@ -4,15 +4,15 @@ import ( "io" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/sweep" + "github.com/voltagecloud/channeldb/models" + "github.com/voltagecloud/htlcswitch/hop" + "github.com/voltagecloud/input" + "github.com/voltagecloud/invoices" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lntypes" + "github.com/voltagecloud/lnwallet/chainfee" + "github.com/voltagecloud/lnwire" + "github.com/voltagecloud/sweep" ) // Registry is an interface which represents the invoice registry. diff --git a/contractcourt/log.go b/contractcourt/log.go index 2891781e83..1dc6037a23 100644 --- a/contractcourt/log.go +++ b/contractcourt/log.go @@ -2,7 +2,7 @@ package contractcourt import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) var ( diff --git a/contractcourt/mock_htlcnotifier_test.go b/contractcourt/mock_htlcnotifier_test.go index 4f7aadbab3..b6afd91b5a 100644 --- a/contractcourt/mock_htlcnotifier_test.go +++ b/contractcourt/mock_htlcnotifier_test.go @@ -1,8 +1,8 @@ package contractcourt import ( - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" + "github.com/voltagecloud/channeldb/models" + "github.com/voltagecloud/lnd/channeldb" ) type mockHTLCNotifier struct { diff --git a/contractcourt/mock_registry_test.go b/contractcourt/mock_registry_test.go index 19105a77e9..2f44972974 100644 --- a/contractcourt/mock_registry_test.go +++ b/contractcourt/mock_registry_test.go @@ -1,10 +1,10 @@ package contractcourt import ( - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/invoices" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lntypes" + "github.com/voltagecloud/lnwire" ) type notifyExitHopData struct { diff --git a/contractcourt/nursery_store.go b/contractcourt/nursery_store.go index 3dc3416f70..48f1aabe7e 100644 --- a/contractcourt/nursery_store.go +++ b/contractcourt/nursery_store.go @@ -7,8 +7,8 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/lnd/channeldb" ) // Overview of Nursery Store Storage Hierarchy diff --git a/contractcourt/nursery_store_test.go b/contractcourt/nursery_store_test.go index ca537693cb..73d16c4ed7 100644 --- a/contractcourt/nursery_store_test.go +++ b/contractcourt/nursery_store_test.go @@ -6,8 +6,8 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" ) type incubateTest struct { diff --git a/contractcourt/setup_test.go b/contractcourt/setup_test.go index f9925ce040..e28efd0f86 100644 --- a/contractcourt/setup_test.go +++ b/contractcourt/setup_test.go @@ -3,7 +3,7 @@ package contractcourt import ( "testing" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) func TestMain(m *testing.M) { diff --git a/contractcourt/taproot_briefcase.go b/contractcourt/taproot_briefcase.go index 5931a4556f..63ad696fca 100644 --- a/contractcourt/taproot_briefcase.go +++ b/contractcourt/taproot_briefcase.go @@ -4,7 +4,7 @@ import ( "bytes" "io" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) const ( diff --git a/contractcourt/utils_test.go b/contractcourt/utils_test.go index 9a3c5308eb..b55980e453 100644 --- a/contractcourt/utils_test.go +++ b/contractcourt/utils_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb" ) // timeout implements a test level timeout. diff --git a/contractcourt/utxonursery.go b/contractcourt/utxonursery.go index 801ef28a0a..8091ae9d52 100644 --- a/contractcourt/utxonursery.go +++ b/contractcourt/utxonursery.go @@ -13,12 +13,12 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/labels" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/sweep" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/input" + "github.com/voltagecloud/labels" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/sweep" ) // SUMMARY OF OUTPUT STATES diff --git a/contractcourt/utxonursery_test.go b/contractcourt/utxonursery_test.go index 05cda32ca1..49a80bb5c7 100644 --- a/contractcourt/utxonursery_test.go +++ b/contractcourt/utxonursery_test.go @@ -16,12 +16,12 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lntest/mock" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/sweep" "github.com/stretchr/testify/require" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/input" + "github.com/voltagecloud/lnd/sweep" + "github.com/voltagecloud/lntest/mock" + "github.com/voltagecloud/lnwallet" ) var ( diff --git a/dev.Dockerfile b/dev.Dockerfile index c2b203d2d2..1c500437c4 100644 --- a/dev.Dockerfile +++ b/dev.Dockerfile @@ -18,10 +18,10 @@ RUN apk add --no-cache --update alpine-sdk \ make # Copy in the local repository to build from. -COPY . /go/src/github.com/lightningnetwork/lnd +COPY . /go/src/github.com/voltagecloud/lnd # Install/build lnd. -RUN cd /go/src/github.com/lightningnetwork/lnd \ +RUN cd /go/src/github.com/voltagecloud/lnd \ && make \ && make install tags="signrpc walletrpc chainrpc invoicesrpc peersrpc" diff --git a/discovery/bootstrapper.go b/discovery/bootstrapper.go index 67dbc7e232..34f242637d 100644 --- a/discovery/bootstrapper.go +++ b/discovery/bootstrapper.go @@ -15,10 +15,10 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil/bech32" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/autopilot" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/tor" "github.com/miekg/dns" + "github.com/voltagecloud/autopilot" + "github.com/voltagecloud/lnd/tor" + "github.com/voltagecloud/lnwire" ) func init() { @@ -277,7 +277,7 @@ func (c *ChannelGraphBootstrapper) Name() string { // interface which implements peer bootstrapping via a special DNS seed as // defined in BOLT-0010. For further details concerning Lightning's current DNS // boot strapping protocol, see this link: -// - https://github.com/lightningnetwork/lightning-rfc/blob/master/10-dns-bootstrap.md +// - https://github.com/voltagecloud/tning-rfc/blob/master/10-dns-bootstrap.md type DNSSeedBootstrapper struct { // dnsSeeds is an array of two tuples we'll use for bootstrapping. The // first item in the tuple is the primary host we'll use to attempt the diff --git a/discovery/chan_series.go b/discovery/chan_series.go index 0fe819d4ef..bc7c666cfe 100644 --- a/discovery/chan_series.go +++ b/discovery/chan_series.go @@ -4,11 +4,11 @@ import ( "time" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/netann" - "github.com/lightningnetwork/lnd/routing" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnwire" + "github.com/voltagecloud/netann" + "github.com/voltagecloud/routing" + "github.com/voltagecloud/routing/route" ) // ChannelGraphTimeSeries is an interface that provides time and block based diff --git a/discovery/gossiper.go b/discovery/gossiper.go index 305fd359e6..dee0bf79a1 100644 --- a/discovery/gossiper.go +++ b/discovery/gossiper.go @@ -16,20 +16,20 @@ import ( "github.com/davecgh/go-spew/spew" "github.com/lightninglabs/neutrino/cache" "github.com/lightninglabs/neutrino/cache/lru" - "github.com/lightningnetwork/lnd/batch" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnpeer" - "github.com/lightningnetwork/lnd/lnutils" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/multimutex" - "github.com/lightningnetwork/lnd/netann" - "github.com/lightningnetwork/lnd/routing" - "github.com/lightningnetwork/lnd/routing/route" - "github.com/lightningnetwork/lnd/ticker" + "github.com/voltagecloud/chainntnfs" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/keychain" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/lnd/batch" + "github.com/voltagecloud/lnpeer" + "github.com/voltagecloud/lnutils" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwire" + "github.com/voltagecloud/multimutex" + "github.com/voltagecloud/netann" + "github.com/voltagecloud/routing" + "github.com/voltagecloud/routing/route" + "github.com/voltagecloud/ticker" "golang.org/x/time/rate" ) diff --git a/discovery/gossiper_test.go b/discovery/gossiper_test.go index d364b80ecc..1fa243eb41 100644 --- a/discovery/gossiper_test.go +++ b/discovery/gossiper_test.go @@ -21,20 +21,20 @@ import ( "github.com/davecgh/go-spew/spew" "github.com/go-errors/errors" "github.com/lightninglabs/neutrino/cache" - "github.com/lightningnetwork/lnd/batch" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnpeer" - "github.com/lightningnetwork/lnd/lntest/mock" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/netann" - "github.com/lightningnetwork/lnd/routing" - "github.com/lightningnetwork/lnd/routing/route" - "github.com/lightningnetwork/lnd/ticker" "github.com/stretchr/testify/require" + "github.com/voltagecloud/batch" + "github.com/voltagecloud/chainntnfs" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/keychain" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/lnd/ticker" + "github.com/voltagecloud/lnpeer" + "github.com/voltagecloud/lntest/mock" + "github.com/voltagecloud/lntest/wait" + "github.com/voltagecloud/lnwire" + "github.com/voltagecloud/netann" + "github.com/voltagecloud/routing" + "github.com/voltagecloud/routing/route" ) var ( diff --git a/discovery/log.go b/discovery/log.go index bd2004d3d5..d01306648c 100644 --- a/discovery/log.go +++ b/discovery/log.go @@ -2,7 +2,7 @@ package discovery import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This diff --git a/discovery/message_store.go b/discovery/message_store.go index cf228eee71..be7f114c14 100644 --- a/discovery/message_store.go +++ b/discovery/message_store.go @@ -6,8 +6,8 @@ import ( "errors" "fmt" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnwire" ) var ( diff --git a/discovery/message_store_test.go b/discovery/message_store_test.go index e812c3f1a3..b43ccb0db6 100644 --- a/discovery/message_store_test.go +++ b/discovery/message_store_test.go @@ -8,10 +8,10 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/lnd/lnwire" ) func createTestMessageStore(t *testing.T) *MessageStore { diff --git a/discovery/mock_test.go b/discovery/mock_test.go index 4f5c5d4e46..dcecadc598 100644 --- a/discovery/mock_test.go +++ b/discovery/mock_test.go @@ -7,8 +7,8 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnpeer" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnpeer" + "github.com/voltagecloud/lnwire" ) // mockPeer implements the lnpeer.Peer interface and is used to test the diff --git a/discovery/reliable_sender.go b/discovery/reliable_sender.go index b4d32e73fd..1e07947a3e 100644 --- a/discovery/reliable_sender.go +++ b/discovery/reliable_sender.go @@ -3,8 +3,8 @@ package discovery import ( "sync" - "github.com/lightningnetwork/lnd/lnpeer" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnpeer" + "github.com/voltagecloud/lnwire" ) // reliableSenderCfg contains all of necessary items for the reliableSender to diff --git a/discovery/reliable_sender_test.go b/discovery/reliable_sender_test.go index d1e69b11fb..d810cf7ab8 100644 --- a/discovery/reliable_sender_test.go +++ b/discovery/reliable_sender_test.go @@ -7,9 +7,9 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/lnpeer" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnpeer" + "github.com/voltagecloud/lntest/wait" + "github.com/voltagecloud/lnwire" ) // newTestReliableSender creates a new reliable sender instance used for diff --git a/discovery/sync_manager.go b/discovery/sync_manager.go index 8123c37eb1..6bada89e20 100644 --- a/discovery/sync_manager.go +++ b/discovery/sync_manager.go @@ -7,10 +7,10 @@ import ( "time" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/lnpeer" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" - "github.com/lightningnetwork/lnd/ticker" + "github.com/voltagecloud/lnd/lnpeer" + "github.com/voltagecloud/lnwire" + "github.com/voltagecloud/routing/route" + "github.com/voltagecloud/ticker" ) const ( diff --git a/discovery/sync_manager_test.go b/discovery/sync_manager_test.go index f6861f0c64..6ecf2260d2 100644 --- a/discovery/sync_manager_test.go +++ b/discovery/sync_manager_test.go @@ -10,11 +10,11 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" - "github.com/lightningnetwork/lnd/ticker" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/ticker" + "github.com/voltagecloud/lntest/wait" + "github.com/voltagecloud/lnwire" + "github.com/voltagecloud/routing/route" ) // randPeer creates a random peer. diff --git a/discovery/syncer.go b/discovery/syncer.go index 722519fb08..660507cc65 100644 --- a/discovery/syncer.go +++ b/discovery/syncer.go @@ -11,8 +11,8 @@ import ( "time" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/lnpeer" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnpeer" + "github.com/voltagecloud/lnwire" "golang.org/x/time/rate" ) diff --git a/discovery/syncer_test.go b/discovery/syncer_test.go index 70920f9f48..f6a4c843be 100644 --- a/discovery/syncer_test.go +++ b/discovery/syncer_test.go @@ -13,9 +13,9 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/lnd/lnwire" ) const ( diff --git a/docs/DOCKER.md b/docs/DOCKER.md index 3af75c9069..28e9314063 100644 --- a/docs/DOCKER.md +++ b/docs/DOCKER.md @@ -118,7 +118,7 @@ To test the Docker production image locally, run the following from the project $ docker build . -t myrepository/lnd:master ``` -To choose a specific [branch](https://github.com/lightningnetwork/lnd/branches) or [tag](https://hub.docker.com/r/lightninglabs/lnd/tags?page=1&ordering=last_updated) instead, use the `checkout` build-arg. For example, to build the latest tagged commit: +To choose a specific [branch](https://github.com/voltagecloud/lnd/branches) or [tag](https://hub.docker.com/r/lightninglabs/lnd/tags?page=1&ordering=last_updated) instead, use the `checkout` build-arg. For example, to build the latest tagged commit: ```shell $ docker build . --build-arg checkout=v0.14.1-beta -t myrepository/lnd:v0.14.1-beta @@ -130,7 +130,7 @@ To build the image using the most current tag: $ docker build . --build-arg checkout=$(git describe --tags `git rev-list --tags --max-count=1`) -t myrepository/lnd:latest-tag ``` -You can also specify a different repo than the default (`https://github.com/lightningnetwork/lnd`) using the `git_url` build-arg: +You can also specify a different repo than the default (`https://github.com/voltagecloud/lnd`) using the `git_url` build-arg: ```shell $ docker build . --build-arg git_url=https://git.example.com/lnd.git --build-arg checkout=mybranch -t myrepository/lnd:v0.13.0-beta diff --git a/docs/INSTALL.md b/docs/INSTALL.md index c190735535..eebbaacce2 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -46,7 +46,7 @@ development) builds. Downloading and installing an official release binary is recommended for use on mainnet. -[Visit the release page on GitHub](https://github.com/lightningnetwork/lnd/releases) +[Visit the release page on GitHub](https://github.com/voltagecloud/lnd/releases) and select the latest version that does not have the "Pre-release" label set (unless you explicitly want to help test a Release Candidate, RC). @@ -69,7 +69,7 @@ To build a specific git tag of `lnd`, simply run the following steps (assuming `v0.x.y-beta` is the tagged version to build): ```shell -git clone https://github.com/lightningnetwork/lnd +git clone https://github.com/voltagecloud/lnd cd lnd git checkout v0.x.y-beta make docker-release tag=v0.x.y-beta @@ -88,7 +88,7 @@ recommended for mainnet. The `master` branch can at times be unstable and running your node off of it can prevent it to go back to a previous, stable version if there are database migrations present. -In order to work with [`lnd`](https://github.com/lightningnetwork/lnd), the +In order to work with [`lnd`](https://github.com/voltagecloud/lnd), the following build dependencies are required: ### Installing Go @@ -198,7 +198,7 @@ documentation for [building mobile libraries](../mobile) to learn more. With the preliminary steps completed, to install `lnd`, `lncli`, and all related dependencies run the following commands: ```shell -git clone https://github.com/lightningnetwork/lnd +git clone https://github.com/voltagecloud/lnd cd lnd make install ``` @@ -206,11 +206,11 @@ make install The command above will install the current _master_ branch of `lnd`. If you wish to install a tagged release of `lnd` (as the master branch can at times be unstable), then [visit then release page to locate the latest -release](https://github.com/lightningnetwork/lnd/releases). Assuming the name +release](https://github.com/voltagecloud/lnd/releases). Assuming the name of the release is `v0.x.x`, then you can compile this release from source with a small modification to the above command: ```shell -git clone https://github.com/lightningnetwork/lnd +git clone https://github.com/voltagecloud/lnd cd lnd git checkout v0.x.x make install @@ -271,7 +271,7 @@ make install tags="signrpc walletrpc routerrpc invoicesrpc" To update your version of `lnd` to the latest version run the following commands: ```shell -cd $GOPATH/src/github.com/lightningnetwork/lnd +cd $GOPATH/src/github.com/voltagecloud/lnd git pull make clean && make && make install ``` @@ -281,7 +281,7 @@ On FreeBSD, use gmake instead of make. Alternatively, if one doesn't wish to use `make`, then the `go` commands can be used directly: ```shell -cd $GOPATH/src/github.com/lightningnetwork/lnd +cd $GOPATH/src/github.com/voltagecloud/lnd git pull go install -v ./... ``` @@ -540,7 +540,7 @@ document](wallet.md). `lnd`'s authentication system is called **macaroons**, which are decentralized bearer credentials allowing for delegation, attenuation, and other cool features. You can learn more about them in Alex Akselrod's [writeup on -Github](https://github.com/lightningnetwork/lnd/issues/20). +Github](https://github.com/voltagecloud/lnd/issues/20). Running `lncli create` to create a wallet, will by default generate the `admin.macaroon`, `read_only.macaroon`, and `macaroons.db` @@ -615,7 +615,7 @@ Notice the `[Bitcoin]` section. This section houses the parameters for the Bitcoin chain. `lnd` also supports Litecoin testnet4 (but not both BTC and LTC at the same time), so when working with Litecoin be sure to set to parameters for Litecoin accordingly. See a more detailed sample config file available -[here](https://github.com/lightningnetwork/lnd/blob/master/sample-lnd.conf) +[here](https://github.com/voltagecloud/lnd/blob/master/sample-lnd.conf) and explore the other sections for node configuration, including `[Btcd]`, `[Bitcoind]`, `[Neutrino]`, `[Ltcd]`, and `[Litecoind]` depending on which chain and node type you're using. diff --git a/docs/MAKEFILE.md b/docs/MAKEFILE.md index f02501b315..1f002af66b 100644 --- a/docs/MAKEFILE.md +++ b/docs/MAKEFILE.md @@ -162,7 +162,7 @@ Compiles the `lnrpc` proto files. `sample-conf-check` ------------------- -Checks whether all required options of `lnd --help` are included in [sample-lnd.conf](github.com/lightningnetwork/lnd/blob/master/sample-lnd.conf) and that the default values of `lnd --help` are also mentioned correctly. +Checks whether all required options of `lnd --help` are included in [sample-lnd.conf](github.com/voltagecloud/lnd/blob/master/sample-lnd.conf) and that the default values of `lnd --help` are also mentioned correctly. `scratch` --------- diff --git a/docs/code_contribution_guidelines.md b/docs/code_contribution_guidelines.md index 79f03df65c..2d5c1773b3 100644 --- a/docs/code_contribution_guidelines.md +++ b/docs/code_contribution_guidelines.md @@ -93,7 +93,7 @@ Note that the core design of the Lightning Network has shifted over time as concrete implementation and design has expanded our knowledge beyond the original white paper. Therefore, specific information outlined in the resources above may be a bit out of date. Many implementers are currently working on an -initial [Lightning Network Specifications](https://github.com/lightningnetwork/lightning-rfc). +initial [Lightning Network Specifications](https://github.com/voltagecloud/lightning-rfc). Once the specification is finalized, it will be the most up-to-date comprehensive document explaining the Lightning Network. As a result, it will be recommended for newcomers to read first in order to get up to speed. @@ -149,19 +149,19 @@ A quick summary of test practices follows: - When you fix a bug, it should be accompanied by tests which exercise the bug to both prove it has been resolved and to prevent future regressions - Changes to publicly exported packages such as - [brontide](https://github.com/lightningnetwork/lnd/tree/master/brontide) should + [brontide](https://github.com/voltagecloud/lnd/tree/master/brontide) should be accompanied by unit tests exercising the new or changed behavior. - Changes to behavior within the daemon's interaction with the P2P protocol, or RPC's will need to be accompanied by integration tests which use the - [`networkHarness`framework](https://github.com/lightningnetwork/lnd/blob/master/lntest/harness.go) + [`networkHarness`framework](https://github.com/voltagecloud/lnd/blob/master/lntest/harness.go) contained within `lnd`. For example integration tests, see - [`lnd_test.go`](https://github.com/lightningnetwork/lnd/blob/master/itest/lnd_test.go). + [`lnd_test.go`](https://github.com/voltagecloud/lnd/blob/master/itest/lnd_test.go). - The itest log files are automatically scanned for `[ERR]` lines. There shouldn't be any of those in the logs, see [Use of Log Levels](#use-of-log-levels). Throughout the process of contributing to `lnd`, you'll likely also be extensively using the commands within our `Makefile`. As a result, we recommend -[perusing the make file documentation](https://github.com/lightningnetwork/lnd/blob/master/docs/MAKEFILE.md). +[perusing the make file documentation](https://github.com/voltagecloud/lnd/blob/master/docs/MAKEFILE.md). ## Code Documentation and Commenting @@ -426,7 +426,7 @@ $ go mod edit -replace=IMPORT-PATH-IN-LND@LND-VERSION=DEV-FORK-IMPORT-PATH@DEV- Here's an example replacing the `lightning-onion` version checked into `lnd` with a version in roasbeef's fork: ```shell -$ go mod edit -replace=github.com/lightningnetwork/lightning-onion@v0.0.0-20180605012408-ac4d9da8f1d6=github.com/roasbeef/lightning-onion@2e5ae87696046298365ab43bcd1cf3a7a1d69695 +$ go mod edit -replace=github.com/voltagecloud/lightning-onion@v0.0.0-20180605012408-ac4d9da8f1d6=github.com/roasbeef/lightning-onion@2e5ae87696046298365ab43bcd1cf3a7a1d69695 ``` ## Use of Log Levels @@ -517,7 +517,7 @@ This process will continue until the code is finally accepted. Before your code is accepted, the [release notes we keep in-tree for the next upcoming milestone should be extended to describe the changes contained in your -PR](https://github.com/lightningnetwork/lnd/tree/master/docs/release-notes). +PR](https://github.com/voltagecloud/lnd/tree/master/docs/release-notes). Unless otherwise mentioned by the reviewers of your PR, the description of your changes should live in the document set for the _next_ major release. @@ -530,7 +530,7 @@ although this isn't a strong requirement (but we prefer it!). In order to keep these signatures intact, we prefer using merge commits. PR proposers can use `git rebase --signoff` to sign and rebase at the same time as a final step. -Rejoice as you will now be listed as a [contributor](https://github.com/lightningnetwork/lnd/graphs/contributors)! +Rejoice as you will now be listed as a [contributor](https://github.com/voltagecloud/lnd/graphs/contributors)! ## Review Bot @@ -571,12 +571,12 @@ default of 3 days to the given duration. ## Contribution Checklist -See [template](https://github.com/lightningnetwork/lnd/blob/master/.github/pull_request_template.md). +See [template](https://github.com/voltagecloud/lnd/blob/master/.github/pull_request_template.md). ## Licensing of Contributions **** All contributions must be licensed with the -[MIT license](https://github.com/lightningnetwork/lnd/blob/master/LICENSE). This is +[MIT license](https://github.com/voltagecloud/lnd/blob/master/LICENSE). This is the same license as all of the code found within lnd. diff --git a/docs/fuzz.md b/docs/fuzz.md index bcfc7935da..9cd68cc706 100644 --- a/docs/fuzz.md +++ b/docs/fuzz.md @@ -37,4 +37,4 @@ Several parameters can be appended to the end of the make commands to tune the b Fuzzing generally works best with a corpus that is of minimal size while achieving the maximum coverage. ## Disclosure ## -If you find any crashers that affect LND security, please disclose with the information found [here](https://github.com/lightningnetwork/lnd/#security). +If you find any crashers that affect LND security, please disclose with the information found [here](https://github.com/voltagecloud/lnd/#security). diff --git a/docs/grpc/c#.md b/docs/grpc/c#.md index 1ebebbc3d5..7d4385ef7e 100644 --- a/docs/grpc/c#.md +++ b/docs/grpc/c#.md @@ -23,7 +23,7 @@ Create a folder `Grpc` in the root of your project and fetch the lnd proto files ```shell mkdir Grpc -curl -o Grpc/lightning.proto -s https://raw.githubusercontent.com/lightningnetwork/lnd/master/lnrpc/lightning.proto +curl -o Grpc/lightning.proto -s https://raw.githubusercontent.com/voltagecloud/lnd/master/lnrpc/lightning.proto ``` Install `Grpc.Tools`, `Google.Protobuf`, `Grpc.Net.Client` using NuGet or manually with `dotnet add`: diff --git a/docs/grpc/java.md b/docs/grpc/java.md index 49535ca577..accd719d69 100644 --- a/docs/grpc/java.md +++ b/docs/grpc/java.md @@ -25,7 +25,7 @@ with lnd in Java. We'll be using Maven as our build tool. ``` Note the ***proto*** folder, where all the proto files are kept. - - [lightning.proto](https://github.com/lightningnetwork/lnd/blob/master/lnrpc/lightning.proto) + - [lightning.proto](https://github.com/voltagecloud/lnd/blob/master/lnrpc/lightning.proto) #### pom.xml ```xml diff --git a/docs/grpc/javascript.md b/docs/grpc/javascript.md index f05b7eb947..d7039a0a71 100644 --- a/docs/grpc/javascript.md +++ b/docs/grpc/javascript.md @@ -17,7 +17,7 @@ You also need to copy the `lnd` `lightning.proto` file in your project directory (or at least somewhere reachable by your Javascript code). The `lightning.proto` file is [located in the `lnrpc` directory of the `lnd` -sources](https://github.com/lightningnetwork/lnd/blob/master/lnrpc/lightning.proto). +sources](https://github.com/voltagecloud/lnd/blob/master/lnrpc/lightning.proto). ### Imports and Client diff --git a/docs/grpc/python.md b/docs/grpc/python.md index 4c0aaba18e..d215ed4924 100644 --- a/docs/grpc/python.md +++ b/docs/grpc/python.md @@ -28,10 +28,10 @@ file in Python before you can use it to communicate with lnd. lnd $ git clone https://github.com/googleapis/googleapis.git ``` 5. Copy the lnd lightning.proto file (you'll find this at - [lnrpc/lightning.proto](https://github.com/lightningnetwork/lnd/blob/master/lnrpc/lightning.proto)) + [lnrpc/lightning.proto](https://github.com/voltagecloud/lnd/blob/master/lnrpc/lightning.proto)) or just download it ```shell - lnd $ curl -o lightning.proto -s https://raw.githubusercontent.com/lightningnetwork/lnd/master/lnrpc/lightning.proto + lnd $ curl -o lightning.proto -s https://raw.githubusercontent.com/voltagecloud/lnd/master/lnrpc/lightning.proto ``` 6. Compile the proto file ```shell @@ -53,7 +53,7 @@ extra steps (after completing all 6 step described above) to get the `router_pb2.py` and `router_pb2_grpc.py`: ```shell -lnd $ curl -o router.proto -s https://raw.githubusercontent.com/lightningnetwork/lnd/master/lnrpc/routerrpc/router.proto +lnd $ curl -o router.proto -s https://raw.githubusercontent.com/voltagecloud/lnd/master/lnrpc/routerrpc/router.proto lnd $ python -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. router.proto ``` diff --git a/docs/grpc/ruby.md b/docs/grpc/ruby.md index f56e8bf914..9d9f68767b 100644 --- a/docs/grpc/ruby.md +++ b/docs/grpc/ruby.md @@ -28,7 +28,7 @@ $ git clone https://github.com/googleapis/googleapis.git Fetch the `lightning.proto` file (or copy it from your local source directory): ```shell -$ curl -o lightning.proto -s https://raw.githubusercontent.com/lightningnetwork/lnd/master/lnrpc/lightning.proto +$ curl -o lightning.proto -s https://raw.githubusercontent.com/voltagecloud/lnd/master/lnrpc/lightning.proto ``` Compile the proto file: diff --git a/docs/macaroons.md b/docs/macaroons.md index 291afdc890..55c8d6ef60 100644 --- a/docs/macaroons.md +++ b/docs/macaroons.md @@ -1,6 +1,6 @@ As part of [the `lnd` 0.3-alpha -release](https://github.com/lightningnetwork/lnd/releases/tag/v0.3-alpha), we -have addressed [issue 20](https://github.com/lightningnetwork/lnd/issues/20), +release](https://github.com/voltagecloud/lnd/releases/tag/v0.3-alpha), we +have addressed [issue 20](https://github.com/voltagecloud/lnd/issues/20), which is RPC authentication. Until this was implemented, all RPC calls to `lnd` were unauthenticated. To fix this, we've utilized [macaroons](https://research.google.com/pubs/pub41892.html), which are similar diff --git a/docs/recovery.md b/docs/recovery.md index 2e9d9f7b2a..97c62fb8c6 100644 --- a/docs/recovery.md +++ b/docs/recovery.md @@ -39,9 +39,9 @@ result, it cannot be used in isolation. ### 24-word Cipher Seeds When a new `lnd` node is created, it is given a 24-word seed phrase, called an -[`aezeed cipher seed`](https://github.com/lightningnetwork/lnd/tree/master/aezeed). +[`aezeed cipher seed`](https://github.com/voltagecloud/lnd/tree/master/aezeed). The [BIP39](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki) and -[`aezeed cipher seed`](https://github.com/lightningnetwork/lnd/tree/master/aezeed) +[`aezeed cipher seed`](https://github.com/voltagecloud/lnd/tree/master/aezeed) formats look similar, but the only commonality they share is that they use the same default [English](https://raw.githubusercontent.com/bitcoin/bips/master/bip-0039/english.txt) wordlist. @@ -350,7 +350,7 @@ Once the process has been initiated, `lnd` will proceed to: and nothing more. As a result, they're marked as "recovered" channels in the database, and we'll disallow trying to use them for any other process. 2. Once the channel shell is recovered, the - [chanbackup](https://github.com/lightningnetwork/lnd/tree/master/chanbackup) + [chanbackup](https://github.com/voltagecloud/lnd/tree/master/chanbackup) package will attempt to insert a LinkNode that contains all prior addresses that we were able to reach the peer at. During the process, we'll also insert the edge for that channel (only in the outgoing diff --git a/docs/release-notes/release-notes-0.13.1.md b/docs/release-notes/release-notes-0.13.1.md index a9c3334bab..125e74b972 100644 --- a/docs/release-notes/release-notes-0.13.1.md +++ b/docs/release-notes/release-notes-0.13.1.md @@ -3,12 +3,12 @@ ## Peer to Peer Protocol Scripts received as part of an upfront shutdown script [are now properly -sanitized](https://github.com/lightningnetwork/lnd/pull/5369) to ensure +sanitized](https://github.com/voltagecloud/lnd/pull/5369) to ensure widespread relay of potential cooperative channel closures. ## Wallet Unlocking -[A new flag has been added](https://github.com/lightningnetwork/lnd/pull/5457) +[A new flag has been added](https://github.com/voltagecloud/lnd/pull/5457) to permit users to set the new password file config while at the same time, allowing `lnd` to start up and accept new wallet initialization/creation via the RPC interface. The new wallet-unlock-allow-create option instructs lnd to not @@ -21,47 +21,47 @@ state. ## RPC Server [The `Shutdown` command will now return an -error](https://github.com/lightningnetwork/lnd/pull/5364) if one attempts to +error](https://github.com/voltagecloud/lnd/pull/5364) if one attempts to call the command while `lnd` is rescanning. New clients connecting/disconnecting to the transaction subscription stream -[are now logged](https://github.com/lightningnetwork/lnd/pull/5358). +[are now logged](https://github.com/voltagecloud/lnd/pull/5358). [The `MinConfs` param is now properly examined if the `SendAll` param is -set](https://github.com/lightningnetwork/lnd/pull/5200) for the `SendCoins` RPC +set](https://github.com/voltagecloud/lnd/pull/5200) for the `SendCoins` RPC call. [The `abandonchannel` RPC call can now be used without the `dev` build -tag](https://github.com/lightningnetwork/lnd/pull/5335). A new flag +tag](https://github.com/voltagecloud/lnd/pull/5335). A new flag `--i_know_what_i_am_doing` must be specified when using the call without the `dev` build tag active. ## Integration Test Improvements [A bug has been fixed in the `testChannelForceClosure` -test](https://github.com/lightningnetwork/lnd/pull/5348) that would cause the +test](https://github.com/voltagecloud/lnd/pull/5348) that would cause the test to assert the wrong balance (the miner fee wasn't accounted for). -A bug has been [fixed](https://github.com/lightningnetwork/lnd/pull/5674) in +A bug has been [fixed](https://github.com/voltagecloud/lnd/pull/5674) in the `lntest` package that prevented multiple test harnesses to be created from the same process. ## Forwarding Optimizations [Decoding onion blobs is now done in -parallel](https://github.com/lightningnetwork/lnd/pull/5248) when decoding the +parallel](https://github.com/voltagecloud/lnd/pull/5248) when decoding the routing information for several HTLCs as once. ## Build System The [`monitoring` build tag is now on by -default](https://github.com/lightningnetwork/lnd/pull/5399) for all routine +default](https://github.com/voltagecloud/lnd/pull/5399) for all routine builds. ## Deadline Aware in Anchor Sweeping Anchor sweeping is now [deadline -aware](https://github.com/lightningnetwork/lnd/pull/5148). Previously, all +aware](https://github.com/voltagecloud/lnd/pull/5148). Previously, all anchor sweepings use a default conf target of 6, which is likely to cause overpaying miner fees since the CLTV values of the HTLCs are far in the future. Brought by this update, the anchor sweeping (particularly local force close) @@ -74,37 +74,37 @@ construction. An optimization intended to speed up the payment critical path by eliminating an extra RPC call [has been -reverted](https://github.com/lightningnetwork/lnd/pull/5404) as it +reverted](https://github.com/voltagecloud/lnd/pull/5404) as it introduced a regression that would cause payment failure due to mismatching heights. [A bug has been fixed that would previously cause any HTLCs settled using the `HltcInteceptor` API calls to always be re-forwarded on start -up](https://github.com/lightningnetwork/lnd/pull/5280). +up](https://github.com/voltagecloud/lnd/pull/5280). [A bug has been fixed in the parameter parsing for the `lncli` PSBT funding -call](https://github.com/lightningnetwork/lnd/pull/5441). Prior to this bug +call](https://github.com/voltagecloud/lnd/pull/5441). Prior to this bug fix, the sat/vb param was ignored due to a default value for `conf_target`. [A bug has been fixed that would prevent nodes that had anchor channels opening from accepting any new inbound "legacy" -channels](https://github.com/lightningnetwork/lnd/pull/5428). +channels](https://github.com/voltagecloud/lnd/pull/5428). [A bug has been fixed cause an `lncli` command to fail with on opaque error when the referenced TLS cert file doesn't -exist](https://github.com/lightningnetwork/lnd/pull/5416). +exist](https://github.com/voltagecloud/lnd/pull/5416). [When `lnd` receives an HTLC failure message sourced from a private channel, we'll now properly apply the update to the internal hop hints using during path -finding](https://github.com/lightningnetwork/lnd/pull/5332). +finding](https://github.com/voltagecloud/lnd/pull/5332). [A regression has been fixed that caused `keysend` payments on the "legacy" RPC server to fail due to newly added AMP -logic](https://github.com/lightningnetwork/lnd/pull/5419). +logic](https://github.com/voltagecloud/lnd/pull/5419). The `ListLeases` call that was introduced in 0.13.0 also listed leases that were already expired. Only when `lnd` is restarted, these leases were cleaned up. We -now [filter out](https://github.com/lightningnetwork/lnd/pull/5472) the expired +now [filter out](https://github.com/voltagecloud/lnd/pull/5472) the expired leases. # Contributors (Alphabetical Order) diff --git a/docs/release-notes/release-notes-0.13.2.md b/docs/release-notes/release-notes-0.13.2.md index f76cbedc83..b34339e429 100644 --- a/docs/release-notes/release-notes-0.13.2.md +++ b/docs/release-notes/release-notes-0.13.2.md @@ -11,7 +11,7 @@ or `sendpayment` command. [A bug has been fixed in the command line argument parsing for the `sendpayment` command that previously prevented users from being able to re-use a fully -specified AMP](https://github.com/lightningnetwork/lnd/pull/5554) invoice by +specified AMP](https://github.com/voltagecloud/lnd/pull/5554) invoice by generating a new `pay_addr` and including it as a CLI arg. # Contributors (Alphabetical Order) diff --git a/docs/release-notes/release-notes-0.13.3.md b/docs/release-notes/release-notes-0.13.3.md index e1a2a28903..4b770975a2 100644 --- a/docs/release-notes/release-notes-0.13.3.md +++ b/docs/release-notes/release-notes-0.13.3.md @@ -2,11 +2,11 @@ ## Wallet -* [The `DefaultDustLimit` method has been removed in favor of `DustLimitForSize` which calculates the proper network dust limit for a given output size. This also fixes certain APIs like SendCoins to be able to send 294 sats to a P2WPKH script.](https://github.com/lightningnetwork/lnd/pull/5781) +* [The `DefaultDustLimit` method has been removed in favor of `DustLimitForSize` which calculates the proper network dust limit for a given output size. This also fixes certain APIs like SendCoins to be able to send 294 sats to a P2WPKH script.](https://github.com/voltagecloud/lnd/pull/5781) ## Safety -* [The `htlcswitch.Switch` has been modified to take into account the total dust sum on the incoming and outgoing channels before forwarding. After the defined threshold is reached, dust HTLC's will start to be failed. The default threshold is 500K satoshis and can be modified by setting `--dust-threshold=` when running `lnd`.](https://github.com/lightningnetwork/lnd/pull/5770) +* [The `htlcswitch.Switch` has been modified to take into account the total dust sum on the incoming and outgoing channels before forwarding. After the defined threshold is reached, dust HTLC's will start to be failed. The default threshold is 500K satoshis and can be modified by setting `--dust-threshold=` when running `lnd`.](https://github.com/voltagecloud/lnd/pull/5770) # Contributors (Alphabetical Order) diff --git a/docs/release-notes/release-notes-0.14.0.md b/docs/release-notes/release-notes-0.14.0.md index 3b6bd0fce2..4cd7e1d789 100644 --- a/docs/release-notes/release-notes-0.14.0.md +++ b/docs/release-notes/release-notes-0.14.0.md @@ -12,12 +12,12 @@ flag. ### Onion service The Onion service created upon lnd startup is [now deleted during lnd shutdown -using `DEL_ONION`](https://github.com/lightningnetwork/lnd/pull/5794). +using `DEL_ONION`](https://github.com/voltagecloud/lnd/pull/5794). ### Tor connection A new health check, tor connection, [is added to lnd's liveness monitor upon -startup](https://github.com/lightningnetwork/lnd/pull/5794). This check will +startup](https://github.com/voltagecloud/lnd/pull/5794). This check will ensure the liveness of the connection between the Tor daemon and lnd's tor controller. To enable it, please use the following flags, ``` @@ -34,7 +34,7 @@ Read more about the usage of the flags in the `sample-lnd.conf`. [In this release, we implement a long discussed mechanism to use the Lightning Network as a redundant block header -source](https://github.com/lightningnetwork/lnd/pull/5621). By sending our +source](https://github.com/voltagecloud/lnd/pull/5621). By sending our latest block header with each ping message, we give peers another source (outside of the Bitcoin P2P network) they can use to spot check their chain state. Peers can also use this information to detect if they've been eclipsed @@ -52,17 +52,17 @@ last ping message the peer has sent to us. ### Full remote database support `lnd` now stores [all its data in the same remote/external -database](https://github.com/lightningnetwork/lnd/pull/5484) such as `etcd` +database](https://github.com/voltagecloud/lnd/pull/5484) such as `etcd` instead of only the channel state and wallet data. This makes `lnd` fully stateless and therefore makes switching over to a new leader instance almost instantaneous. Read the [guide on leader -election](https://github.com/lightningnetwork/lnd/blob/master/docs/leader_election.md) +election](https://github.com/voltagecloud/lnd/blob/master/docs/leader_election.md) for more information. ### Postgres database support This release adds [support for Postgres as a database -backend](https://github.com/lightningnetwork/lnd/pull/5366) to lnd. Postgres +backend](https://github.com/voltagecloud/lnd/pull/5366) to lnd. Postgres has several advantages over the default bbolt backend: * Better handling of large data sets. * On-the-fly database compaction (auto vacuum). @@ -84,7 +84,7 @@ Instructions for enabling Postgres can be found in Finding a path through the channel graph for sending a payment doesn't involve any database queries anymore. The [channel graph is now kept fully -in-memory](https://github.com/lightningnetwork/lnd/pull/5642) for up a massive +in-memory](https://github.com/voltagecloud/lnd/pull/5642) for up a massive performance boost when calling `QueryRoutes` or any of the `SendPayment` variants. Keeping the full graph in memory naturally comes with increased RAM usage. Users running `lnd` on low-memory systems are advised to run with the @@ -92,7 +92,7 @@ usage. Users running `lnd` on low-memory systems are advised to run with the removes zombie channels from the graph, reducing the number of channels that need to be kept in memory. -There is a [fallback option](https://github.com/lightningnetwork/lnd/pull/5840) +There is a [fallback option](https://github.com/voltagecloud/lnd/pull/5840) `db.no-graph-cache=true` that can be used when running a Bolt (`bbolt`) based database backend. Using the database for path finding is considerably slower than using the in-memory graph cache but uses less RAM. The fallback option is @@ -105,19 +105,19 @@ operations. ### Explicit Channel Negotiation [A new protocol extension has been added known as explicit channel -negotiation](https://github.com/lightningnetwork/lnd/pull/5669). This allows a +negotiation](https://github.com/voltagecloud/lnd/pull/5669). This allows a channel initiator to signal their desired channel type to use with the remote peer. If the remote peer supports said channel type and agrees, the previous implicit negotiation based on the shared set of feature bits is bypassed, and the proposed channel type is used. [Feature bits 44/45 are used to -signal](https://github.com/lightningnetwork/lnd/pull/5874) this new feature. +signal](https://github.com/voltagecloud/lnd/pull/5874) this new feature. ### Script Enforced Channel Leases [A new channel commitment type that builds upon the recently introduced anchors commitment format has been introduced to back channel leases resulting from -Lightning Pool](https://github.com/lightningnetwork/lnd/pull/5709). This new +Lightning Pool](https://github.com/voltagecloud/lnd/pull/5709). This new channel commitment type features an additional spend requirement on any commitment and HTLC outputs that pay directly to the channel initiator. The channel initiator must now wait for the channel lease maturity, expressed as an @@ -128,7 +128,7 @@ details. ### Re-Usable Static AMP Invoices [AMP invoices are now fully re-usable, meaning it's possible for an `lnd` node -to use a static AMP invoice multiple times](https://github.com/lightningnetwork/lnd/pull/5803). +to use a static AMP invoice multiple times](https://github.com/voltagecloud/lnd/pull/5803). An AMP invoice can be created by adding the `--amp` flag to `lncli addinvoice`. From there repeated payments can be made to the invoice using `lncli payinvoice`. On the receiver side, notifications will still come in as normal, @@ -150,47 +150,47 @@ the custom records (or other details) of the prior payment attempts. ## RPC Server * [Return payment address and add index from - addholdinvoice call](https://github.com/lightningnetwork/lnd/pull/5533). + addholdinvoice call](https://github.com/voltagecloud/lnd/pull/5533). * [The versions of several gRPC related libraries were bumped and the main `rpc.proto` was renamed to - `lightning.proto`](https://github.com/lightningnetwork/lnd/pull/5473) to fix + `lightning.proto`](https://github.com/voltagecloud/lnd/pull/5473) to fix a warning related to protobuf file name collisions. * [Stub code for interacting with `lnrpc` from a WASM context through JSON - messages was added](https://github.com/lightningnetwork/lnd/pull/5601). + messages was added](https://github.com/voltagecloud/lnd/pull/5601). * The updatechanpolicy call now [detects invalid and pending channels, and - returns a policy update failure report](https://github.com/lightningnetwork/lnd/pull/5405). + returns a policy update failure report](https://github.com/voltagecloud/lnd/pull/5405). -* LND now [reports to systemd](https://github.com/lightningnetwork/lnd/pull/5536) +* LND now [reports to systemd](https://github.com/voltagecloud/lnd/pull/5536) that RPC is ready (port bound, certificate generated, macaroons created, in case of `wallet-unlock-password-file` wallet unlocked). This can be used to avoid misleading error messages from dependent services if they use `After` systemd option. -* [Delete a specific payment, or its failed HTLCs](https://github.com/lightningnetwork/lnd/pull/5660). +* [Delete a specific payment, or its failed HTLCs](https://github.com/voltagecloud/lnd/pull/5660). -* A new state, [`WalletState_SERVER_ACTIVE`](https://github.com/lightningnetwork/lnd/pull/5637), +* A new state, [`WalletState_SERVER_ACTIVE`](https://github.com/voltagecloud/lnd/pull/5637), is added to the state server. This state indicates whether the `lnd` server and all its subservers have been fully started or not. -* [Adds an option to the BakeMacaroon rpc "allow-external-permissions,"](https://github.com/lightningnetwork/lnd/pull/5304) which makes it possible to bake a macaroon with external permissions. That way, the baked macaroons can be used for services beyond LND. Also adds a new CheckMacaroonPermissions rpc that checks that the macaroon permissions and other restrictions are being followed. It can also check permissions not native to LND. +* [Adds an option to the BakeMacaroon rpc "allow-external-permissions,"](https://github.com/voltagecloud/lnd/pull/5304) which makes it possible to bake a macaroon with external permissions. That way, the baked macaroons can be used for services beyond LND. Also adds a new CheckMacaroonPermissions rpc that checks that the macaroon permissions and other restrictions are being followed. It can also check permissions not native to LND. * [A new RPC middleware - interceptor](https://github.com/lightningnetwork/lnd/pull/5101) was added that + interceptor](https://github.com/voltagecloud/lnd/pull/5101) was added that allows external tools to hook into `lnd`'s RPC server and intercept any requests made with custom macaroons (and also the responses to those requests). -* [Adds NOT_FOUND status code for LookupInvoice](https://github.com/lightningnetwork/lnd/pull/5768) +* [Adds NOT_FOUND status code for LookupInvoice](https://github.com/voltagecloud/lnd/pull/5768) * The `FundingPsbtFinalize` step is a safety measure that assures the final signed funding transaction has the same TXID as was registered during the funding flow and was used for the commitment transactions. This step is cumbersome to use if the whole funding process is completed external to lnd. [We allow the finalize step to be - skipped](https://github.com/lightningnetwork/lnd/pull/5363) for such cases. + skipped](https://github.com/voltagecloud/lnd/pull/5363) for such cases. The API user/script will need to make sure things are verified (and possibly cleaned up) properly. An example script was added to the [PSBT documentation](../psbt.md) to show the simplified process. @@ -198,7 +198,7 @@ the custom records (or other details) of the prior payment attempts. ### Batched channel funding [Multiple channels can now be opened in a single -transaction](https://github.com/lightningnetwork/lnd/pull/5356) in a safer and +transaction](https://github.com/voltagecloud/lnd/pull/5356) in a safer and more straightforward way by using the `BatchOpenChannel` RPC or the command line version of that RPC called `lncli batchopenchannel`. More information can be found in the [PSBT @@ -207,23 +207,23 @@ documentation](../psbt.md#use-the-batchopenchannel-rpc-for-safe-batch-channel-fu ## Wallet * It is now possible to fund a psbt [without specifying any - outputs](https://github.com/lightningnetwork/lnd/pull/5442). This option is + outputs](https://github.com/voltagecloud/lnd/pull/5442). This option is useful for CPFP bumping of unconfirmed outputs or general utxo consolidation. * The internal wallet can now also be created or restored by using an [extended master root key (`xprv`) instead of an - `aezeed`](https://github.com/lightningnetwork/lnd/pull/4717) only. This allows + `aezeed`](https://github.com/voltagecloud/lnd/pull/4717) only. This allows wallet integrators to use existing seed mechanism that might already be in place. **It is still not supported to use the same seed/root key on multiple `lnd` instances simultaneously** though. * [Publish transaction is now reachable through - lncli](https://github.com/lightningnetwork/lnd/pull/5460). + lncli](https://github.com/voltagecloud/lnd/pull/5460). * Prior to this release, when running on `simnet` or `regtest`, `lnd` would skip the check on wallet synchronization during its startup. In doing so, the integration test can bypass the rule set by `bitcoind`, which considers the node is out of sync when the last block is older than 2 hours([more - discussion](https://github.com/lightningnetwork/lnd/pull/4685#discussion_r503080709)). + discussion](https://github.com/voltagecloud/lnd/pull/4685#discussion_r503080709)). This synchronization check is put back now as we want to make the integration test more robust in catching real world situations. This also means it might take longer to start a `lnd` node when running in `simnet` or `regtest`, @@ -233,14 +233,14 @@ documentation](../psbt.md#use-the-batchopenchannel-rpc-for-safe-batch-channel-fu It is now possible to delegate any operation that needs access to private keys to a [remote signer that serves signing requests over -RPC](https://github.com/lightningnetwork/lnd/pull/5689). More information can be +RPC](https://github.com/voltagecloud/lnd/pull/5689). More information can be found [in the new remote signing document](../remote-signing.md). ## Security * The release signature verification script [was overhauled to fix some possible attack vectors and user - errors](https://github.com/lightningnetwork/lnd/pull/5053). The public keys + errors](https://github.com/voltagecloud/lnd/pull/5053). The public keys used to verify the signatures against are no longer downloaded form Keybase but instead are kept in the `lnd` git repository. This allows for a more transparent way of keeping track of changes to the signing keys. @@ -248,7 +248,7 @@ found [in the new remote signing document](../remote-signing.md). ### Admin macaroon permissions The default file permissions of admin.macaroon were [changed from 0600 to -0640](https://github.com/lightningnetwork/lnd/pull/5534). This makes it easier +0640](https://github.com/voltagecloud/lnd/pull/5534). This makes it easier to allow other users to manage LND. This is safe on common Unix systems because they always create a new group for each user. @@ -266,7 +266,7 @@ The lightning spec however also defines a custom range (>= 32768) for experimental and application-specific peer messages. With this release, [custom peer message -exchange](https://github.com/lightningnetwork/lnd/pull/5346) is added to open up +exchange](https://github.com/voltagecloud/lnd/pull/5346) is added to open up a range of new possibilities. Custom peer messages allow the lightning protocol with its transport mechanisms (including tor) and public key authentication to be leveraged for application-level communication. Note that peers exchange these @@ -275,73 +275,73 @@ messages directly. There is no routing/path finding involved. # Safety * Locally force closed channels are now [kept in the channel.backup file until - their time lock has fully matured](https://github.com/lightningnetwork/lnd/pull/5528). + their time lock has fully matured](https://github.com/voltagecloud/lnd/pull/5528). -* [Cooperative closes optimistically shutdown the associated `link` before closing the channel.](https://github.com/lightningnetwork/lnd/pull/5618) +* [Cooperative closes optimistically shutdown the associated `link` before closing the channel.](https://github.com/voltagecloud/lnd/pull/5618) ## Build System -* [The illumos operating system has been dropped from the set of release binaries. We now also build with postgres and etcd in the main release binaries](https://github.com/lightningnetwork/lnd/pull/5985). +* [The illumos operating system has been dropped from the set of release binaries. We now also build with postgres and etcd in the main release binaries](https://github.com/voltagecloud/lnd/pull/5985). * [A new pre-submit check has been - added](https://github.com/lightningnetwork/lnd/pull/5520) to ensure that all + added](https://github.com/voltagecloud/lnd/pull/5520) to ensure that all PRs ([aside from merge - commits](https://github.com/lightningnetwork/lnd/pull/5543)) add an entry in + commits](https://github.com/voltagecloud/lnd/pull/5543)) add an entry in the release notes folder that at least links to PR being added. -* [A new build target itest-race](https://github.com/lightningnetwork/lnd/pull/5542) +* [A new build target itest-race](https://github.com/voltagecloud/lnd/pull/5542) to help uncover undetected data races with our itests. * [The itest error whitelist check was removed to reduce the number of failed - Travis builds](https://github.com/lightningnetwork/lnd/pull/5588). + Travis builds](https://github.com/voltagecloud/lnd/pull/5588). * [A flake in the Neutrino integration tests with anchor sweeps was - addressed](https://github.com/lightningnetwork/lnd/pull/5509). + addressed](https://github.com/voltagecloud/lnd/pull/5509). -* [The `lnwire` fuzz tests have been fixed and now run without crashing.](https://github.com/lightningnetwork/lnd/pull/5395) +* [The `lnwire` fuzz tests have been fixed and now run without crashing.](https://github.com/voltagecloud/lnd/pull/5395) * [A flake in the race unit - tests](https://github.com/lightningnetwork/lnd/pull/5659) was addressed that + tests](https://github.com/voltagecloud/lnd/pull/5659) was addressed that lead to failed tests sometimes when the CPU of the GitHub CI runner was strained too much. * [Reduce the number of parallel itest runs to 2 on - ARM](https://github.com/lightningnetwork/lnd/pull/5731). + ARM](https://github.com/voltagecloud/lnd/pull/5731). -* [Fix Travis itest parallelism](https://github.com/lightningnetwork/lnd/pull/5734) +* [Fix Travis itest parallelism](https://github.com/voltagecloud/lnd/pull/5734) * [All CI, containers, and automated release artifact building now all use Go - 1.17.1](https://github.com/lightningnetwork/lnd/pull/5650). All build tags have + 1.17.1](https://github.com/voltagecloud/lnd/pull/5650). All build tags have been updated accordingly to comply with the new Go 1.17.1 requirements. * [All integration tests (except the ARM itests) were moved from Travis CI to - GitHub Actions](https://github.com/lightningnetwork/lnd/pull/5811). + GitHub Actions](https://github.com/voltagecloud/lnd/pull/5811). * [The LndMobile iOS build has been updated to work - with newer gomobile versions](https://github.com/lightningnetwork/lnd/pull/5842) + with newer gomobile versions](https://github.com/voltagecloud/lnd/pull/5842) that output in the `xcframework` packaging format. Applications that use the iOS build will have to be updated to include an `xcframework` instead of a `framework`. -* [Upgrade the sub packages to 1.16](https://github.com/lightningnetwork/lnd/pull/5813) +* [Upgrade the sub packages to 1.16](https://github.com/voltagecloud/lnd/pull/5813) -* [CI has been upgraded to build against bitcoind 22.0](https://github.com/lightningnetwork/lnd/pull/5928) +* [CI has been upgraded to build against bitcoind 22.0](https://github.com/voltagecloud/lnd/pull/5928) -* [Update to the latest neutrino version](https://github.com/lightningnetwork/lnd/pull/5933) +* [Update to the latest neutrino version](https://github.com/voltagecloud/lnd/pull/5933) ## Documentation * [Outdated warning about unsupported pruning was replaced with clarification that LND **does** - support pruning](https://github.com/lightningnetwork/lnd/pull/5553). + support pruning](https://github.com/voltagecloud/lnd/pull/5553). -* [Clarified 'ErrReservedValueInvalidated' error string](https://github.com/lightningnetwork/lnd/pull/5577) +* [Clarified 'ErrReservedValueInvalidated' error string](https://github.com/voltagecloud/lnd/pull/5577) to explain that the error is triggered by a transaction that would deplete funds already reserved for potential future anchor channel closings (via CPFP) and that more information (e.g., specific sat amounts) can be found in the debug logs. -* [Updated C# grpc docs to use Grpc.Net.Client](https://github.com/lightningnetwork/lnd/pull/5766). +* [Updated C# grpc docs to use Grpc.Net.Client](https://github.com/voltagecloud/lnd/pull/5766). The Grpc.Core NuGet package is in maintenance mode. Grpc.Net.Client is now the [recommended](https://github.com/grpc/grpc-dotnet#grpc-for-net-is-now-the-recommended-implementation) implementation. @@ -351,232 +351,232 @@ messages directly. There is no routing/path finding involved. * The direct use of certain syscalls in packages such as `bbolt` or `lnd`'s own `healthcheck` package made it impossible to import `lnd` code as a library into projects that are compiled to WASM binaries. [That problem was fixed by - guarding those syscalls with build tags](https://github.com/lightningnetwork/lnd/pull/5526). + guarding those syscalls with build tags](https://github.com/voltagecloud/lnd/pull/5526). * The only way to retrieve hophints for a given node was to create an invoice with the `addInvoice` rpc interface. However, now the function has been - [exposed in the go package `invoicesrpc`](https://github.com/lightningnetwork/lnd/pull/5697). + [exposed in the go package `invoicesrpc`](https://github.com/voltagecloud/lnd/pull/5697). * The `DeleteAllPayments` and `DeletePayment` RPC methods can now be called from the command line with the [new - `lncli deletepayments`](https://github.com/lightningnetwork/lnd/pull/5699) + `lncli deletepayments`](https://github.com/voltagecloud/lnd/pull/5699) command. * [Add more verbose error printed to - console](https://github.com/lightningnetwork/lnd/pull/5802) when `lnd` fails + console](https://github.com/voltagecloud/lnd/pull/5802) when `lnd` fails loading the user specified config. -* [Make it possible to add more than one RPC Listener when calling lnd.Main](https://github.com/lightningnetwork/lnd/pull/5777). And +* [Make it possible to add more than one RPC Listener when calling lnd.Main](https://github.com/voltagecloud/lnd/pull/5777). And add MacChan field for passing back lnd's admin macaroon back to the program calling lnd, when needed. -* [The `--amp-reuse` CLI flag has been removed as the latest flavor of AMP now natively supports static invoices](https://github.com/lightningnetwork/lnd/pull/5991) +* [The `--amp-reuse` CLI flag has been removed as the latest flavor of AMP now natively supports static invoices](https://github.com/voltagecloud/lnd/pull/5991) -* Using `go get` to install go executables is now deprecated. Migrate to `go install` our lnrpc proto dockerfile [Migrate `go get` to `go install`](https://github.com/lightningnetwork/lnd/pull/5879) +* Using `go get` to install go executables is now deprecated. Migrate to `go install` our lnrpc proto dockerfile [Migrate `go get` to `go install`](https://github.com/voltagecloud/lnd/pull/5879) -* [The premature update map has been revamped using an LRU cache](https://github.com/lightningnetwork/lnd/pull/5902) +* [The premature update map has been revamped using an LRU cache](https://github.com/voltagecloud/lnd/pull/5902) ## Code Health ### Code cleanup, refactor, typo fixes -* [Fix logging typo to log channel point on cooperative closes](https://github.com/lightningnetwork/lnd/pull/5881) +* [Fix logging typo to log channel point on cooperative closes](https://github.com/voltagecloud/lnd/pull/5881) -* [Refactor the interaction between the `htlcswitch` and `peer` packages for cleaner separation.](https://github.com/lightningnetwork/lnd/pull/5603) +* [Refactor the interaction between the `htlcswitch` and `peer` packages for cleaner separation.](https://github.com/voltagecloud/lnd/pull/5603) -* [Moved the original breach handling and timelock UTXO handling into the contract court package](https://github.com/lightningnetwork/lnd/pull/5745) +* [Moved the original breach handling and timelock UTXO handling into the contract court package](https://github.com/voltagecloud/lnd/pull/5745) * [Unused error check - removed](https://github.com/lightningnetwork/lnd/pull/5537). + removed](https://github.com/voltagecloud/lnd/pull/5537). * [Shorten Pull Request check list by referring to the CI checks that are - in place](https://github.com/lightningnetwork/lnd/pull/5545). + in place](https://github.com/voltagecloud/lnd/pull/5545). -* [Added minor fixes to contribution guidelines](https://github.com/lightningnetwork/lnd/pull/5503). +* [Added minor fixes to contribution guidelines](https://github.com/voltagecloud/lnd/pull/5503). -* [Fixed typo in `dest_custom_records` description comment](https://github.com/lightningnetwork/lnd/pull/5541). +* [Fixed typo in `dest_custom_records` description comment](https://github.com/voltagecloud/lnd/pull/5541). -* [Fixed payment test error message.](https://github.com/lightningnetwork/lnd/pull/5559) +* [Fixed payment test error message.](https://github.com/voltagecloud/lnd/pull/5559) * [Bumped version of `github.com/miekg/dns` library to fix a Dependabot - alert](https://github.com/lightningnetwork/lnd/pull/5576). + alert](https://github.com/voltagecloud/lnd/pull/5576). -* [Fixed timeout flakes in async payment benchmark tests](https://github.com/lightningnetwork/lnd/pull/5579). +* [Fixed timeout flakes in async payment benchmark tests](https://github.com/voltagecloud/lnd/pull/5579). * [State, subscribechannelevents, subscribepeerevents, subscribeinvoices, subscribetransactions, - subscribechannelgraph and subscribechannelbackups no longer logs certain errors](https://github.com/lightningnetwork/lnd/pull/5695). + subscribechannelgraph and subscribechannelbackups no longer logs certain errors](https://github.com/voltagecloud/lnd/pull/5695). -* [Flake fix in async bidirectional payment test](https://github.com/lightningnetwork/lnd/pull/5607). +* [Flake fix in async bidirectional payment test](https://github.com/voltagecloud/lnd/pull/5607). -* [Fixed context timeout when closing channels in tests](https://github.com/lightningnetwork/lnd/pull/5616). +* [Fixed context timeout when closing channels in tests](https://github.com/voltagecloud/lnd/pull/5616). -* [Fixed transaction not found in mempool flake in commitment deadline itest](https://github.com/lightningnetwork/lnd/pull/5615). +* [Fixed transaction not found in mempool flake in commitment deadline itest](https://github.com/voltagecloud/lnd/pull/5615). -* [Fixed a missing import and git tag in the healthcheck package](https://github.com/lightningnetwork/lnd/pull/5582). +* [Fixed a missing import and git tag in the healthcheck package](https://github.com/voltagecloud/lnd/pull/5582). -* [Fixed a data race in payment unit test](https://github.com/lightningnetwork/lnd/pull/5573). +* [Fixed a data race in payment unit test](https://github.com/voltagecloud/lnd/pull/5573). -* [Missing dots in cmd interface](https://github.com/lightningnetwork/lnd/pull/5535). +* [Missing dots in cmd interface](https://github.com/voltagecloud/lnd/pull/5535). -* [Link channel point logging](https://github.com/lightningnetwork/lnd/pull/5508). +* [Link channel point logging](https://github.com/voltagecloud/lnd/pull/5508). -* [Canceling the chain notifier no longer logs certain errors](https://github.com/lightningnetwork/lnd/pull/5676). +* [Canceling the chain notifier no longer logs certain errors](https://github.com/voltagecloud/lnd/pull/5676). * [Fixed context leak in integration tests, and properly handled context - timeout](https://github.com/lightningnetwork/lnd/pull/5646). + timeout](https://github.com/voltagecloud/lnd/pull/5646). -* [Removed nested db tx](https://github.com/lightningnetwork/lnd/pull/5643). +* [Removed nested db tx](https://github.com/voltagecloud/lnd/pull/5643). -* [Fixed wallet recovery itests on Travis ARM](https://github.com/lightningnetwork/lnd/pull/5688). +* [Fixed wallet recovery itests on Travis ARM](https://github.com/voltagecloud/lnd/pull/5688). -* [Integration tests save embedded etcd logs to help debugging flakes](https://github.com/lightningnetwork/lnd/pull/5702). +* [Integration tests save embedded etcd logs to help debugging flakes](https://github.com/voltagecloud/lnd/pull/5702). -* [Replace reference to JWT library with CVE](https://github.com/lightningnetwork/lnd/pull/5737) +* [Replace reference to JWT library with CVE](https://github.com/voltagecloud/lnd/pull/5737) -* [Replace reference to XZ library with CVE](https://github.com/lightningnetwork/lnd/pull/5789) +* [Replace reference to XZ library with CVE](https://github.com/voltagecloud/lnd/pull/5789) -* [Replace reference to mongo library with CVE](https://github.com/lightningnetwork/lnd/pull/5761) +* [Replace reference to mongo library with CVE](https://github.com/voltagecloud/lnd/pull/5761) -* [Fixed restore backup file test flake with bitcoind](https://github.com/lightningnetwork/lnd/pull/5637). +* [Fixed restore backup file test flake with bitcoind](https://github.com/voltagecloud/lnd/pull/5637). -* [Timing fix in AMP itest](https://github.com/lightningnetwork/lnd/pull/5725). +* [Timing fix in AMP itest](https://github.com/voltagecloud/lnd/pull/5725). -* [Upgraded miekg/dns to improve the security posture](https://github.com/lightningnetwork/lnd/pull/5738). +* [Upgraded miekg/dns to improve the security posture](https://github.com/voltagecloud/lnd/pull/5738). -* [server.go: dedupe pubkey output in debug/log msgs](https://github.com/lightningnetwork/lnd/pull/5722). +* [server.go: dedupe pubkey output in debug/log msgs](https://github.com/voltagecloud/lnd/pull/5722). -* [Fixed flakes caused by graph topology subcription](https://github.com/lightningnetwork/lnd/pull/5611). +* [Fixed flakes caused by graph topology subcription](https://github.com/voltagecloud/lnd/pull/5611). -* [Order of the start/stop on subsystems are changed to promote better safety](https://github.com/lightningnetwork/lnd/pull/1783). +* [Order of the start/stop on subsystems are changed to promote better safety](https://github.com/voltagecloud/lnd/pull/1783). -* [Fixed flake that occurred when testing the new optimistic link shutdown.](https://github.com/lightningnetwork/lnd/pull/5808) +* [Fixed flake that occurred when testing the new optimistic link shutdown.](https://github.com/voltagecloud/lnd/pull/5808) -* [Respect minimum relay fee during commitment fee updates](https://github.com/lightningnetwork/lnd/pull/5483). +* [Respect minimum relay fee during commitment fee updates](https://github.com/voltagecloud/lnd/pull/5483). -* [Replace reference to protobuf library with OSV](https://github.com/lightningnetwork/lnd/pull/5759) +* [Replace reference to protobuf library with OSV](https://github.com/voltagecloud/lnd/pull/5759) * [Only upload itest logs on failure, fix more - flakes](https://github.com/lightningnetwork/lnd/pull/5833). + flakes](https://github.com/voltagecloud/lnd/pull/5833). * [The interfaces for signing messages and the code for initializing a wallet was refactored as a preparation for supporting remote - signing](https://github.com/lightningnetwork/lnd/pull/5708). + signing](https://github.com/voltagecloud/lnd/pull/5708). -* [Include htlc amount in bandwidth hints](https://github.com/lightningnetwork/lnd/pull/5512). +* [Include htlc amount in bandwidth hints](https://github.com/voltagecloud/lnd/pull/5512). * [Fix REST/WebSocket API itest that lead to overall test - timeout](https://github.com/lightningnetwork/lnd/pull/5845). + timeout](https://github.com/voltagecloud/lnd/pull/5845). -* [Fix missing label on sweep transactions](https://github.com/lightningnetwork/lnd/pull/5895). +* [Fix missing label on sweep transactions](https://github.com/voltagecloud/lnd/pull/5895). -* [Fixed flake that occurred with the switch dust forwarding test under the data race unit build.](https://github.com/lightningnetwork/lnd/pull/5828) +* [Fixed flake that occurred with the switch dust forwarding test under the data race unit build.](https://github.com/voltagecloud/lnd/pull/5828) -* [Run channeldb tests on postgres](https://github.com/lightningnetwork/lnd/pull/5550) +* [Run channeldb tests on postgres](https://github.com/voltagecloud/lnd/pull/5550) * [Fixed two flakes in itests that were caused by things progressing too - fast](https://github.com/lightningnetwork/lnd/pull/5905). + fast](https://github.com/voltagecloud/lnd/pull/5905). * [Fixes two issues around configuration parsing and error - logging](https://github.com/lightningnetwork/lnd/pull/5948). + logging](https://github.com/voltagecloud/lnd/pull/5948). ## Database * [Ensure single writer for legacy - code](https://github.com/lightningnetwork/lnd/pull/5547) when using etcd + code](https://github.com/voltagecloud/lnd/pull/5547) when using etcd backend. * When starting/restarting, `lnd` will [clean forwarding packages, payment - circuits and keystones](https://github.com/lightningnetwork/lnd/pull/4364) + circuits and keystones](https://github.com/voltagecloud/lnd/pull/4364) for closed channels, which will potentially free up disk space for long running nodes that have lots of closed channels. -* [Optimized payment sequence generation](https://github.com/lightningnetwork/lnd/pull/5514/) +* [Optimized payment sequence generation](https://github.com/voltagecloud/lnd/pull/5514/) to make LNDs payment throughput (and latency) with better when using etcd. -* [More robust commit queue design](https://github.com/lightningnetwork/lnd/pull/5513) +* [More robust commit queue design](https://github.com/voltagecloud/lnd/pull/5513) to make it less likely that we retry etcd transactions and make the commit queue more scalable. -* [Flatten the payment-htlcs-bucket](https://github.com/lightningnetwork/lnd/pull/5635) +* [Flatten the payment-htlcs-bucket](https://github.com/voltagecloud/lnd/pull/5635) in order to make it possible to prefetch all htlc attempts of a payment in one DB operation. Migration may fail for extremely large DBs with many payments (10+ million). Be careful and backup your `channel.db` if you have that many payments. Deleting all failed payments beforehand makes migration safer and faster too. -* [Prefetch payments on hot paths](https://github.com/lightningnetwork/lnd/pull/5640) +* [Prefetch payments on hot paths](https://github.com/voltagecloud/lnd/pull/5640) to reduce roundtrips to the remote DB backend. ## Performance improvements -* [Update MC store in blocks](https://github.com/lightningnetwork/lnd/pull/5515) +* [Update MC store in blocks](https://github.com/voltagecloud/lnd/pull/5515) to make payment throughput better when using etcd. -* [The `lnwire` package now uses a write buffer pool](https://github.com/lightningnetwork/lnd/pull/4884) +* [The `lnwire` package now uses a write buffer pool](https://github.com/voltagecloud/lnd/pull/4884) when encoding/decoding messages. Such that most of the heap escapes are fixed, resulting in less memory being used when running `lnd`. * [`lnd` will now no longer (in a steady state) need to open a new database transaction each time a private key needs to be derived for signing or ECDH - operations](https://github.com/lightningnetwork/lnd/pull/5629). This results + operations](https://github.com/voltagecloud/lnd/pull/5629). This results in a massive performance improvement across several routine operations at the * [When decrypting incoming encrypted brontide messages on the wire, we'll now properly re-use the buffer that was allocated for the ciphertext to store the - plaintext](https://github.com/lightningnetwork/lnd/pull/5622). When combined + plaintext](https://github.com/voltagecloud/lnd/pull/5622). When combined with the buffer pool, this ensures that we no longer need to allocate a new buffer each time we decrypt an incoming message, as we recycle these buffers in the peer. * [The `DescribeGraph` and `GetNetworkInfo` calls have been - optimized](https://github.com/lightningnetwork/lnd/pull/5873) by caching the + optimized](https://github.com/voltagecloud/lnd/pull/5873) by caching the response periodically, or using the new channel graph cache directly. This should significantly cut down on the garbage these two calls generate. ## Log system * [Save compressed log files from logrorate during - itest](https://github.com/lightningnetwork/lnd/pull/5354). + itest](https://github.com/voltagecloud/lnd/pull/5354). ## Mission control * [Interpretation of channel disabled errors was changed to only penalize t he destination node to consider mobile wallets with hub - nodes.](https://github.com/lightningnetwork/lnd/pull/5598) + nodes.](https://github.com/voltagecloud/lnd/pull/5598) ## Bug Fixes * A bug has been fixed that would cause `lnd` to [try to bootstrap using the current DNS seeds when in SigNet - mode](https://github.com/lightningnetwork/lnd/pull/5564). + mode](https://github.com/voltagecloud/lnd/pull/5564). * [A validation check for sane `CltvLimit` and `FinalCltvDelta` has been added for `REST`-initiated - payments](https://github.com/lightningnetwork/lnd/pull/5591). + payments](https://github.com/voltagecloud/lnd/pull/5591). * [A bug has been fixed with Neutrino's `RegisterConfirmationsNtfn` and `RegisterSpendNtfn` calls that would cause notifications to be - missed](https://github.com/lightningnetwork/lnd/pull/5453). + missed](https://github.com/voltagecloud/lnd/pull/5453). * [A bug has been fixed when registering for spend notifications in the `txnotifier`. A re-org notification would previously not be dispatched in - certain scenarios](https://github.com/lightningnetwork/lnd/pull/5465). + certain scenarios](https://github.com/voltagecloud/lnd/pull/5465). * [Catches up on blocks in the - router](https://github.com/lightningnetwork/lnd/pull/5315) in order to fix an - "out of order" error that [crops up](https://github.com/lightningnetwork/lnd/pull/5748). + router](https://github.com/voltagecloud/lnd/pull/5315) in order to fix an + "out of order" error that [crops up](https://github.com/voltagecloud/lnd/pull/5748). * [Fix healthcheck might be running after the max number of attempts are - reached](https://github.com/lightningnetwork/lnd/pull/5686). + reached](https://github.com/voltagecloud/lnd/pull/5686). * [Fix crash with empty AMP or MPP record in - invoice](https://github.com/lightningnetwork/lnd/pull/5743). + invoice](https://github.com/voltagecloud/lnd/pull/5743). * [Config setting sync-freelist was ignored in certain - cases](https://github.com/lightningnetwork/lnd/pull/5527). + cases](https://github.com/voltagecloud/lnd/pull/5527). * The underlying gRPC connection of a WebSocket is now [properly closed when the WebSocket end of a connection is - closed](https://github.com/lightningnetwork/lnd/pull/5683). A bug with the + closed](https://github.com/voltagecloud/lnd/pull/5683). A bug with the write deadline that caused connections to suddenly break was also fixed in the same PR. @@ -584,63 +584,63 @@ messages directly. There is no routing/path finding involved. Neutrino](https://github.com/lightninglabs/neutrino/pull/226) that would result in transactions being rebroadcast even after they had been confirmed. [Lnd is updated to use the version of Neutrino containing this - fix](https://github.com/lightningnetwork/lnd/pull/5807). + fix](https://github.com/voltagecloud/lnd/pull/5807). * A bug has been fixed that would result in nodes not [reconnecting to their persistent outbound peers if the peer's IP - address changed](https://github.com/lightningnetwork/lnd/pull/5538). + address changed](https://github.com/voltagecloud/lnd/pull/5538). * [Use the change output index when validating the reserved wallet balance for - SendCoins/SendMany calls](https://github.com/lightningnetwork/lnd/pull/5665) + SendCoins/SendMany calls](https://github.com/voltagecloud/lnd/pull/5665) -* A [bug](https://github.com/lightningnetwork/lnd/pull/5834) has been fixed where +* A [bug](https://github.com/voltagecloud/lnd/pull/5834) has been fixed where certain channels couldn't be passed to `lncli getchaninfo` due to their 8-byte compact ID being too large for an int64. * [Dedup stored peer addresses before creating connection requests to prevent - redundant connection requests](https://github.com/lightningnetwork/lnd/pull/5839) + redundant connection requests](https://github.com/voltagecloud/lnd/pull/5839) * A [`concurrent map writes` crash was - fixed](https://github.com/lightningnetwork/lnd/pull/5893) in the + fixed](https://github.com/voltagecloud/lnd/pull/5893) in the [`btcwallet` dependency](https://github.com/btcsuite/btcwallet/pull/773). * [A bug has been fixed that would at times cause intercepted HTLCs to be - re-notified](https://github.com/lightningnetwork/lnd/pull/5901), which could + re-notified](https://github.com/voltagecloud/lnd/pull/5901), which could lead to higher-level HTLC mismanagement issues. * [Do not error log when an invoice that has been canceled and GC'd is expired]( - https://github.com/lightningnetwork/lnd/pull/5913) + https://github.com/voltagecloud/lnd/pull/5913) * [Don't print bucket names with special characters when compacting]( - https://github.com/lightningnetwork/lnd/pull/5878) + https://github.com/voltagecloud/lnd/pull/5878) * [Fix pathfinding crash when inbound policy is unknown]( - https://github.com/lightningnetwork/lnd/pull/5922) + https://github.com/voltagecloud/lnd/pull/5922) * [Stagger connection attempts to multi-address peers to ensure that the peer doesn't close the first successful connection in favour of the next if the first one was successful]( - https://github.com/lightningnetwork/lnd/pull/5925) + https://github.com/voltagecloud/lnd/pull/5925) * [Fixed an issue with external listeners and the `--noseedbackup` development - flag](https://github.com/lightningnetwork/lnd/pull/5930). + flag](https://github.com/voltagecloud/lnd/pull/5930). * [Fixed a bug that caused the RPC middleware request ID not to be the same for intercept messages belonging to the same intercepted gRPC request/response - pair](https://github.com/lightningnetwork/lnd/pull/5950). + pair](https://github.com/voltagecloud/lnd/pull/5950). * [Fix deadlock when using the graph cache]( - https://github.com/lightningnetwork/lnd/pull/5941) + https://github.com/voltagecloud/lnd/pull/5941) -* [Fixes a bug that would cause pruned nodes to stall out](https://github.com/lightningnetwork/lnd/pull/5970) +* [Fixes a bug that would cause pruned nodes to stall out](https://github.com/voltagecloud/lnd/pull/5970) -* [Add Postgres connection limit](https://github.com/lightningnetwork/lnd/pull/5992) +* [Add Postgres connection limit](https://github.com/voltagecloud/lnd/pull/5992) ## Documentation The [code contribution guidelines have been updated to mention the new requirements surrounding updating the release notes for each new -change](https://github.com/lightningnetwork/lnd/pull/5613). +change](https://github.com/voltagecloud/lnd/pull/5613). # Contributors (Alphabetical Order) * Abubakar Nur Khalil diff --git a/docs/release-notes/release-notes-0.14.1.md b/docs/release-notes/release-notes-0.14.1.md index 6d6ec56f64..72bc4b020a 100644 --- a/docs/release-notes/release-notes-0.14.1.md +++ b/docs/release-notes/release-notes-0.14.1.md @@ -3,28 +3,28 @@ ## Bug Fixes * [Fixed an inaccurate log message during a compaction - failure](https://github.com/lightningnetwork/lnd/pull/5961). + failure](https://github.com/voltagecloud/lnd/pull/5961). * [Fixed a bug in the Tor controller that would cause the health check to fail if there was more than one hidden service - configured](https://github.com/lightningnetwork/lnd/pull/6016). + configured](https://github.com/voltagecloud/lnd/pull/6016). * [A bug has been fixed in channeldb that uses the return value without checking - the returned error first](https://github.com/lightningnetwork/lnd/pull/6012). + the returned error first](https://github.com/voltagecloud/lnd/pull/6012). * [Fixes a bug that would cause lnd to be unable to start if anchors was - disabled](https://github.com/lightningnetwork/lnd/pull/6007). + disabled](https://github.com/voltagecloud/lnd/pull/6007). * [Fixed a bug that would cause nodes with older channels to be unable to start - up](https://github.com/lightningnetwork/lnd/pull/6003). + up](https://github.com/voltagecloud/lnd/pull/6003). * [Addresses an issue with explicit channel type negotiation that caused incompatibilities when opening channels with the latest versions of - c-lightning and eclair](https://github.com/lightningnetwork/lnd/pull/6026). + c-lightning and eclair](https://github.com/voltagecloud/lnd/pull/6026). * [Ensure that if a user specifies explicit channel funding on the API level, then it can't be - downgraded](https://github.com/lightningnetwork/lnd/pull/6027). + downgraded](https://github.com/voltagecloud/lnd/pull/6027). # Contributors (Alphabetical Order) diff --git a/docs/release-notes/release-notes-0.14.2.md b/docs/release-notes/release-notes-0.14.2.md index f82fbe68ec..e619077e06 100644 --- a/docs/release-notes/release-notes-0.14.2.md +++ b/docs/release-notes/release-notes-0.14.2.md @@ -4,7 +4,7 @@ The [remote signing](../remote-signing.md) setup was simplified in that the signing node now [does not need to be hooked up to its own chain -backend](https://github.com/lightningnetwork/lnd/pull/6006). A new mock chain +backend](https://github.com/voltagecloud/lnd/pull/6006). A new mock chain backend can be specified with `--bitcoin.node=nochainbackend`. That way a wallet will be created and all signing RPCs work but the node will not look at any chain data. It can therefore be fully offline except for a single incoming gRPC @@ -15,15 +15,15 @@ connection from the watch-only node. * A bug that prevented opening anchor-based channels from external wallets when the internal wallet was empty even though the transaction contained a sufficiently large output belonging to the internal wallet - [was fixed](https://github.com/lightningnetwork/lnd/pull/5539). + [was fixed](https://github.com/voltagecloud/lnd/pull/5539). In other words, freshly-installed LND can now be initialized with multiple channels from an external (e.g. hardware) wallet *in a single transaction*. * A bug that allowed fees to be up to 100% of the payment amount was fixed by [introducing a more sane default - value](https://github.com/lightningnetwork/lnd/pull/6226) of 5% routing fees + value](https://github.com/voltagecloud/lnd/pull/6226) of 5% routing fees (except for small amounts <= [1k - satoshis](https://github.com/lightningnetwork/lnd/pull/6234) where the 100% + satoshis](https://github.com/voltagecloud/lnd/pull/6234) where the 100% routing fees are kept to accommodate for the base fee in channels). To avoid falling back to a default value, users should always set their own fee limits by using the `--fee_limit` or `--fee_limit_percent` flags on the `lncli @@ -34,101 +34,101 @@ connection from the watch-only node. ## Database * [Speed up graph cache loading on startup with -Postgres](https://github.com/lightningnetwork/lnd/pull/6111) +Postgres](https://github.com/voltagecloud/lnd/pull/6111) ## Build System * [Clean up Makefile by using go - install](https://github.com/lightningnetwork/lnd/pull/6035). + install](https://github.com/voltagecloud/lnd/pull/6035). * [Make etcd max message size - configurable](https://github.com/lightningnetwork/lnd/pull/6049). + configurable](https://github.com/voltagecloud/lnd/pull/6049). * [Export bitcoind port and other values for itests, useful for using itest harness outside of - lnd](https://github.com/lightningnetwork/lnd/pull/6050). + lnd](https://github.com/voltagecloud/lnd/pull/6050). * [Export `lntest` base node config so it can be re-used in LiT integration - tests](https://github.com/lightningnetwork/lnd/pull/6139). + tests](https://github.com/voltagecloud/lnd/pull/6139). ## Bug fixes * [A new resolver for breach closes was introduced that handles sweeping - anchor outputs and failing back HTLCs.](https://github.com/lightningnetwork/lnd/pull/6158) + anchor outputs and failing back HTLCs.](https://github.com/voltagecloud/lnd/pull/6158) * [Return the nearest known fee rate when a given conf target cannot be found - from Web API fee estimator.](https://github.com/lightningnetwork/lnd/pull/6062) + from Web API fee estimator.](https://github.com/voltagecloud/lnd/pull/6062) * [We now _always_ set a channel type if the other party signals the feature - bit](https://github.com/lightningnetwork/lnd/pull/6075). + bit](https://github.com/voltagecloud/lnd/pull/6075). * [Add `--json` flag to - `trackpayment`](https://github.com/lightningnetwork/lnd/pull/6060). + `trackpayment`](https://github.com/voltagecloud/lnd/pull/6060). * [Clarify invalid config timeout - constraints](https://github.com/lightningnetwork/lnd/pull/6073). + constraints](https://github.com/voltagecloud/lnd/pull/6073). * [Fix memory corruption in Mission Control - Store](https://github.com/lightningnetwork/lnd/pull/6068) + Store](https://github.com/voltagecloud/lnd/pull/6068) * [Ensure that the min relay fee is always clamped by our fee - floor](https://github.com/lightningnetwork/lnd/pull/6076) + floor](https://github.com/voltagecloud/lnd/pull/6076) * [Clarify log message about not running within - systemd](https://github.com/lightningnetwork/lnd/pull/6096) + systemd](https://github.com/voltagecloud/lnd/pull/6096) -* [Fix Postgres context cancellation](https://github.com/lightningnetwork/lnd/pull/6108) +* [Fix Postgres context cancellation](https://github.com/voltagecloud/lnd/pull/6108) * A conflict was found in connecting peers, where the peer bootstrapping process and persistent connection could compete connection for a peer that led to an already made connection being lost. [This is now fixed so that bootstrapping will always ignore the peers chosen by the persistent - connection.](https://github.com/lightningnetwork/lnd/pull/6082) + connection.](https://github.com/voltagecloud/lnd/pull/6082) -* [Fix Postgres itests max connections](https://github.com/lightningnetwork/lnd/pull/6116) +* [Fix Postgres itests max connections](https://github.com/voltagecloud/lnd/pull/6116) -* [Fix duplicate db connection close](https://github.com/lightningnetwork/lnd/pull/6140) +* [Fix duplicate db connection close](https://github.com/voltagecloud/lnd/pull/6140) -* [Fix a memory leak introduced by the new ping-header p2p enhancement](https://github.com/lightningnetwork/lnd/pull/6144) +* [Fix a memory leak introduced by the new ping-header p2p enhancement](https://github.com/voltagecloud/lnd/pull/6144) -* [Fix an issue that would prevent very old nodes from starting up due to lack of a historical channel bucket](https://github.com/lightningnetwork/lnd/pull/6159) +* [Fix an issue that would prevent very old nodes from starting up due to lack of a historical channel bucket](https://github.com/voltagecloud/lnd/pull/6159) -* [Fixes a bug that would cause incorrect rounding when translating a decimal fee rate to ppm](https://github.com/lightningnetwork/lnd/pull/6200) +* [Fixes a bug that would cause incorrect rounding when translating a decimal fee rate to ppm](https://github.com/voltagecloud/lnd/pull/6200) ## RPC Server * [ChanStatusFlags is now - exposed](https://github.com/lightningnetwork/lnd/pull/5971) inside + exposed](https://github.com/voltagecloud/lnd/pull/5971) inside WaitingCloseResp from calling `PendingChannels`. * [Fix missing label on streamed - transactions](https://github.com/lightningnetwork/lnd/pull/5854). + transactions](https://github.com/voltagecloud/lnd/pull/5854). * [The `fee_rate_ppm` parameter/argument was added to - update channel policy](https://github.com/lightningnetwork/lnd/pull/5711) + update channel policy](https://github.com/voltagecloud/lnd/pull/5711) to prevent truncation error with tiny fee rates. * [Closing txid is now - exposed](https://github.com/lightningnetwork/lnd/pull/6146) inside + exposed](https://github.com/voltagecloud/lnd/pull/6146) inside WaitingCloseResp from calling `PendingChannels`. * [CustomCaveatCondition is now properly - set](https://github.com/lightningnetwork/lnd/pull/6185) on + set](https://github.com/voltagecloud/lnd/pull/6185) on `RPCMiddlewareRequest` messages. -* [Adds a new FeeRatePpm to the UpdateChanPolicy call to allow fee rate expression in the native protocol unit](https://github.com/lightningnetwork/lnd/pull/6200) +* [Adds a new FeeRatePpm to the UpdateChanPolicy call to allow fee rate expression in the native protocol unit](https://github.com/voltagecloud/lnd/pull/6200) ## Routing * [Enable forced update of MC pair - history](https://github.com/lightningnetwork/lnd/pull/6180) by adding the `force` + history](https://github.com/voltagecloud/lnd/pull/6180) by adding the `force` flag to the `XImportMissionControl` RPC call. ## Documentation -* [General improvements to the mobile documentation](https://github.com/lightningnetwork/lnd/pull/6181). +* [General improvements to the mobile documentation](https://github.com/voltagecloud/lnd/pull/6181). # Contributors (Alphabetical Order) diff --git a/docs/release-notes/release-notes-0.14.3.md b/docs/release-notes/release-notes-0.14.3.md index 07de969c47..c7bb8979fd 100644 --- a/docs/release-notes/release-notes-0.14.3.md +++ b/docs/release-notes/release-notes-0.14.3.md @@ -5,11 +5,11 @@ * The REST proxy (`grpc-gateway` library) had a fallback that redirected `POST` requests to another endpoint _with the same URI_ if no endpoint for `POST` was registered. [This default behavior was turned - off](https://github.com/lightningnetwork/lnd/pull/6359), enabling strict + off](https://github.com/voltagecloud/lnd/pull/6359), enabling strict HTTP method matching. * The [`SignOutputRaw` RPC now works properly in remote signing - mode](https://github.com/lightningnetwork/lnd/pull/6341), even when + mode](https://github.com/voltagecloud/lnd/pull/6341), even when only a public key or only a key locator is specified. This allows a Loop or Pool node to be connected to a remote signing node pair. A bug in the remote signer health check was also fixed that lead to too many diff --git a/docs/release-notes/release-notes-0.15.0.md b/docs/release-notes/release-notes-0.15.0.md index 89cf40ac9a..fe27b2792c 100644 --- a/docs/release-notes/release-notes-0.15.0.md +++ b/docs/release-notes/release-notes-0.15.0.md @@ -3,9 +3,9 @@ ## Payments Support according to the -[spec](https://github.com/lightningnetwork/lightning-rfc/pull/912) has been +[spec](https://github.com/voltagecloud/lightning-rfc/pull/912) has been added for [payment metadata in -invoices](https://github.com/lightningnetwork/lnd/pull/5810). If metadata is +invoices](https://github.com/voltagecloud/lnd/pull/5810). If metadata is present in the invoice, it is encoded as a tlv record for the receiver. This functionality unlocks future features such as [stateless @@ -14,24 +14,24 @@ invoices](https://lists.linuxfoundation.org/pipermail/lightning-dev/2021-Septemb ## Security * [Misconfigured ZMQ - setup now logs a warning](https://github.com/lightningnetwork/lnd/pull/5710). + setup now logs a warning](https://github.com/voltagecloud/lnd/pull/5710). ## Taproot The internal on-chain wallet of `lnd` is now able to create and spend from [Taproot (SegWit v1) -addresses](https://github.com/lightningnetwork/lnd/pull/6263). Using +addresses](https://github.com/voltagecloud/lnd/pull/6263). Using `lncli newaddress p2tr` will create a new BIP-0086 keyspend only address and then watch it on chain. Taproot script spends are also supported through the `signrpc.SignOutputRaw` RPC (`/v2/signer/signraw` in REST). The `walletrpc.SignPsbt` RPC now also supports [Taproot PSBT -signing](https://github.com/lightningnetwork/lnd/pull/6450) to fully support +signing](https://github.com/voltagecloud/lnd/pull/6450) to fully support remote signing with Taproot outputs. The internal version of the `aezeed` [was bumped to `1` to mark new seeds that were created after introducing the Taproot key -derivation](https://github.com/lightningnetwork/lnd/pull/6524) to simplify +derivation](https://github.com/voltagecloud/lnd/pull/6524) to simplify detecting Taproot compatibility of a seed. **NOTE** for users running a remote signing setup: A manual account import is @@ -43,7 +43,7 @@ Please upgrade to `lnd v0.15.3-beta` or later directly! ## MuSig2 The [`signrpc.Signer` RPC service now supports EXPERIMENTAL MuSig2 -signing](https://github.com/lightningnetwork/lnd/pull/6361). +signing](https://github.com/voltagecloud/lnd/pull/6361). More information can be found in the [MuSig2 documentation](../musig2.md). Note that the MuSig2 BIP is not final yet and therefore the MuSig2 API must be @@ -52,39 +52,39 @@ releases. Backward compatibility is not guaranteed! ## `lncli` -* Add [auto-generated command-line completions](https://github.com/lightningnetwork/lnd/pull/4177) +* Add [auto-generated command-line completions](https://github.com/voltagecloud/lnd/pull/4177) for Fish shell. -* Add [chan_point flag](https://github.com/lightningnetwork/lnd/pull/6152) +* Add [chan_point flag](https://github.com/voltagecloud/lnd/pull/6152) to closechannel command. -* Add [private status](https://github.com/lightningnetwork/lnd/pull/6167) +* Add [private status](https://github.com/voltagecloud/lnd/pull/6167) to pendingchannels response. -* [Update description for `state` command](https://github.com/lightningnetwork/lnd/pull/6237). +* [Update description for `state` command](https://github.com/voltagecloud/lnd/pull/6237). -* Add [update node announcement](https://github.com/lightningnetwork/lnd/pull/5587) +* Add [update node announcement](https://github.com/voltagecloud/lnd/pull/5587) for updating and propagating node information. -* Add [--socksproxy](https://github.com/lightningnetwork/lnd/pull/6422) +* Add [--socksproxy](https://github.com/voltagecloud/lnd/pull/6422) to allow for RPC calls via Tor. * [Hop hints are now opt in when using `lncli - addinvoice`](https://github.com/lightningnetwork/lnd/pull/6523). Users now + addinvoice`](https://github.com/voltagecloud/lnd/pull/6523). Users now need to explicitly specify the `--private` flag. * A new [`constrainmacaroon` command was - added](https://github.com/lightningnetwork/lnd/pull/6529) that allows + added](https://github.com/voltagecloud/lnd/pull/6529) that allows caveats/restrictions to be added to an existing macaroon (instead of needing to bake a new one). ## Neutrino [Neutrino now suports BIP -155](https://github.com/lightningnetwork/lnd/pull/6468), allowing it to connect +155](https://github.com/voltagecloud/lnd/pull/6468), allowing it to connect to Bitcoin nodes that advertise a Tor v3 onion service address. -[A new neutrino sub-server](https://github.com/lightningnetwork/lnd/pull/5652) +[A new neutrino sub-server](https://github.com/voltagecloud/lnd/pull/5652) capable of status checks, adding, disconnecting and listing peers, fetching compact filters and block/block headers. @@ -92,14 +92,14 @@ compact filters and block/block headers. * [Add option to configure the block and transaction subscription notifications from bitcoind to be obtained through polling of the RPC - interface instead of using ZMQ](https://github.com/lightningnetwork/lnd/pull/6345) + interface instead of using ZMQ](https://github.com/voltagecloud/lnd/pull/6345) ## Bug Fixes -* [Pipelining an UpdateFulfillHTLC message now only happens when the related UpdateAddHTLC is locked-in.](https://github.com/lightningnetwork/lnd/pull/6246) +* [Pipelining an UpdateFulfillHTLC message now only happens when the related UpdateAddHTLC is locked-in.](https://github.com/voltagecloud/lnd/pull/6246) * [Fixed an inactive invoice subscription not removed from invoice - registry](https://github.com/lightningnetwork/lnd/pull/6053). When an invoice + registry](https://github.com/voltagecloud/lnd/pull/6053). When an invoice subscription is created and canceled immediately, it could be left uncleaned due to the cancel signal is processed before the creation. It is now properly handled by moving creation before deletion. @@ -107,9 +107,9 @@ compact filters and block/block headers. * When the block height+delta specified by a network message is greater than the gossiper's best height, it will be considered as premature and ignored. [These premature messages are now saved into a cache and processed once the - height has reached.](https://github.com/lightningnetwork/lnd/pull/6054) + height has reached.](https://github.com/voltagecloud/lnd/pull/6054) -* [Fixed failure to limit our number of hop hints in private invoices](https://github.com/lightningnetwork/lnd/pull/6236). +* [Fixed failure to limit our number of hop hints in private invoices](https://github.com/voltagecloud/lnd/pull/6236). When a private invoice is created, and the node had > 20 (our hop hint limit) private channels with inbound > invoice amount, hop hint selection would add too many hop hints. When a node had many channels meeting this criteria, it @@ -118,143 +118,143 @@ compact filters and block/block headers. * [Fixed an edge case where the lnd might be stuck at starting due to channel arbitrator relying on htlcswitch to be started - first](https://github.com/lightningnetwork/lnd/pull/6214). + first](https://github.com/voltagecloud/lnd/pull/6214). * [Fixed an issue where invoice notifications could be missed when using the - SubscribeSingleInvoice or SubscribeNotifications rpcs.](https://github.com/lightningnetwork/lnd/pull/6477) + SubscribeSingleInvoice or SubscribeNotifications rpcs.](https://github.com/voltagecloud/lnd/pull/6477) -* [Fixed crash in MuSig2Combine](https://github.com/lightningnetwork/lnd/pull/6502) +* [Fixed crash in MuSig2Combine](https://github.com/voltagecloud/lnd/pull/6502) * [Fixed an issue where lnd would end up sending an Error and triggering a force - close.](https://github.com/lightningnetwork/lnd/pull/6518) + close.](https://github.com/voltagecloud/lnd/pull/6518) * [Fixed deadlock in the invoice registry]( - https://github.com/lightningnetwork/lnd/pull/6600) + https://github.com/voltagecloud/lnd/pull/6600) * [Added signature length - validation](https://github.com/lightningnetwork/lnd/pull/6314) when calling + validation](https://github.com/voltagecloud/lnd/pull/6314) when calling `NewSigFromRawSignature`. * [Fixed deadlock in invoice - registry](https://github.com/lightningnetwork/lnd/pull/6332). + registry](https://github.com/voltagecloud/lnd/pull/6332). * [Fixed an issue that would cause wallet UTXO state to be incorrect if a 3rd party sweeps our anchor - output](https://github.com/lightningnetwork/lnd/pull/6274). + output](https://github.com/voltagecloud/lnd/pull/6274). -* [Fixed node shutdown in forward interceptor itests](https://github.com/lightningnetwork/lnd/pull/6362). +* [Fixed node shutdown in forward interceptor itests](https://github.com/voltagecloud/lnd/pull/6362). -* [Fixed a bug that would cause lnd to be unable to parse certain PSBT blobs](https://github.com/lightningnetwork/lnd/pull/6383). +* [Fixed a bug that would cause lnd to be unable to parse certain PSBT blobs](https://github.com/voltagecloud/lnd/pull/6383). * [Use normal TCP resolution, instead of Tor DNS resolution, for addresses - using the all-interfaces IP](https://github.com/lightningnetwork/lnd/pull/6376). + using the all-interfaces IP](https://github.com/voltagecloud/lnd/pull/6376). * [Fixed a bug in the `btcwallet` that caused an error to be shown for `lncli walletbalance` in existing wallets after upgrading to - Taproot](https://github.com/lightningnetwork/lnd/pull/6379). + Taproot](https://github.com/voltagecloud/lnd/pull/6379). * [Fixed a data race in the websocket proxy - code](https://github.com/lightningnetwork/lnd/pull/6380). + code](https://github.com/voltagecloud/lnd/pull/6380). * [Fixed race condition resulting in MPP payments sometimes getting stuck - in-flight](https://github.com/lightningnetwork/lnd/pull/6352). + in-flight](https://github.com/voltagecloud/lnd/pull/6352). * [Fixed a panic in the Taproot signing part of the `SignOutputRaw` RPC that occurred when not all UTXO information was - specified](https://github.com/lightningnetwork/lnd/pull/6407). + specified](https://github.com/voltagecloud/lnd/pull/6407). * [Fixed P2TR addresses not correctly being detected as - used](https://github.com/lightningnetwork/lnd/pull/6389). + used](https://github.com/voltagecloud/lnd/pull/6389). * [Fixed incorrect PSBT de-serialization for transactions with no - inputs](https://github.com/lightningnetwork/lnd/pull/6428). + inputs](https://github.com/voltagecloud/lnd/pull/6428). * [Fixed a spec-compliance issue where lnd was not allowing cooperative -close to continue after a peer disconnect](https://github.com/lightningnetwork/lnd/pull/6419). +close to continue after a peer disconnect](https://github.com/voltagecloud/lnd/pull/6419). * [A subsystem hand-off between the contractcourt and htlcswitch has been fixed by adding a persistence layer. This avoids a rare edge case -from occurring that would result in an erroneous force close.](https://github.com/lightningnetwork/lnd/pull/6250) +from occurring that would result in an erroneous force close.](https://github.com/voltagecloud/lnd/pull/6250) * [Ignore addresses with unknown types in NodeAnnouncements]( - https://github.com/lightningnetwork/lnd/pull/6435) + https://github.com/voltagecloud/lnd/pull/6435) * [Taproot wallet inputs can also be used to fund - channels](https://github.com/lightningnetwork/lnd/pull/6521) + channels](https://github.com/voltagecloud/lnd/pull/6521) * [Fixed an intermittent panic that would occur due to a violated assumption with our - underlying database.](https://github.com/lightningnetwork/lnd/pull/6547) + underlying database.](https://github.com/voltagecloud/lnd/pull/6547) * [Fixed a wrong channel status inheritance used in `migration26` and - `migration27`](https://github.com/lightningnetwork/lnd/pull/6563). + `migration27`](https://github.com/voltagecloud/lnd/pull/6563). -* [Fixes an issue related to HTLCs on lease enforced channels that can lead to itest flakes](https://github.com/lightningnetwork/lnd/pull/6605/files) +* [Fixes an issue related to HTLCs on lease enforced channels that can lead to itest flakes](https://github.com/voltagecloud/lnd/pull/6605/files) -* [Fixes a bug that would cause `SignPsbt` to panic w/ an underspecified packet](https://github.com/lightningnetwork/lnd/pull/6611) +* [Fixes a bug that would cause `SignPsbt` to panic w/ an underspecified packet](https://github.com/voltagecloud/lnd/pull/6611) * [Fixes a panic in the graph diameter calculation if the graph is - empty](https://github.com/lightningnetwork/lnd/pull/6647). + empty](https://github.com/voltagecloud/lnd/pull/6647). ## Routing -* [Add a new `time_pref` parameter to the QueryRoutes and SendPayment APIs](https://github.com/lightningnetwork/lnd/pull/6024) that +* [Add a new `time_pref` parameter to the QueryRoutes and SendPayment APIs](https://github.com/voltagecloud/lnd/pull/6024) that allows the caller to control the trade-off between payment speed and cost in pathfinding. ## Misc -* [An example systemd service file](https://github.com/lightningnetwork/lnd/pull/6033) +* [An example systemd service file](https://github.com/voltagecloud/lnd/pull/6033) for running lnd alongside a bitcoind service is now provided in `contrib/init/lnd.service`. * [Allow disabling migrations if the database backend passed to `channeldb` was - opened in read-only mode](https://github.com/lightningnetwork/lnd/pull/6084). + opened in read-only mode](https://github.com/voltagecloud/lnd/pull/6084). -* [Disable compiler optimizations](https://github.com/lightningnetwork/lnd/pull/6105) +* [Disable compiler optimizations](https://github.com/voltagecloud/lnd/pull/6105) when building `lnd-debug` and `lncli-debug`. It helps when stepping through the code with a debugger like Delve. -* A new command `lncli leaseoutput` was [added](https://github.com/lightningnetwork/lnd/pull/5964). +* A new command `lncli leaseoutput` was [added](https://github.com/voltagecloud/lnd/pull/5964). * [Consolidated many smaller docs/typo/trivial fixes from PRs that were stuck in review because of unmet contribution guideline - requirements](https://github.com/lightningnetwork/lnd/pull/6080). + requirements](https://github.com/voltagecloud/lnd/pull/6080). * [A nightly build of the `lnd` docker image is now created - automatically](https://github.com/lightningnetwork/lnd/pull/6160). + automatically](https://github.com/voltagecloud/lnd/pull/6160). -* Add default values to [walletrpc.ListUnspent RPC call](https://github.com/lightningnetwork/lnd/pull/6190). +* Add default values to [walletrpc.ListUnspent RPC call](https://github.com/voltagecloud/lnd/pull/6190). -* [Add `.vs/` folder to `.gitignore`](https://github.com/lightningnetwork/lnd/pull/6178). +* [Add `.vs/` folder to `.gitignore`](https://github.com/voltagecloud/lnd/pull/6178). -* [Chain backend healthchecks disabled for --nochainbackend mode](https://github.com/lightningnetwork/lnd/pull/6184) +* [Chain backend healthchecks disabled for --nochainbackend mode](https://github.com/voltagecloud/lnd/pull/6184) * [The `tlv` package was refactored into its own Golang - submodule](https://github.com/lightningnetwork/lnd/pull/6283). + submodule](https://github.com/voltagecloud/lnd/pull/6283). * The `tor` package was refactored into its own Golang submodule and a new process for changing and tagging submodules was introduced in a series of - 3 PRs ([#6350](https://github.com/lightningnetwork/lnd/pull/6350), - [#6355](https://github.com/lightningnetwork/lnd/pull/6350) and - [#6356](https://github.com/lightningnetwork/lnd/pull/6356)). + 3 PRs ([#6350](https://github.com/voltagecloud/lnd/pull/6350), + [#6355](https://github.com/voltagecloud/lnd/pull/6350) and + [#6356](https://github.com/voltagecloud/lnd/pull/6356)). -* [Source repository can now be specified for Docker image builds](https://github.com/lightningnetwork/lnd/pull/6300) +* [Source repository can now be specified for Docker image builds](https://github.com/voltagecloud/lnd/pull/6300) * [The new `btcsuite/btcd/btcec/v2` and the moved `btcsuite/btcd/btcutil` modules were integrated into `lnd` as a preparation for basic Taproot - support](https://github.com/lightningnetwork/lnd/pull/6285). + support](https://github.com/voltagecloud/lnd/pull/6285). * [Make etcd leader election session - TTL](https://github.com/lightningnetwork/lnd/pull/6342) configurable. + TTL](https://github.com/voltagecloud/lnd/pull/6342) configurable. * [Fix race condition in the htlc interceptor unit - test](https://github.com/lightningnetwork/lnd/pull/6353). + test](https://github.com/voltagecloud/lnd/pull/6353). * [A new config option, `pending-commit-interval` is - added](https://github.com/lightningnetwork/lnd/pull/6186). This value + added](https://github.com/voltagecloud/lnd/pull/6186). This value specifies the maximum duration it allows for a remote peer to respond to a locally initiated commitment update. -* [`macos` and `apple` Makefile tasks have been added.](https://github.com/lightningnetwork/lnd/pull/6373) +* [`macos` and `apple` Makefile tasks have been added.](https://github.com/voltagecloud/lnd/pull/6373) The `macos` task uses `gomobile` to build an `XCFramework` that can be used to embed lnd to macOS apps, similar to how the `ios` task builds for iOS. @@ -262,167 +262,167 @@ from occurring that would result in an erroneous force close.](https://github.co The `apple` task uses `gomobile` to build an `XCFramework` that can be used to embed lnd to both iOS and macOS apps. -* [The CI and build infrastructure for the project has transitioned to using Go 1.18](https://github.com/lightningnetwork/lnd/pull/6340). +* [The CI and build infrastructure for the project has transitioned to using Go 1.18](https://github.com/voltagecloud/lnd/pull/6340). * [Announce the keysend feature bit in NodeAnnouncement if `--accept-keysend` - is set](https://github.com/lightningnetwork/lnd/pull/6414). + is set](https://github.com/voltagecloud/lnd/pull/6414). * [Fix a flaky unit test in the `chainview` - package](https://github.com/lightningnetwork/lnd/pull/6354). + package](https://github.com/voltagecloud/lnd/pull/6354). -* [Adds a new config option for adding a specific peer at startup](https://github.com/lightningnetwork/lnd/pull/5157). +* [Adds a new config option for adding a specific peer at startup](https://github.com/voltagecloud/lnd/pull/5157). * [Add a new method in `tlv` to encode an uint64/uint32 field using `BigSize` - format.](https://github.com/lightningnetwork/lnd/pull/6421) + format.](https://github.com/voltagecloud/lnd/pull/6421) * [Add new `bitcoind.config` and `bitcoind.rpccookie` - options](https://github.com/lightningnetwork/lnd/pull/6064) to allow + options](https://github.com/voltagecloud/lnd/pull/6064) to allow specifying non-default paths for the configuration and RPC cookie files. -* [Clarify comment](https://github.com/lightningnetwork/lnd/pull/6481) on +* [Clarify comment](https://github.com/voltagecloud/lnd/pull/6481) on `chainnotifier.RegisterConfirmationsNtfn`. * [The experimental MuSig2 API now also has a `MuSig2Cleanup` RPC that allows the in-memory state to be cleaned up early if a session isn't expected to - succeed anymore](https://github.com/lightningnetwork/lnd/pull/6495). + succeed anymore](https://github.com/voltagecloud/lnd/pull/6495). -* [Some of the invoice update logic has been refactored to be less verbose.](https://github.com/lightningnetwork/lnd/pull/6415) +* [Some of the invoice update logic has been refactored to be less verbose.](https://github.com/voltagecloud/lnd/pull/6415) -* [Clarify error msg when bitcoind cookie file is missing](https://github.com/lightningnetwork/lnd/pull/6536). +* [Clarify error msg when bitcoind cookie file is missing](https://github.com/voltagecloud/lnd/pull/6536). -* [Minor fix](https://github.com/lightningnetwork/lnd/pull/6535) to +* [Minor fix](https://github.com/voltagecloud/lnd/pull/6535) to how bitcoind.rpccookie and bitocind.config are parsed from config file. -* [Fix a data race found when running unit test for revocation log](https://github.com/lightningnetwork/lnd/pull/6594). +* [Fix a data race found when running unit test for revocation log](https://github.com/voltagecloud/lnd/pull/6594). -* [A new version of the internal `tor` module was tagged and updated for the main module](https://github.com/lightningnetwork/lnd/pull/6612). +* [A new version of the internal `tor` module was tagged and updated for the main module](https://github.com/voltagecloud/lnd/pull/6612). -* [`lnd` now packages the latest versions of the btcd libraries, btcwallet, and neutrino](https://github.com/lightningnetwork/lnd/pull/6627) +* [`lnd` now packages the latest versions of the btcd libraries, btcwallet, and neutrino](https://github.com/voltagecloud/lnd/pull/6627) * [Refactor simple t.Fatalf test assertions to require.NoError - ](https://github.com/lightningnetwork/lnd/pull/6504). + ](https://github.com/voltagecloud/lnd/pull/6504). ## RPC Server * [Add value to the field - `remote_balance`](https://github.com/lightningnetwork/lnd/pull/5931) in + `remote_balance`](https://github.com/voltagecloud/lnd/pull/5931) in `pending_force_closing_channels` under `pendingchannels` whereas before was empty(zero). -* The graph's [diameter is calculated](https://github.com/lightningnetwork/lnd/pull/6066) +* The graph's [diameter is calculated](https://github.com/voltagecloud/lnd/pull/6066) and added to the `getnetworkinfo` output. * [Add dev only RPC subserver and the devrpc.ImportGraph - call](https://github.com/lightningnetwork/lnd/pull/6149) + call](https://github.com/voltagecloud/lnd/pull/6149) -* [Extend](https://github.com/lightningnetwork/lnd/pull/6177) the HTLC +* [Extend](https://github.com/voltagecloud/lnd/pull/6177) the HTLC interceptor API to provide more control over failure messages. With this change, it allows encrypted failure messages to be returned to the sender. Additionally it is possible to signal a malformed htlc. -* Add an [always on](https://github.com/lightningnetwork/lnd/pull/6232) mode to +* Add an [always on](https://github.com/voltagecloud/lnd/pull/6232) mode to the HTLC interceptor API. This enables interception applications where every packet must be intercepted. -* Add [destination output information](https://github.com/lightningnetwork/lnd/pull/5476) +* Add [destination output information](https://github.com/voltagecloud/lnd/pull/5476) to the transaction structure returned from the RPC `GetTransactions` and when subscribed with `SubscribeTransactions`. -* [Support for making routes with the legacy onion payload format via `SendToRoute` has been removed.](https://github.com/lightningnetwork/lnd/pull/6385) +* [Support for making routes with the legacy onion payload format via `SendToRoute` has been removed.](https://github.com/voltagecloud/lnd/pull/6385) * Close a gap in the HTLC interceptor API by [intercepting htlcs in the on-chain - resolution flow](https://github.com/lightningnetwork/lnd/pull/6219) too. + resolution flow](https://github.com/voltagecloud/lnd/pull/6219) too. -* [Expose](https://github.com/lightningnetwork/lnd/pull/6454) always on mode of +* [Expose](https://github.com/voltagecloud/lnd/pull/6454) always on mode of the HTLC interceptor API through GetInfo. * [The `lnrpc.ListPayments` RPC now has an optional `count_total_payments` parameter that will cause the `total_num_payments` response field to be set to the total number of payments (complete and incomplete) that are currently - in the payment database](https://github.com/lightningnetwork/lnd/pull/6463). + in the payment database](https://github.com/voltagecloud/lnd/pull/6463). -* [Remove `confirmation_height` field from PendingChannel proto](https://github.com/lightningnetwork/lnd/pull/6472) +* [Remove `confirmation_height` field from PendingChannel proto](https://github.com/voltagecloud/lnd/pull/6472) * [The `walletrpc.ListLeases` RPC (`lncli wallet listleases`) now shows the pkScript and value of a leased - output](https://github.com/lightningnetwork/lnd/pull/6528). + output](https://github.com/voltagecloud/lnd/pull/6528). ## Database * [Add ForAll implementation for etcd to speed up - graph cache at startup](https://github.com/lightningnetwork/lnd/pull/6136) + graph cache at startup](https://github.com/voltagecloud/lnd/pull/6136) -* [Improve validation of a PSBT packet when handling a request to finalize it.](https://github.com/lightningnetwork/lnd/pull/6217) +* [Improve validation of a PSBT packet when handling a request to finalize it.](https://github.com/voltagecloud/lnd/pull/6217) -* [Add new Peers subserver](https://github.com/lightningnetwork/lnd/pull/5587) with a new endpoint for updating the `NodeAnnouncement` data without having to restart the node. +* [Add new Peers subserver](https://github.com/voltagecloud/lnd/pull/5587) with a new endpoint for updating the `NodeAnnouncement` data without having to restart the node. -* Add [htlc expiry protection](https://github.com/lightningnetwork/lnd/pull/6212) +* Add [htlc expiry protection](https://github.com/voltagecloud/lnd/pull/6212) to the htlc interceptor API. * In order to safely advance commitment state, `lnd` saves the past states and constructs a justice transaction in case of a remote breach. The states can grow very large on disk given a busy operating channel, [which is now changed - with a space deduction over (at least) 96 percents.](https://github.com/lightningnetwork/lnd/pull/6347) + with a space deduction over (at least) 96 percents.](https://github.com/voltagecloud/lnd/pull/6347) * Aside from the above database optimization, two new fields, [`InitialLocalBalance` and `InitialRemoteBalance` have been added to each channel to keep track of the push - amount](https://github.com/lightningnetwork/lnd/pull/6551). For open + amount](https://github.com/voltagecloud/lnd/pull/6551). For open channels, these values are taken from reading its past states. For historical(closed) channels, they are patched with empty values as the channels' past states have been deleted during closing. -* [Mobile builds now expose main sub-servers by default](https://github.com/lightningnetwork/lnd/pull/6464). +* [Mobile builds now expose main sub-servers by default](https://github.com/voltagecloud/lnd/pull/6464). All API methods have prefixed the generated methods with the subserver name. This is required to support subservers with name conflicts. ## Documentation -* Improved instructions on [how to build lnd for mobile](https://github.com/lightningnetwork/lnd/pull/6085). -* [Log force-close related messages on "info" level](https://github.com/lightningnetwork/lnd/pull/6124). +* Improved instructions on [how to build lnd for mobile](https://github.com/voltagecloud/lnd/pull/6085). +* [Log force-close related messages on "info" level](https://github.com/voltagecloud/lnd/pull/6124). -* [Add list of build tags](https://github.com/lightningnetwork/lnd/pull/6486) +* [Add list of build tags](https://github.com/voltagecloud/lnd/pull/6486) to the install instructions. ## Monitoring A new [flag (`--prometheus.perfhistograms`) has been added to enable export of -gRPC performance metrics (latency to process `GetInfo`, etc)](https://github.com/lightningnetwork/lnd/pull/6224). +gRPC performance metrics (latency to process `GetInfo`, etc)](https://github.com/voltagecloud/lnd/pull/6224). ## Code Health ### Code cleanup, refactor, typo fixes -* [Refactored itest to better manage contexts inside integration tests](https://github.com/lightningnetwork/lnd/pull/5756). +* [Refactored itest to better manage contexts inside integration tests](https://github.com/voltagecloud/lnd/pull/5756). * [Fix itest not picking up local config file or creating directories in home - dir of the user](https://github.com/lightningnetwork/lnd/pull/6202). + dir of the user](https://github.com/voltagecloud/lnd/pull/6202). -* [A refactor of `SelectHopHints`](https://github.com/lightningnetwork/lnd/pull/6182) +* [A refactor of `SelectHopHints`](https://github.com/voltagecloud/lnd/pull/6182) allows code external to lnd to call the function, where previously it would require access to lnd's internals. -* [rpc-check fails if it finds any changes](https://github.com/lightningnetwork/lnd/pull/6207/) +* [rpc-check fails if it finds any changes](https://github.com/voltagecloud/lnd/pull/6207/) including new and deleted files. * [The `golangci-lint` package was updated and new linters were - enabled](https://github.com/lightningnetwork/lnd/pull/6244). + enabled](https://github.com/voltagecloud/lnd/pull/6244). * The linting process now runs [inside a docker - container](https://github.com/lightningnetwork/lnd/pull/6248) to fix + container](https://github.com/voltagecloud/lnd/pull/6248) to fix versioning issues between projects. -* The [`whitespace` linter](https://github.com/lightningnetwork/lnd/pull/6270) +* The [`whitespace` linter](https://github.com/voltagecloud/lnd/pull/6270) was enabled to make sure multi-line `if` conditions and function/method declarations are followed by an empty line to improve readability. **Note to developers**: please make sure you delete the old version of `golangci-lint` in your `$GOPATH/bin` directory. `make lint` does not automatically replace it with the new version if the binary already exists! -* [`ChannelLink` in the `htlcswitch` now performs a 1-way handoff via a temporary map with its `ChannelArbitrator`.](https://github.com/lightningnetwork/lnd/pull/6322) +* [`ChannelLink` in the `htlcswitch` now performs a 1-way handoff via a temporary map with its `ChannelArbitrator`.](https://github.com/voltagecloud/lnd/pull/6322) -* [The channel-commit-interval is now clamped to a reasonable timeframe of 1h.](https://github.com/lightningnetwork/lnd/pull/6220) +* [The channel-commit-interval is now clamped to a reasonable timeframe of 1h.](https://github.com/voltagecloud/lnd/pull/6220) -* [A function in the gossiper `processNetworkAnnouncements` has been refactored for readability and for future deduplication efforts.](https://github.com/lightningnetwork/lnd/pull/6278) +* [A function in the gossiper `processNetworkAnnouncements` has been refactored for readability and for future deduplication efforts.](https://github.com/voltagecloud/lnd/pull/6278) # Contributors (Alphabetical Order) diff --git a/docs/release-notes/release-notes-0.15.1.md b/docs/release-notes/release-notes-0.15.1.md index 7e489fae1e..e459cba74e 100644 --- a/docs/release-notes/release-notes-0.15.1.md +++ b/docs/release-notes/release-notes-0.15.1.md @@ -3,28 +3,28 @@ ## Protocol/Spec Updates * [We'll now no longer clamp the co-op close fee to the commitment - fee](https://github.com/lightningnetwork/lnd/pull/6770). Instead, if users are + fee](https://github.com/voltagecloud/lnd/pull/6770). Instead, if users are the initiator, they can now specify a max fee that should be respected. ### Zero-Conf Channel Opens -* [Introduces support for zero-conf channel opens and non-zero-conf option_scid_alias channels.](https://github.com/lightningnetwork/lnd/pull/5955) +* [Introduces support for zero-conf channel opens and non-zero-conf option_scid_alias channels.](https://github.com/voltagecloud/lnd/pull/5955) * [The `listchannels` and `closedchannels` APIs have been updated to return alias and zero-conf information. A new `listaliases` API has also been added that returns a data dump of all - existing alias info.](https://github.com/lightningnetwork/lnd/pull/6734) + existing alias info.](https://github.com/voltagecloud/lnd/pull/6734) * [Adds a `ZeroConfAcceptor` that rejects any zero-conf channel opens unless an RPC `ChannelAcceptor` is - active. This is a safety measure to avoid funds loss.](https://github.com/lightningnetwork/lnd/pull/6716) + active. This is a safety measure to avoid funds loss.](https://github.com/voltagecloud/lnd/pull/6716) ### Interoperability * [LND now waits until the peer's `funding_locked` is received before sending the initial - `channel_update`. The BOLT specification requires this.](https://github.com/lightningnetwork/lnd/pull/6664) + `channel_update`. The BOLT specification requires this.](https://github.com/voltagecloud/lnd/pull/6664) ## Build system * [Add the release build directory to the `.gitignore` file to avoid the release binary digest to be different whether that folder exists or - not](https://github.com/lightningnetwork/lnd/pull/6676). + not](https://github.com/voltagecloud/lnd/pull/6676). ## MuSig2 @@ -34,15 +34,15 @@ of the draft BIP. ## Taproot [`lnd` will now refuse to start if it detects the full node backend does not -support Tapoot](https://github.com/lightningnetwork/lnd/pull/6798). [With this -change](https://github.com/lightningnetwork/lnd/pull/6826), the officially +support Tapoot](https://github.com/voltagecloud/lnd/pull/6798). [With this +change](https://github.com/voltagecloud/lnd/pull/6826), the officially supported versions of bitcoind are: 21, 22, and 23. [`lnd` will now use taproot addresses for co-op closes if the remote peer -supports the feature.](https://github.com/lightningnetwork/lnd/pull/6633) +supports the feature.](https://github.com/voltagecloud/lnd/pull/6633) The [wallet also creates P2TR change addresses by -default](https://github.com/lightningnetwork/lnd/pull/6810) in most cases. +default](https://github.com/voltagecloud/lnd/pull/6810) in most cases. **NOTE** for users running a remote signing setup: A manual account import is necessary when upgrading from `lnd v0.14.x-beta` to `lnd v0.15.x-beta`, see [the @@ -53,31 +53,31 @@ Please upgrade to `lnd v0.15.3-beta` or later directly! ## `lncli` * [Add `payment_addr` flag to - `buildroute`](https://github.com/lightningnetwork/lnd/pull/6576) + `buildroute`](https://github.com/voltagecloud/lnd/pull/6576) so that the mpp record of the route can be set correctly. * [Hop hints are now opt in when using `lncli - addholdinvoice`](https://github.com/lightningnetwork/lnd/pull/6577). Users now + addholdinvoice`](https://github.com/voltagecloud/lnd/pull/6577). Users now need to explicitly specify the `--private` flag. * [Add `chan_point` flag to - `updatechanstatus` and `abandonchannel`](https://github.com/lightningnetwork/lnd/pull/6705) + `updatechanstatus` and `abandonchannel`](https://github.com/voltagecloud/lnd/pull/6705) to offer a convenient way to specify the channel to be updated. * [Add `ignore_pair` flag to - queryroutes](https://github.com/lightningnetwork/lnd/pull/6724) to allow a + queryroutes](https://github.com/voltagecloud/lnd/pull/6724) to allow a user to request that specific directional node pairs be ignored during the route search. ## Database -* [Delete failed payment attempts](https://github.com/lightningnetwork/lnd/pull/6438) +* [Delete failed payment attempts](https://github.com/voltagecloud/lnd/pull/6438) once payments are settled, unless specified with `keep-failed-payment-attempts` flag. * [A new db configuration flag - `db.prune-revocation`](https://github.com/lightningnetwork/lnd/pull/6469) is + `db.prune-revocation`](https://github.com/voltagecloud/lnd/pull/6469) is introduced to take the advantage enabled by [a recent space - optimization](https://github.com/lightningnetwork/lnd/pull/6347). Users can + optimization](https://github.com/voltagecloud/lnd/pull/6347). Users can set this flag to `true` to run an optional db migration during `lnd`'s startup. This flag will prune the old revocation logs and save them using the new format that can save large amount of disk space. @@ -93,99 +93,99 @@ Please upgrade to `lnd v0.15.3-beta` or later directly! ## Documentation -* [Add minor comment](https://github.com/lightningnetwork/lnd/pull/6559) on +* [Add minor comment](https://github.com/voltagecloud/lnd/pull/6559) on subscribe/cancel/lookup invoice parameter encoding. -* [Log pubkey for peer related messages](https://github.com/lightningnetwork/lnd/pull/6588). +* [Log pubkey for peer related messages](https://github.com/voltagecloud/lnd/pull/6588). ## Neutrino -* Add [getblockhash command](https://github.com/lightningnetwork/lnd/pull/6510) to +* Add [getblockhash command](https://github.com/voltagecloud/lnd/pull/6510) to neutrino sub-server. ## RPC Server * [Add previous_outpoints to - `GetTransactions` RPC](https://github.com/lightningnetwork/lnd/pull/6321). + `GetTransactions` RPC](https://github.com/voltagecloud/lnd/pull/6321). * [Fix P2TR support in - `ComputeInputScript`](https://github.com/lightningnetwork/lnd/pull/6680). + `ComputeInputScript`](https://github.com/voltagecloud/lnd/pull/6680). * [Add wallet reserve RPC & field in wallet - balance](https://github.com/lightningnetwork/lnd/pull/6592). + balance](https://github.com/voltagecloud/lnd/pull/6592). * The RPC middleware interceptor now also allows [requests to be - replaced](https://github.com/lightningnetwork/lnd/pull/6630) instead of just + replaced](https://github.com/voltagecloud/lnd/pull/6630) instead of just responses. In addition to that, errors returned from `lnd` can now also be intercepted and changed by the middleware. * The `signrpc.SignMessage` and `signrpc.VerifyMessage` now supports [Schnorr - signatures](https://github.com/lightningnetwork/lnd/pull/6722). + signatures](https://github.com/voltagecloud/lnd/pull/6722). * [A new flag `skip_temp_err` is added to - `SendToRoute`](https://github.com/lightningnetwork/lnd/pull/6545). Set it to + `SendToRoute`](https://github.com/voltagecloud/lnd/pull/6545). Set it to true so the payment won't be failed unless a terminal error has occurred, which is useful for constructing MPP. * [Add a message to the RPC MW registration - flow](https://github.com/lightningnetwork/lnd/pull/6754) so that the server + flow](https://github.com/voltagecloud/lnd/pull/6754) so that the server can indicate to the client that it has completed the RPC MW registration. ## Bug Fixes * [LND no longer creates non-standard transactions when calling SendCoins with the all flag. This would manifest with p2wsh/p2pkh output scripts at - 1sat/vbyte.](https://github.com/lightningnetwork/lnd/pull/6740) + 1sat/vbyte.](https://github.com/voltagecloud/lnd/pull/6740) * Fixed data race found in - [`TestSerializeHTLCEntries`](https://github.com/lightningnetwork/lnd/pull/6673). + [`TestSerializeHTLCEntries`](https://github.com/voltagecloud/lnd/pull/6673). * [Fixed a bug in the `SignPsbt` RPC that produced an invalid response when - signing a NP2WKH input](https://github.com/lightningnetwork/lnd/pull/6687). + signing a NP2WKH input](https://github.com/voltagecloud/lnd/pull/6687). -* [Fix race condition in `sign_psbt` test](https://github.com/lightningnetwork/lnd/pull/6741). +* [Fix race condition in `sign_psbt` test](https://github.com/voltagecloud/lnd/pull/6741). * [Update the `urfave/cli` - package](https://github.com/lightningnetwork/lnd/pull/6682) because of a flag + package](https://github.com/voltagecloud/lnd/pull/6682) because of a flag parsing bug. * [DisconnectPeer no longer interferes with the peerTerminationWatcher. This previously caused - force closes.](https://github.com/lightningnetwork/lnd/pull/6655) + force closes.](https://github.com/voltagecloud/lnd/pull/6655) * [The HtlcSwitch now waits for a ChannelLink to stop before replacing it. This fixes a race - condition.](https://github.com/lightningnetwork/lnd/pull/6642) + condition.](https://github.com/voltagecloud/lnd/pull/6642) * [Integration tests now always run with nodes never deleting failed - payments](https://github.com/lightningnetwork/lnd/pull/6712). + payments](https://github.com/voltagecloud/lnd/pull/6712). * [Fixes a key scope issue preventing new remote signing setups to be created - with `v0.15.0-beta`](https://github.com/lightningnetwork/lnd/pull/6714). + with `v0.15.0-beta`](https://github.com/voltagecloud/lnd/pull/6714). * [Re-initialise registered middleware index lookup map after removal of a - registered middleware](https://github.com/lightningnetwork/lnd/pull/6739) + registered middleware](https://github.com/voltagecloud/lnd/pull/6739) * [Bitcoind cookie file path can be specified with zmq - options](https://github.com/lightningnetwork/lnd/pull/6736) + options](https://github.com/voltagecloud/lnd/pull/6736) * [Remove `ScidAliasOptional` dependency on -`ExplicitChannelTypeOptional`](https://github.com/lightningnetwork/lnd/pull/6809) +`ExplicitChannelTypeOptional`](https://github.com/voltagecloud/lnd/pull/6809) -* [Add a default case](https://github.com/lightningnetwork/lnd/pull/6847) to the +* [Add a default case](https://github.com/voltagecloud/lnd/pull/6847) to the Address Type switch statement in the `NewAddress` rpc server method. ## Code Health ### Code cleanup, refactor, typo fixes -* [Migrate instances of assert.NoError to require.NoError](https://github.com/lightningnetwork/lnd/pull/6636). +* [Migrate instances of assert.NoError to require.NoError](https://github.com/voltagecloud/lnd/pull/6636). -* [Enforce the order of rpc interceptor execution](https://github.com/lightningnetwork/lnd/pull/6709) to be the same as the +* [Enforce the order of rpc interceptor execution](https://github.com/voltagecloud/lnd/pull/6709) to be the same as the order in which they were registered. ### Tooling and documentation * An [`.editorconfig` file was - added](https://github.com/lightningnetwork/lnd/pull/6681) to autoconfigure + added](https://github.com/voltagecloud/lnd/pull/6681) to autoconfigure most text editors to respect the 80 character line length and to use 8 spaces as the tab size. Rules for Visual Studio Code were also added. And finally, the code formatting rules were extracted into their [own diff --git a/docs/release-notes/release-notes-0.15.2.md b/docs/release-notes/release-notes-0.15.2.md index f3e58adefc..18c288f769 100644 --- a/docs/release-notes/release-notes-0.15.2.md +++ b/docs/release-notes/release-notes-0.15.2.md @@ -3,7 +3,7 @@ ## Bug Fixes * [A wire parsing bug has been fixed that would cause lnd to be unable _decode_ - certain large blocks](https://github.com/lightningnetwork/lnd/pull/7004) + certain large blocks](https://github.com/voltagecloud/lnd/pull/7004) # Contributors (Alphabetical Order) diff --git a/docs/release-notes/release-notes-0.15.3.md b/docs/release-notes/release-notes-0.15.3.md index 897913d7f6..3053b91fe5 100644 --- a/docs/release-notes/release-notes-0.15.3.md +++ b/docs/release-notes/release-notes-0.15.3.md @@ -3,30 +3,30 @@ ## RPC/REST Server - A `POST` URL mapping [was added to the REST version of the `QueryRoutes` call - (`POST /v1/graph/routes`)](https://github.com/lightningnetwork/lnd/pull/6926) + (`POST /v1/graph/routes`)](https://github.com/voltagecloud/lnd/pull/6926) to make it possible to specify `route_hints` over REST. ## Bug Fixes * [A bug has been fixed where the responder of a zero-conf channel could forget - about the channel after a hard-coded 2016 blocks.](https://github.com/lightningnetwork/lnd/pull/6998) + about the channel after a hard-coded 2016 blocks.](https://github.com/voltagecloud/lnd/pull/6998) * [A bug where LND wouldn't send a ChannelUpdate during a channel open has - been fixed.](https://github.com/lightningnetwork/lnd/pull/6892) + been fixed.](https://github.com/voltagecloud/lnd/pull/6892) * [A bug has been fixed that caused fee estimation to be incorrect for taproot - inputs when using the `SendOutputs` call.](https://github.com/lightningnetwork/lnd/pull/6941) + inputs when using the `SendOutputs` call.](https://github.com/voltagecloud/lnd/pull/6941) * [A bug has been fixed that could cause lnd to underpay for co-op close transaction when or both of the outputs used a P2TR - addresss.](https://github.com/lightningnetwork/lnd/pull/6957) + addresss.](https://github.com/voltagecloud/lnd/pull/6957) ## Taproot * [Add `p2tr` address type to account - import](https://github.com/lightningnetwork/lnd/pull/6966). + import](https://github.com/voltagecloud/lnd/pull/6966). **NOTE** for users running a remote signing setup: A manual account import is necessary when upgrading from `lnd v0.14.x-beta` to `lnd v0.15.x-beta`, see [the @@ -36,7 +36,7 @@ details](../remote-signing.md#migrating-a-remote-signing-setup-from-014x-to-015x ## Performance improvements * [Refactor hop hint selection - algorithm](https://github.com/lightningnetwork/lnd/pull/6914) + algorithm](https://github.com/voltagecloud/lnd/pull/6914) # Contributors (Alphabetical Order) diff --git a/docs/release-notes/release-notes-0.15.4.md b/docs/release-notes/release-notes-0.15.4.md index b90fa33e30..2a00b00117 100644 --- a/docs/release-notes/release-notes-0.15.4.md +++ b/docs/release-notes/release-notes-0.15.4.md @@ -3,7 +3,7 @@ ## Bug Fixes * [A wire parsing bug has been fixed that would cause lnd to be unable _decode_ - certain large transactions](https://github.com/lightningnetwork/lnd/pull/7098). + certain large transactions](https://github.com/voltagecloud/lnd/pull/7098). # Contributors (Alphabetical Order) diff --git a/docs/release-notes/release-notes-0.15.5.md b/docs/release-notes/release-notes-0.15.5.md index 2f3c7bcbf7..814d6a5125 100644 --- a/docs/release-notes/release-notes-0.15.5.md +++ b/docs/release-notes/release-notes-0.15.5.md @@ -3,13 +3,13 @@ ## Bug Fixes * [A Taproot related key tweak issue was fixed in `btcd` that affected remote - signing setups](https://github.com/lightningnetwork/lnd/pull/7130). + signing setups](https://github.com/voltagecloud/lnd/pull/7130). * [Taproot changes addresses are now used by default for the `SendCoins` - RPC](https://github.com/lightningnetwork/lnd/pull/7193). + RPC](https://github.com/voltagecloud/lnd/pull/7193). * [A 1 second interval has been added between `FundingLocked` receipt - checks](https://github.com/lightningnetwork/lnd/pull/7095). This reduces idle + checks](https://github.com/voltagecloud/lnd/pull/7095). This reduces idle CPU usage for pending/dangling funding attempts. # Contributors (Alphabetical Order) diff --git a/docs/release-notes/release-notes-0.16.0.md b/docs/release-notes/release-notes-0.16.0.md index 62cdb85792..fe3d4213c4 100644 --- a/docs/release-notes/release-notes-0.16.0.md +++ b/docs/release-notes/release-notes-0.16.0.md @@ -4,16 +4,16 @@ `lnd` will now [properly prioritize sending out gossip updates generated locally to all connected -peers](https://github.com/lightningnetwork/lnd/pull/7239), regardless of their +peers](https://github.com/voltagecloud/lnd/pull/7239), regardless of their current gossip sync query status. -There's also a [bug fix](https://github.com/lightningnetwork/lnd/pull/7186) +There's also a [bug fix](https://github.com/voltagecloud/lnd/pull/7186) that might lead to channel updates being missed, causing channel graph being incomplete. Aside from that, a potential announcement messages being sent out -of order is also [fixed](https://github.com/lightningnetwork/lnd/pull/7264). +of order is also [fixed](https://github.com/voltagecloud/lnd/pull/7264). `lnd` will now attempt to [rebroadcast unconfirmed -transactions](https://github.com/lightningnetwork/lnd/pull/7448) with each +transactions](https://github.com/voltagecloud/lnd/pull/7448) with each passing block the transaction hasn't been confirmed. This was already the default for the neutrino backend. This complements the existing behavior where all unconfirmed transactions are rebroadcast on start up. @@ -21,41 +21,41 @@ all unconfirmed transactions are rebroadcast on start up. ## BOLT Specs * Warning messages from peers are now recognized and - [logged](https://github.com/lightningnetwork/lnd/pull/6546) by lnd. + [logged](https://github.com/voltagecloud/lnd/pull/6546) by lnd. * Decrypt onion failure messages with a [length greater than 256 - bytes](https://github.com/lightningnetwork/lnd/pull/6913). This moves LND + bytes](https://github.com/voltagecloud/lnd/pull/6913). This moves LND closer to being spec compliant. * Channel updates without the maxHTLC message flag set are recognized as invalid - and are [not relayed](https://github.com/lightningnetwork/lnd/pull/7415). + and are [not relayed](https://github.com/voltagecloud/lnd/pull/7415). ## RPC * The `RegisterConfirmationsNtfn` call of the `chainnotifier` RPC sub-server [now optionally supports returning the entire block that confirmed the - transaction](https://github.com/lightningnetwork/lnd/pull/6730). + transaction](https://github.com/voltagecloud/lnd/pull/6730). * [Add `macaroon_root_key` field to - `InitWalletRequest`](https://github.com/lightningnetwork/lnd/pull/6457) to + `InitWalletRequest`](https://github.com/voltagecloud/lnd/pull/6457) to allow specifying a root key for macaroons during wallet init rather than having lnd randomly generate one for you. -* [A new `SignedInputs`](https://github.com/lightningnetwork/lnd/pull/6771) +* [A new `SignedInputs`](https://github.com/voltagecloud/lnd/pull/6771) field is added to `SignPsbtResponse` that returns the indices of inputs that were signed by our wallet. Prior to this change `SignPsbt` didn't indicate whether the Psbt held any inputs for our wallet to sign. -* [Add list addresses RPC](https://github.com/lightningnetwork/lnd/pull/6596). +* [Add list addresses RPC](https://github.com/voltagecloud/lnd/pull/6596). -* Add [TrackPayments](https://github.com/lightningnetwork/lnd/pull/6335) +* Add [TrackPayments](https://github.com/voltagecloud/lnd/pull/6335) method to the RPC to allow subscribing to updates from any inflight payment. Similar to TrackPaymentV2, but for any inflight payment. -* [Catch and throw an error](https://github.com/lightningnetwork/lnd/pull/6945) +* [Catch and throw an error](https://github.com/voltagecloud/lnd/pull/6945) during `openchannel` if the local funding amount given is zero. -* [Extend](https://github.com/lightningnetwork/lnd/pull/6831) the HTLC +* [Extend](https://github.com/voltagecloud/lnd/pull/6831) the HTLC interceptor server implementation with watchdog functionality to cancel back HTLCs for which an interceptor client does not provide a resolution in time. If an HTLC expires, the counterparty will claim it back on-chain and the @@ -63,28 +63,28 @@ all unconfirmed transactions are rebroadcast on start up. a few blocks before so that the channel is saved. * [Make remote channel reserve amount configurable for - `openchannel`](https://github.com/lightningnetwork/lnd/pull/6956) + `openchannel`](https://github.com/voltagecloud/lnd/pull/6956) -* [`ForwardingHistory` ](https://github.com/lightningnetwork/lnd/pull/7001) now +* [`ForwardingHistory` ](https://github.com/voltagecloud/lnd/pull/7001) now enriches each forwarding event with inbound and outbound peer alias names if the new flag `PeerAliasLookup` in `ForwardingHistoryRequest` is set to true. - [`lncli fwdinghistory` ](https://github.com/lightningnetwork/lnd/pull/7083) + [`lncli fwdinghistory` ](https://github.com/voltagecloud/lnd/pull/7083) enables this feature by default but adds a new flag `skip_peer_alias_lookup` to skip the lookup. * [Add the possibility to define a change address type - for FundPsbt RPC call](https://github.com/lightningnetwork/lnd/pull/7348). + for FundPsbt RPC call](https://github.com/voltagecloud/lnd/pull/7348). If no address type is specified for default/imported accounts, P2WKH will be used. No custom address type should be provided for custom accounts as we will always use the coin selection key scope to generate the change address. This possibility is available in lncli as well. * The graph lookups method `DescribeGraph`, `GetNodeInfo` and `GetChanInfo` now - [expose tlv data](https://github.com/lightningnetwork/lnd/pull/7085) that is + [expose tlv data](https://github.com/voltagecloud/lnd/pull/7085) that is broadcast over the gossip network. * [Add new HTLC notifier event and lookup - RPC](https://github.com/lightningnetwork/lnd/pull/6517) for the final + RPC](https://github.com/voltagecloud/lnd/pull/6517) for the final settlement of incoming HTLCs. This allows applications to wait for the HTLC to actually disappear from all valid commitment transactions, rather than assume that it will. With the new extensions, situations can be avoided where the @@ -92,47 +92,47 @@ all unconfirmed transactions are rebroadcast on start up. Final resolution data will only be available for htlcs that are resolved after upgrading lnd. Once resolved, it's final status can be retrieved via - [`LookupHtlcResolution`](https://github.com/lightningnetwork/lnd/pull/7467). + [`LookupHtlcResolution`](https://github.com/voltagecloud/lnd/pull/7467). - This feature is [opt-in](https://github.com/lightningnetwork/lnd/pull/7341) + This feature is [opt-in](https://github.com/voltagecloud/lnd/pull/7341) via a config flag. The status of the flag is - [exposed](https://github.com/lightningnetwork/lnd/pull/7402) at run-time + [exposed](https://github.com/voltagecloud/lnd/pull/7402) at run-time through GetInfo. * Zero-amount private invoices [now provide hop - hints](https://github.com/lightningnetwork/lnd/pull/7082), up to `maxHopHints` + hints](https://github.com/voltagecloud/lnd/pull/7082), up to `maxHopHints` (20 currently). * [Add `creation_date_start` and `creation_date_end` filter fields to `ListInvoiceRequest` and - `ListPaymentsRequest`](https://github.com/lightningnetwork/lnd/pull/7159). + `ListPaymentsRequest`](https://github.com/voltagecloud/lnd/pull/7159). -* [Add chainkit RPC endpoints](https://github.com/lightningnetwork/lnd/pull/7197): +* [Add chainkit RPC endpoints](https://github.com/voltagecloud/lnd/pull/7197): GetBlock, GetBestBlock, GetBlockHash. These endpoints provide access to chain block data. * [`QueryProbabiltiy` is deprecated. Internal mission control state can be obtained via `QueryMissionControl`.]( - https://github.com/lightningnetwork/lnd/pull/6857) + https://github.com/voltagecloud/lnd/pull/6857) * [Ensure that closing addresses match the node network for `OpenChannel` - requests](https://github.com/lightningnetwork/lnd/pull/7272) + requests](https://github.com/voltagecloud/lnd/pull/7272) * The `SendCustomMessage` and `SubscribeCustomMessage` APIs can now be used to send and receive custom messages below the custom range if lnd is built with the `dev` tag, and configured to [opt into overriding a specific message - type](https://github.com/lightningnetwork/lnd/pull/7153) + type](https://github.com/voltagecloud/lnd/pull/7153) * [Sign/Verify messages and signatures for single - addresses](https://github.com/lightningnetwork/lnd/pull/7231). + addresses](https://github.com/voltagecloud/lnd/pull/7231). * [A bug has been fixed within the `SignOutputRaw` call for taproot - signatures](https://github.com/lightningnetwork/lnd/pull/7332). The + signatures](https://github.com/voltagecloud/lnd/pull/7332). The `SignOutputRaw` call will now properly work for taproot signatures with a non-default sighash. * [The experimental MuSig2 RPC in the `signrpc` package was upgraded to the BIP - draft version `v1.0.0rc2`](https://github.com/lightningnetwork/lnd/pull/7171). + draft version `v1.0.0rc2`](https://github.com/voltagecloud/lnd/pull/7171). To remain backward compatible with applications that have on-chain funds on keys that were created with the previous version of the MuSig2 BIP draft `v0.4.0` (such as Pool accounts) a version flag was added to the @@ -142,308 +142,308 @@ all unconfirmed transactions are rebroadcast on start up. to the new version. * [A bug has been fixed which could cause `lnd` to crash when parsing a - malformed HTLC intercept message](https://github.com/lightningnetwork/lnd/pull/7392). + malformed HTLC intercept message](https://github.com/voltagecloud/lnd/pull/7392). -* [A bug](https://github.com/lightningnetwork/lnd/pull/7408) in the +* [A bug](https://github.com/voltagecloud/lnd/pull/7408) in the `updatenodeannouncement` peers cli which did not allow setting/ unsetting of feature bits also has been fixed. * [Enrich the `Channel` message with a peers' alias in order to retrieve it - in `ListChannels`.](https://github.com/lightningnetwork/lnd/pull/7322) This + in `ListChannels`.](https://github.com/voltagecloud/lnd/pull/7322) This behavior is opt-in for users of the rpc interface through a new parameter in `ListChannelsRequest` called `PeerAliasLookup`. For users of lncli this parameter is enabled by default but can be disabled with a new flag `--skip_peer_alias_lookup`. * Assign potential peer alias lookup errors in the [`ListChannels` and - `ForwardingHistory`rpcs](https://github.com/lightningnetwork/lnd/pull/7471) to + `ForwardingHistory`rpcs](https://github.com/voltagecloud/lnd/pull/7471) to the rpc response. ## Wallet * [Allows Taproot public keys and tap scripts to be imported as watch-only addresses into the internal - wallet](https://github.com/lightningnetwork/lnd/pull/6775). NOTE that funding + wallet](https://github.com/voltagecloud/lnd/pull/6775). NOTE that funding PSBTs from imported tap scripts is not currently possible. * [The wallet birthday is now used properly when creating a watch-only wallet to avoid scanning the whole - chain](https://github.com/lightningnetwork/lnd/pull/7056). + chain](https://github.com/voltagecloud/lnd/pull/7056). * [The PSBT output information for change outputs is now properly added when funding a PSBT through - `FundPsbt`](https://github.com/lightningnetwork/lnd/pull/7209). + `FundPsbt`](https://github.com/voltagecloud/lnd/pull/7209). * [Fix the issue of ghost UTXOs not being detected as spent if they were created - with an external tool](https://github.com/lightningnetwork/lnd/pull/7243). + with an external tool](https://github.com/voltagecloud/lnd/pull/7243). * [Add log message for edge - case](https://github.com/lightningnetwork/lnd/pull/7115). + case](https://github.com/voltagecloud/lnd/pull/7115). * [A remote signer issue was fixed that caused opening channels to fail when multiple mixed-type inputs were used for the funding - transaction](https://github.com/lightningnetwork/lnd/pull/7386). + transaction](https://github.com/voltagecloud/lnd/pull/7386). ## Build * [The project has updated to Go -1.19](https://github.com/lightningnetwork/lnd/pull/6795)! Go 1.18 is now the +1.19](https://github.com/voltagecloud/lnd/pull/6795)! Go 1.18 is now the minimum version needed to build the project. * [The minimum recommended version of the Go 1.19.x series is 1.19.2 because 1.19.1 contained a bug that affected lnd and resulted in a -crash](https://github.com/lightningnetwork/lnd/pull/7019). +crash](https://github.com/voltagecloud/lnd/pull/7019). * [Use Go's `runtime/debug` package to get information about the build]( -https://github.com/lightningnetwork/lnd/pull/6963/) +https://github.com/voltagecloud/lnd/pull/6963/) * [A wire parsing bug has been fixed that would cause lnd to be unable _decode_ -certain large transactions](https://github.com/lightningnetwork/lnd/pull/7100). +certain large transactions](https://github.com/voltagecloud/lnd/pull/7100). ## Invoices -* Define a new [InvoiceDB](https://github.com/lightningnetwork/lnd/pull/7215) +* Define a new [InvoiceDB](https://github.com/voltagecloud/lnd/pull/7215) interface to be used in all the packages that need to interact with invoice data. ## Misc * [Fixed a bug where the Switch did not reforward settles or fails for - waiting-close channels](https://github.com/lightningnetwork/lnd/pull/6789) + waiting-close channels](https://github.com/voltagecloud/lnd/pull/6789) * [Fixed a flake in the TestChannelLinkCancelFullCommitment unit - test](https://github.com/lightningnetwork/lnd/pull/6792). + test](https://github.com/voltagecloud/lnd/pull/6792). -* [Fixed error typo](https://github.com/lightningnetwork/lnd/pull/6659). +* [Fixed error typo](https://github.com/voltagecloud/lnd/pull/6659). * [The macaroon key store implementation was refactored to be more generally - usable](https://github.com/lightningnetwork/lnd/pull/6509). + usable](https://github.com/voltagecloud/lnd/pull/6509). * Add [an itest for the neutrino - sub-server](https://github.com/lightningnetwork/lnd/pull/6783). + sub-server](https://github.com/voltagecloud/lnd/pull/6783). * [Fixed a bug where cookie authentication with Tor would fail if the cookie - path contained spaces](https://github.com/lightningnetwork/lnd/pull/6829). - [With the module updated](https://github.com/lightningnetwork/lnd/pull/6836), + path contained spaces](https://github.com/voltagecloud/lnd/pull/6829). + [With the module updated](https://github.com/voltagecloud/lnd/pull/6836), `lnd` now parses Tor control port messages correctly. * [Add option to encrypt Tor private - key](https://github.com/lightningnetwork/lnd/pull/6500), and [update the Tor - module](https://github.com/lightningnetwork/lnd/pull/6526) to pave the way for + key](https://github.com/voltagecloud/lnd/pull/6500), and [update the Tor + module](https://github.com/voltagecloud/lnd/pull/6526) to pave the way for this functionality. * [Fixed potential data race on funding manager - restart](https://github.com/lightningnetwork/lnd/pull/6929). + restart](https://github.com/voltagecloud/lnd/pull/6929). * [Fixed a flake in the TestBlockCacheMutexes unit - test](https://github.com/lightningnetwork/lnd/pull/7029). + test](https://github.com/voltagecloud/lnd/pull/7029). * [Create a helper function to wait for peer to come - online](https://github.com/lightningnetwork/lnd/pull/6931). + online](https://github.com/voltagecloud/lnd/pull/6931). -* [Stop handling peer warning messages as errors](https://github.com/lightningnetwork/lnd/pull/6840) +* [Stop handling peer warning messages as errors](https://github.com/voltagecloud/lnd/pull/6840) * [Stop sending a synchronizing error on the wire when out of - sync](https://github.com/lightningnetwork/lnd/pull/7039). + sync](https://github.com/voltagecloud/lnd/pull/7039). -* [Update cert module](https://github.com/lightningnetwork/lnd/pull/6573) to +* [Update cert module](https://github.com/voltagecloud/lnd/pull/6573) to allow a way to update the tls certificate without restarting lnd. * [Fixed a bug where paying an invoice with a malformed route hint triggers a - never-ending retry loop](https://github.com/lightningnetwork/lnd/pull/6766) + never-ending retry loop](https://github.com/voltagecloud/lnd/pull/6766) * [Migrated from go-fuzz to Go 1.18's new standard fuzz testing - library](https://github.com/lightningnetwork/lnd/pull/7127). [Updated build + library](https://github.com/voltagecloud/lnd/pull/7127). [Updated build and documentation to reflect - this](https://github.com/lightningnetwork/lnd/pull/7142). + this](https://github.com/voltagecloud/lnd/pull/7142). * [Added missing wire tests for Warning - message](https://github.com/lightningnetwork/lnd/pull/7143). + message](https://github.com/voltagecloud/lnd/pull/7143). * [The description for the `--gossip.pinned-syncers` flag was fixed to explain that multiple peers can be specified by using the flag multiple times instead of using a comma separated list of - values](https://github.com/lightningnetwork/lnd/pull/7207). + values](https://github.com/voltagecloud/lnd/pull/7207). * [Updated several tlv stream-decoding callsites to use tlv/v1.1.0 P2P variants - for untrusted input.](https://github.com/lightningnetwork/lnd/pull/7227) + for untrusted input.](https://github.com/voltagecloud/lnd/pull/7227) * [Prevent nil pointer dereference during funding manager - test](https://github.com/lightningnetwork/lnd/pull/7268) + test](https://github.com/voltagecloud/lnd/pull/7268) -* Fixed a [failure message parsing bug](https://github.com/lightningnetwork/lnd/pull/7262) +* Fixed a [failure message parsing bug](https://github.com/voltagecloud/lnd/pull/7262) that caused additional failure message data to be interpreted as being part of a channel update. -* [Fix addinvoice expiry flag comment](https://github.com/lightningnetwork/lnd/pull/7306). +* [Fix addinvoice expiry flag comment](https://github.com/voltagecloud/lnd/pull/7306). -* [Code style cleanup](https://github.com/lightningnetwork/lnd/pull/7308) in the +* [Code style cleanup](https://github.com/voltagecloud/lnd/pull/7308) in the funding package. * [Fixed a flake in the TestMailBoxAddExpiry unit - test](https://github.com/lightningnetwork/lnd/pull/7314). + test](https://github.com/voltagecloud/lnd/pull/7314). -* [Fix gomnd linter error](https://github.com/lightningnetwork/lnd/pull/7325) +* [Fix gomnd linter error](https://github.com/voltagecloud/lnd/pull/7325) * [Fix race condition in -`TestUpdatePaymentState`](https://github.com/lightningnetwork/lnd/pull/7336) +`TestUpdatePaymentState`](https://github.com/voltagecloud/lnd/pull/7336) * [Decreased the mutex lock - scope](https://github.com/lightningnetwork/lnd/pull/7330) inside `ChannelRouter`. + scope](https://github.com/voltagecloud/lnd/pull/7330) inside `ChannelRouter`. * [Add Custom Message to the fuzz testsuite -in the lnwire package](https://github.com/lightningnetwork/lnd/pull/7303) +in the lnwire package](https://github.com/voltagecloud/lnd/pull/7303) * [Remove non-existent Cleanup calls from etcd test code in the `kvdb` - package](https://github.com/lightningnetwork/lnd/pull/7352) + package](https://github.com/voltagecloud/lnd/pull/7352) * [A bug has been fixed where a reorg would cause zero-conf channels to be deleted - from the graph.](https://github.com/lightningnetwork/lnd/pull/7292) + from the graph.](https://github.com/voltagecloud/lnd/pull/7292) -* [Add a flag](https://github.com/lightningnetwork/lnd/pull/6527) to allow for +* [Add a flag](https://github.com/voltagecloud/lnd/pull/6527) to allow for the option to encrypt the tls key. -* [Remove unused args](https://github.com/lightningnetwork/lnd/pull/7387) +* [Remove unused args](https://github.com/voltagecloud/lnd/pull/7387) from `cert.GenCertPair`. -* [Fixup GenCertPair use](https://github.com/lightningnetwork/lnd/pull/7388) +* [Fixup GenCertPair use](https://github.com/voltagecloud/lnd/pull/7388) after updating to cert/v1.2.1. ## `lncli` * [Add an `insecure` flag to skip tls auth as well as a `metadata` string slice - flag](https://github.com/lightningnetwork/lnd/pull/6818) that allows the + flag](https://github.com/voltagecloud/lnd/pull/6818) that allows the caller to specify key-value string pairs that should be appended to the outgoing context. -* [Fix](https://github.com/lightningnetwork/lnd/pull/6858) command line argument +* [Fix](https://github.com/voltagecloud/lnd/pull/6858) command line argument parsing for `lncli sendpayment`. -* [Fix](https://github.com/lightningnetwork/lnd/pull/6875) mapslice cap out of +* [Fix](https://github.com/voltagecloud/lnd/pull/6875) mapslice cap out of range error that occurs if the number of profiles is zero. * [A new config option, `batchwindowduration` has been added to - `sweeper`](https://github.com/lightningnetwork/lnd/pull/6868) to allow + `sweeper`](https://github.com/voltagecloud/lnd/pull/6868) to allow customize sweeper batch duration. * [Add `base_fee_msat` and `fee_rate_ppm` flags to - `openchannel`](https://github.com/lightningnetwork/lnd/pull/6753) requests + `openchannel`](https://github.com/voltagecloud/lnd/pull/6753) requests so that the user can specify fees during channel creation time in addition to the default configuration. * [Sleep for 10ms when funding locked message is not - received](https://github.com/lightningnetwork/lnd/pull/7126) to avoid CPU + received](https://github.com/voltagecloud/lnd/pull/7126) to avoid CPU spike. * [A new config option, `mailboxdeliverytimeout` has been added to - `htlcswitch`](https://github.com/lightningnetwork/lnd/pull/7066). + `htlcswitch`](https://github.com/voltagecloud/lnd/pull/7066). * [Label the openchannel tx first before notifying the channel open - event.](https://github.com/lightningnetwork/lnd/pull/7158) + event.](https://github.com/voltagecloud/lnd/pull/7158) * [Add check for `pay_req` argument in `sendpayment` and `decodepayreq` commands to trim "lightning:" prefix before processing the request]( - https://github.com/lightningnetwork/lnd/pull/7150). Invoices may be prefixed + https://github.com/voltagecloud/lnd/pull/7150). Invoices may be prefixed with "lightning:" on mobile and web apps and it's likely for users to copy the invoice payment request together with the prefix, which throws checksum error when pasting it to the CLI. -* [Allow lncli to read binary PSBTs](https://github.com/lightningnetwork/lnd/pull/7122) +* [Allow lncli to read binary PSBTs](https://github.com/voltagecloud/lnd/pull/7122) from a file during PSBT channel funding flow to comply with [BIP 174](https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki#specification) -* [Add interface to chainkit RPC](https://github.com/lightningnetwork/lnd/pull/7197). +* [Add interface to chainkit RPC](https://github.com/voltagecloud/lnd/pull/7197). This addition consists of the `chain` subcommand group: `getblock`, `getblockhash`, and `getbestblock`. These commands provide access to chain block data. -* [Fixed a bug](https://github.com/lightningnetwork/lnd/pull/7186) that might +* [Fixed a bug](https://github.com/voltagecloud/lnd/pull/7186) that might lead to channel updates being missed, causing channel graph being incomplete. * During reconnection, enabling channels might be failed due to the startup of link is falling behind, which is now fixed by [retrying the enable - request](https://github.com/lightningnetwork/lnd/pull/7157). + request](https://github.com/voltagecloud/lnd/pull/7157). * [Sign/Verify messages and signatures for single - addresses](https://github.com/lightningnetwork/lnd/pull/7231). + addresses](https://github.com/voltagecloud/lnd/pull/7231). * [Allow `--stateless_init` mode to be used for watch-only - wallets](https://github.com/lightningnetwork/lnd/pull/7462). + wallets](https://github.com/voltagecloud/lnd/pull/7462). ## Code Health * [test: use `T.TempDir` to create temporary test - directory](https://github.com/lightningnetwork/lnd/pull/6710) + directory](https://github.com/voltagecloud/lnd/pull/6710) * [The `tlv` package now allows decoding records larger than 65535 bytes. The caller is expected to know that doing so with untrusted input is - unsafe.](https://github.com/lightningnetwork/lnd/pull/6779) + unsafe.](https://github.com/voltagecloud/lnd/pull/6779) * [test: replace defer cleanup with - `t.Cleanup`](https://github.com/lightningnetwork/lnd/pull/6864). + `t.Cleanup`](https://github.com/voltagecloud/lnd/pull/6864). * [test: fix loop variables being accessed in - closures](https://github.com/lightningnetwork/lnd/pull/7032). + closures](https://github.com/voltagecloud/lnd/pull/7032). * [Fix loop and other temporary variables being accessed in - goroutines](https://github.com/lightningnetwork/lnd/pull/7188). + goroutines](https://github.com/voltagecloud/lnd/pull/7188). * [CI: update test coverage library - go-acc](https://github.com/lightningnetwork/lnd/pull/7221) v0.2.6 -> v0.2.8 + go-acc](https://github.com/voltagecloud/lnd/pull/7221) v0.2.6 -> v0.2.8 * Payment related code [has been - refactored](https://github.com/lightningnetwork/lnd/pull/7174) to allow the + refactored](https://github.com/voltagecloud/lnd/pull/7174) to allow the usage of new payment statuses. -* [Fixed a test closure](https://github.com/lightningnetwork/lnd/pull/7337) +* [Fixed a test closure](https://github.com/voltagecloud/lnd/pull/7337) issue found in `bitcoindnotify/bitcoind_test.go`. * Add methods to easily check if an invoice [is AMP or - Keysend](https://github.com/lightningnetwork/lnd/pull/7334). + Keysend](https://github.com/voltagecloud/lnd/pull/7334). * [Fixed a unit test flake in the wallet - unlocker](https://github.com/lightningnetwork/lnd/pull/7384). + unlocker](https://github.com/voltagecloud/lnd/pull/7384). * [A new generic LRU cache is used where - applicable](https://github.com/lightningnetwork/lnd/pull/7406). + applicable](https://github.com/voltagecloud/lnd/pull/7406). ## Watchtowers * [Create a towerID-to-sessionID index in the wtclient DB to improve the speed of listing sessions for a particular tower ID]( - https://github.com/lightningnetwork/lnd/pull/6972). This PR also ensures a + https://github.com/voltagecloud/lnd/pull/6972). This PR also ensures a closer coupling of Towers and Sessions and ensures that a session cannot be added if the tower it is referring to does not exist. A [follow-up migration - was added](https://github.com/lightningnetwork/lnd/pull/7491) to ensure that + was added](https://github.com/voltagecloud/lnd/pull/7491) to ensure that entries are added to the new index for _all_ towers in the db, including those for which there are not yet associated sessions. * [Remove `AckedUpdates` & `CommittedUpdates` from the `ClientSession` - struct](https://github.com/lightningnetwork/lnd/pull/6928) in order to + struct](https://github.com/voltagecloud/lnd/pull/6928) in order to improve the performance of fetching a `ClientSession` from the DB. * [Allow user to update tower address without requiring a restart. Also allow the removal of a tower address if the current session negotiation is not using the address in question]( - https://github.com/lightningnetwork/lnd/pull/7025) + https://github.com/voltagecloud/lnd/pull/7025) * [Store AckedUpdates in a more compact - way](https://github.com/lightningnetwork/lnd/pull/7055) + way](https://github.com/voltagecloud/lnd/pull/7055) ## DB * [Add a sqlite backend - option](https://github.com/lightningnetwork/lnd/pull/7251) to the kvdb + option](https://github.com/voltagecloud/lnd/pull/7251) to the kvdb package, and add it as a [backend option to - LND](https://github.com/lightningnetwork/lnd/pull/7252). Note that with this + LND](https://github.com/voltagecloud/lnd/pull/7252). Note that with this upgrade, support for the `dragonfly-amd64`, `netbsd-386`, `netbsd-arm64` and `openbsd-386` platforms has been dropped. * [Bumped etcd dependencies to - 3.5.7](https://github.com/lightningnetwork/lnd/pull/7353) to resolve linking + 3.5.7](https://github.com/voltagecloud/lnd/pull/7353) to resolve linking issues with outdated dependencies. * [Re-add local and remote output amounts to the revocation - log](https://github.com/lightningnetwork/lnd/pull/7379) and add a new + log](https://github.com/voltagecloud/lnd/pull/7379) and add a new `--db.no-rev-log-amt-data` flag that can be used to explicitly opt out of storing this extra data. It should be noted that setting this flag is not recommended unless the user is sure that they will never activate their @@ -453,19 +453,19 @@ in the lnwire package](https://github.com/lightningnetwork/lnd/pull/7303) ## Pathfinding * [Pathfinding takes capacity of edges into account to improve success - probability estimation.](https://github.com/lightningnetwork/lnd/pull/6857) + probability estimation.](https://github.com/voltagecloud/lnd/pull/6857) * [A new probability model ("bimodal") is added which models channel based liquidities within a probability theory framework.]( - https://github.com/lightningnetwork/lnd/pull/6815) + https://github.com/voltagecloud/lnd/pull/6815) * [The a priori capacity factor is made configurable and its effect is - limited.](https://github.com/lightningnetwork/lnd/pull/7444) + limited.](https://github.com/voltagecloud/lnd/pull/7444) * Local edges and hop hints [are extended with a - capacity](https://github.com/lightningnetwork/lnd/pull/7520) to avoid channel + capacity](https://github.com/voltagecloud/lnd/pull/7520) to avoid channel white listing in probability calculations. The influence of the node probability is reduced. ## Configuration -* Note that [this pathfinding change](https://github.com/lightningnetwork/lnd/pull/6815) +* Note that [this pathfinding change](https://github.com/voltagecloud/lnd/pull/6815) introduces a breaking change in lnd.conf apriori parameters under the routing section, see sample-lnd.conf for an updated configuration. The behavior of `lncli setmccfg/getmccfg` is altered as well. @@ -474,55 +474,55 @@ in the lnwire package](https://github.com/lightningnetwork/lnd/pull/7303) ### Tooling and documentation * [The `golangci-lint` tool was updated to - `v1.50.1`](https://github.com/lightningnetwork/lnd/pull/7173) + `v1.50.1`](https://github.com/voltagecloud/lnd/pull/7173) -* [Tests in `htlcswitch` will now clean up the temporary resources they create](https://github.com/lightningnetwork/lnd/pull/6832). +* [Tests in `htlcswitch` will now clean up the temporary resources they create](https://github.com/voltagecloud/lnd/pull/6832). * Updated the github actions to use `make fmt-check` in its [build - process](https://github.com/lightningnetwork/lnd/pull/6853). + process](https://github.com/voltagecloud/lnd/pull/6853). * Database related code was refactored to [allow external tools to use it more - easily](https://github.com/lightningnetwork/lnd/pull/5561), in preparation for + easily](https://github.com/voltagecloud/lnd/pull/5561), in preparation for adding a data migration functionality to `lndinit`. * [`golangci-lint` will now check new code using additional - linters](https://github.com/lightningnetwork/lnd/pull/7064) and was - [fine-tuned](https://github.com/lightningnetwork/lnd/pull/7289) to fit our + linters](https://github.com/voltagecloud/lnd/pull/7064) and was + [fine-tuned](https://github.com/voltagecloud/lnd/pull/7289) to fit our code style or to [disable annoying new - linters](https://github.com/lightningnetwork/lnd/pull/7335). + linters](https://github.com/voltagecloud/lnd/pull/7335). * Update github actions to [check commits against the target base - branch](https://github.com/lightningnetwork/lnd/pull/7103) rather than just + branch](https://github.com/voltagecloud/lnd/pull/7103) rather than just using the master branch. And [skip the commit - check](https://github.com/lightningnetwork/lnd/pull/7114) for all non-PR + check](https://github.com/voltagecloud/lnd/pull/7114) for all non-PR events. The Golang build cache [was also optimized to speed up tests and - builds](https://github.com/lightningnetwork/lnd/pull/7295). + builds](https://github.com/voltagecloud/lnd/pull/7295). * Fixed docker image version used in - [`tools`](https://github.com/lightningnetwork/lnd/pull/7254) and golangci + [`tools`](https://github.com/voltagecloud/lnd/pull/7254) and golangci issue where [it cannot fetch - commits](https://github.com/lightningnetwork/lnd/pull/7374). + commits](https://github.com/voltagecloud/lnd/pull/7374). -* [Update Postgres.md](https://github.com/lightningnetwork/lnd/pull/7442) +* [Update Postgres.md](https://github.com/voltagecloud/lnd/pull/7442) to clarify how the database is currently used as a Key-Value store, but in the future will have new schema introduced. ### Integration test * The `lntest` has been -[refactored](https://github.com/lightningnetwork/lnd/pull/6759) to provide a +[refactored](https://github.com/voltagecloud/lnd/pull/6759) to provide a better testing suite for writing integration tests. A new defined structure is implemented, please refer to -[README](https://github.com/lightningnetwork/lnd/tree/master/lntemp) for more +[README](https://github.com/voltagecloud/lnd/tree/master/lntemp) for more details. Along the way, several -PRs([6776](https://github.com/lightningnetwork/lnd/pull/6776), -[6822](https://github.com/lightningnetwork/lnd/pull/6822), -[7172](https://github.com/lightningnetwork/lnd/pull/7172), -[7242](https://github.com/lightningnetwork/lnd/pull/7242), -[7245](https://github.com/lightningnetwork/lnd/pull/7245)), -[6823](https://github.com/lightningnetwork/lnd/pull/6823), -[6824](https://github.com/lightningnetwork/lnd/pull/6824), -[6825](https://github.com/lightningnetwork/lnd/pull/6825)) have been made to +PRs([6776](https://github.com/voltagecloud/lnd/pull/6776), +[6822](https://github.com/voltagecloud/lnd/pull/6822), +[7172](https://github.com/voltagecloud/lnd/pull/7172), +[7242](https://github.com/voltagecloud/lnd/pull/7242), +[7245](https://github.com/voltagecloud/lnd/pull/7245)), +[6823](https://github.com/voltagecloud/lnd/pull/6823), +[6824](https://github.com/voltagecloud/lnd/pull/6824), +[6825](https://github.com/voltagecloud/lnd/pull/6825)) have been made to refactor the itest for code health and maintenance. # Contributors (Alphabetical Order) diff --git a/docs/release-notes/release-notes-0.16.1.md b/docs/release-notes/release-notes-0.16.1.md index 734dcf1af7..2690297e16 100644 --- a/docs/release-notes/release-notes-0.16.1.md +++ b/docs/release-notes/release-notes-0.16.1.md @@ -3,77 +3,77 @@ ## Routing * The default CLTV delta delay [has been increased from 40 blocks to 80 - blocks](https://github.com/lightningnetwork/lnd/pull/7609). + blocks](https://github.com/voltagecloud/lnd/pull/7609). ## Wallet - The logging around transaction broadcast failures [has been improved by always logging the causing error and the raw transaction as - hex](https://github.com/lightningnetwork/lnd/pull/7513). + hex](https://github.com/voltagecloud/lnd/pull/7513). ## `lncli` * The `lncli wallet psbt fund` command now allows users to specify the - [`--min_confs` flag](https://github.com/lightningnetwork/lnd/pull/7510). + [`--min_confs` flag](https://github.com/voltagecloud/lnd/pull/7510). -* [Add time_lock_delta overflow check for UpdateChannelPolicy](https://github.com/lightningnetwork/lnd/pull/7350) +* [Add time_lock_delta overflow check for UpdateChannelPolicy](https://github.com/voltagecloud/lnd/pull/7350) that ensure `time_lock_delta` is greater or equal than `0` and less or equal than `65535` * [Added ability to backup, verify and - restore single channels](https://github.com/lightningnetwork/lnd/pull/7437) + restore single channels](https://github.com/voltagecloud/lnd/pull/7437) to and from a file on disk. * [Add a `fundmax` flag to `openchannel` to allow for the allocation of all - funds in a wallet](https://github.com/lightningnetwork/lnd/pull/6903) towards + funds in a wallet](https://github.com/voltagecloud/lnd/pull/6903) towards a new channel opening. ## Watchtowers * [Fix Address iterator - panic](https://github.com/lightningnetwork/lnd/pull/7556) + panic](https://github.com/voltagecloud/lnd/pull/7556) * [Allow caller to filter sessions at the time of reading them from - disk](https://github.com/lightningnetwork/lnd/pull/7059) + disk](https://github.com/voltagecloud/lnd/pull/7059) * [Clean up sessions once all channels for which they have updates for are closed. Also start sending the `DeleteSession` message to the - tower.](https://github.com/lightningnetwork/lnd/pull/7069) + tower.](https://github.com/voltagecloud/lnd/pull/7069) * [Don't load exhausted sessions when not - needed](https://github.com/lightningnetwork/lnd/pull/7405). Also add a new + needed](https://github.com/voltagecloud/lnd/pull/7405). Also add a new `exclude_exhausted_sessions` boolean flag to the relevant lncli wtclient commands. * [Recover from StateUpdateCodeClientBehind - error](https://github.com/lightningnetwork/lnd/pull/7541) after data loss. + error](https://github.com/voltagecloud/lnd/pull/7541) after data loss. ## Build * [ldflags were being incorrectly passed]( -https://github.com/lightningnetwork/lnd/pull/7359) +https://github.com/voltagecloud/lnd/pull/7359) ## Misc * [Return `FEE_INSUFFICIENT` before checking balance for incoming low-fee - HTLCs.](https://github.com/lightningnetwork/lnd/pull/7490). + HTLCs.](https://github.com/voltagecloud/lnd/pull/7490). * Optimize script allocation size in order to save - [memory](https://github.com/lightningnetwork/lnd/pull/7464). + [memory](https://github.com/voltagecloud/lnd/pull/7464). * When resolving outgoing HTLCs onchain, the HTLC timeout resolver will now - [monitor mempool](https://github.com/lightningnetwork/lnd/pull/7564) for + [monitor mempool](https://github.com/voltagecloud/lnd/pull/7564) for faster preimage extraction. ## Spec * [Add test vectors for - option_zero_fee_htlc_tx](https://github.com/lightningnetwork/lnd/pull/7439) + option_zero_fee_htlc_tx](https://github.com/voltagecloud/lnd/pull/7439) ## RPC -* A [debug log](https://github.com/lightningnetwork/lnd/pull/7514) has been +* A [debug log](https://github.com/voltagecloud/lnd/pull/7514) has been added to `lnrpc` so the node operator can know whether a certain request has happened or not. * [Add peer_scid_alias to the response of - `listchannels`](https://github.com/lightningnetwork/lnd/pull/7366) + `listchannels`](https://github.com/voltagecloud/lnd/pull/7366) * Message `funding_locked` [has been - renamed](https://github.com/lightningnetwork/lnd/pull/7517) to + renamed](https://github.com/voltagecloud/lnd/pull/7517) to `channel_ready` internally to match the specs update. This should not change anything for the users since the message type(36) stays unchanged, except in the logging all the appearance of `funding_locked` replated experssion is @@ -82,24 +82,24 @@ https://github.com/lightningnetwork/lnd/pull/7359) ## Bug Fixes * [Fix a bug where lnd crashes when psbt data is not fully -available](https://github.com/lightningnetwork/lnd/pull/7529). +available](https://github.com/voltagecloud/lnd/pull/7529). * [Put back P2TR as default change type - in batch_open_channel](https://github.com/lightningnetwork/lnd/pull/7603). + in batch_open_channel](https://github.com/voltagecloud/lnd/pull/7603). -* [Fix log output](https://github.com/lightningnetwork/lnd/pull/7604). +* [Fix log output](https://github.com/voltagecloud/lnd/pull/7604). * [Channels opened with custom fee policies are now able to forward payments correctly without needing to restart - first](https://github.com/lightningnetwork/lnd/pull/7597). + first](https://github.com/voltagecloud/lnd/pull/7597). -* [Fix a bug](https://github.com/lightningnetwork/lnd/pull/7613) where the +* [Fix a bug](https://github.com/voltagecloud/lnd/pull/7613) where the funding manager would error out if no persisted initial forwarding policy is found for a channel. * The internal rebroacaster [will no longer continue to rebroadcast stale sweeper transactions (have a conflict mined or in the - mempool)](https://github.com/lightningnetwork/lnd/pull/7599). + mempool)](https://github.com/voltagecloud/lnd/pull/7599). # Contributors (Alphabetical Order) diff --git a/docs/release-notes/release-notes-0.16.2.md b/docs/release-notes/release-notes-0.16.2.md index e1b0d828b4..6b537449f1 100644 --- a/docs/release-notes/release-notes-0.16.2.md +++ b/docs/release-notes/release-notes-0.16.2.md @@ -3,10 +3,10 @@ ## Wallet [The mempool scanning logic no longer blocks start -up](https://github.com/lightningnetwork/lnd/pull/7641). The default polling +up](https://github.com/voltagecloud/lnd/pull/7641). The default polling interval has also been increased to 60 seconds. ## Bug Fixes -[A panic has been fixed](https://github.com/lightningnetwork/lnd/pull/7637) for +[A panic has been fixed](https://github.com/voltagecloud/lnd/pull/7637) for neutrino nodes related to sweeper transaction replacement. diff --git a/docs/release-notes/release-notes-0.16.3.md b/docs/release-notes/release-notes-0.16.3.md index 4f9a074355..38b832cd25 100644 --- a/docs/release-notes/release-notes-0.16.3.md +++ b/docs/release-notes/release-notes-0.16.3.md @@ -3,19 +3,19 @@ ## Mempool Optimizations * Optimized [mempool - management](https://github.com/lightningnetwork/lnd/pull/7681) to lower the + management](https://github.com/voltagecloud/lnd/pull/7681) to lower the CPU usage. ## Misc -* [Re-encrypt/regenerate](https://github.com/lightningnetwork/lnd/pull/7705) +* [Re-encrypt/regenerate](https://github.com/voltagecloud/lnd/pull/7705) all macaroon DB root keys on `ChangePassword`/`GenerateNewRootKey` respectively. ## Channel Link Bug Fix * If we detect the remote link is inactive, [we'll now tear down the - connection](https://github.com/lightningnetwork/lnd/pull/7711) in addition to + connection](https://github.com/voltagecloud/lnd/pull/7711) in addition to stopping the link's statemachine. If we're persistently connected with the peer, then this'll force a reconnect, which may restart things and help avoid certain force close scenarios. diff --git a/docs/release-notes/release-notes-0.17.0.md b/docs/release-notes/release-notes-0.17.0.md index d1bc261495..ee6b2c9c63 100644 --- a/docs/release-notes/release-notes-0.17.0.md +++ b/docs/release-notes/release-notes-0.17.0.md @@ -19,38 +19,38 @@ # Bug Fixes * Make sure payment stream returns all the events by [subscribing it before - sending](https://github.com/lightningnetwork/lnd/pull/7722). + sending](https://github.com/voltagecloud/lnd/pull/7722). * Fixed a memory leak found in mempool management handled by - [`btcwallet`](https://github.com/lightningnetwork/lnd/pull/7767). + [`btcwallet`](https://github.com/voltagecloud/lnd/pull/7767). * Make sure lnd starts up as normal in case a transaction does not meet min mempool fee requirements. [Handle min mempool fee backend error when a transaction fails to be broadcasted by the - bitcoind backend](https://github.com/lightningnetwork/lnd/pull/7746). + bitcoind backend](https://github.com/voltagecloud/lnd/pull/7746). -* [Updated bbolt to v1.3.7](https://github.com/lightningnetwork/lnd/pull/7796) +* [Updated bbolt to v1.3.7](https://github.com/voltagecloud/lnd/pull/7796) in order to address mmap issues affecting certain older iPhone devices. * [Stop rejecting payments that overpay or over-timelock the final - hop](https://github.com/lightningnetwork/lnd/pull/7768). + hop](https://github.com/voltagecloud/lnd/pull/7768). * [Fix let's encrypt autocert - generation](https://github.com/lightningnetwork/lnd/pull/7739). + generation](https://github.com/voltagecloud/lnd/pull/7739). * Fix an issue where [IPv6 couldn't be dialed when using - Tor](https://github.com/lightningnetwork/lnd/pull/7783), even when + Tor](https://github.com/voltagecloud/lnd/pull/7783), even when `tor.skip-proxy-for-clearnet-targets=true` was set. * Fix a [concurrency issue related to rapid peer teardown and - creation](https://github.com/lightningnetwork/lnd/pull/7856) that can arise + creation](https://github.com/voltagecloud/lnd/pull/7856) that can arise under rare scenarios. * A race condition found between `channel_ready` and link updates is [now - fixed](https://github.com/lightningnetwork/lnd/pull/7518). + fixed](https://github.com/voltagecloud/lnd/pull/7518). * [Remove rebroadcasting of - the last sweep-tx](https://github.com/lightningnetwork/lnd/pull/7879). Now at + the last sweep-tx](https://github.com/voltagecloud/lnd/pull/7879). Now at startup of the sweeper we do not rebroadcast the last sweep-tx anymore. The "sweeper-last-tx" top level bucket in the channel.db is removed (new migration version 31 of the db). The main reason is that neutrino @@ -59,41 +59,41 @@ have to make sure to not broadcast outdated transactions which can lead to locked up wallet funds indefinitely in the worst case. -* [Remove nil value](https://github.com/lightningnetwork/lnd/pull/7922) from +* [Remove nil value](https://github.com/voltagecloud/lnd/pull/7922) from variadic parameter list. * Make sure to [fail a channel if revoking the old channel state -fails](https://github.com/lightningnetwork/lnd/pull/7876). +fails](https://github.com/voltagecloud/lnd/pull/7876). * Failed `sqlite` or `postgres` transactions due to a serialization error will now be [automatically - retried](https://github.com/lightningnetwork/lnd/pull/7927) with an + retried](https://github.com/voltagecloud/lnd/pull/7927) with an exponential back off. * In the watchtower client, we [now explicitly - handle](https://github.com/lightningnetwork/lnd/pull/7981) the scenario where + handle](https://github.com/voltagecloud/lnd/pull/7981) the scenario where a channel is closed while we still have an in-memory update for it. * `lnd` [now properly handles a case where an erroneous force close attempt - would impeded start up](https://github.com/lightningnetwork/lnd/pull/7985). + would impeded start up](https://github.com/voltagecloud/lnd/pull/7985). * A bug that could cause the invoice related sub-system to lock up (potentially the entire daemon) related to [incoming HTLCs going on chain related to a hodl invoice has been - fixed](https://github.com/lightningnetwork/lnd/pull/8024). + fixed](https://github.com/voltagecloud/lnd/pull/8024). # New Features ## Functional Enhancements * `lnd` can now optionally generate [blocking and mutex - profiles](https://github.com/lightningnetwork/lnd/pull/7983). These profiles + profiles](https://github.com/voltagecloud/lnd/pull/7983). These profiles are useful to attempt to debug high mutex contention, or deadlock scenarios. ### Protocol Features * This release marks the first release that includes the new [musig2-based - taproot channel type](https://github.com/lightningnetwork/lnd/pull/7904). As + taproot channel type](https://github.com/voltagecloud/lnd/pull/7904). As new protocol feature hasn't yet been finalized, users must enable taproot channels with a new flag: `--protocol.simple-taproot-chans`. Once enabled, user MUST use the explicit channel type to request the taproot channel type @@ -110,81 +110,81 @@ None ## Functional Updates ### Watchtowers * Let the task pipeline [only carry - wtdb.BackupIDs](https://github.com/lightningnetwork/lnd/pull/7623) instead of + wtdb.BackupIDs](https://github.com/voltagecloud/lnd/pull/7623) instead of the entire retribution struct. This reduces the amount of data that needs to be held in memory. * [Replace in-mem task pipeline with a disk-overflow - queue](https://github.com/lightningnetwork/lnd/pull/7380). + queue](https://github.com/voltagecloud/lnd/pull/7380). * [Replay pending and un-acked updates onto the main task pipeline if a tower - is being removed](https://github.com/lightningnetwork/lnd/pull/6895). + is being removed](https://github.com/voltagecloud/lnd/pull/6895). -* [Add defaults](https://github.com/lightningnetwork/lnd/pull/7771) to the +* [Add defaults](https://github.com/voltagecloud/lnd/pull/7771) to the wtclient and watchtower config structs and use these to populate the defaults of the main LND config struct so that the defaults appear in the `lnd --help` command output. * The deprecated `wtclient.private-tower-uris` option has also been - [removed](https://github.com/lightningnetwork/lnd/pull/7771). This field was + [removed](https://github.com/voltagecloud/lnd/pull/7771). This field was deprecated in v0.8.0-beta. ### Neutrino * The [Neutrino version - is updated](https://github.com/lightningnetwork/lnd/pull/7788) so that LND can + is updated](https://github.com/voltagecloud/lnd/pull/7788) so that LND can take advantage of the latest filter fetching performance improvements. ### Misc * [Ensure that both the byte and string form of a TXID is populated in the - lnrpc.Outpoint message](https://github.com/lightningnetwork/lnd/pull/7624). + lnrpc.Outpoint message](https://github.com/voltagecloud/lnd/pull/7624). * [HTLC serialization - updated](https://github.com/lightningnetwork/lnd/pull/7710) to allow storing + updated](https://github.com/voltagecloud/lnd/pull/7710) to allow storing extra data transmitted in TLVs. * [MaxLocalCSVDelay now has a default value of 2016. It is still possible to override this value with the config option --maxlocaldelay for those who rely - on the old value of 10000](https://github.com/lightningnetwork/lnd/pull/7780). + on the old value of 10000](https://github.com/voltagecloud/lnd/pull/7780). * [Generate default macaroons - independently](https://github.com/lightningnetwork/lnd/pull/7592) on wallet + independently](https://github.com/voltagecloud/lnd/pull/7592) on wallet unlock or create. -* [Restore support](https://github.com/lightningnetwork/lnd/pull/7678) for +* [Restore support](https://github.com/voltagecloud/lnd/pull/7678) for `PKCS8`-encoded cert private keys. -* [Cleanup](https://github.com/lightningnetwork/lnd/pull/7770) of defaults +* [Cleanup](https://github.com/voltagecloud/lnd/pull/7770) of defaults mentioned in - [sample-lnd.conf](https://github.com/lightningnetwork/lnd/blob/master/sample-lnd.conf). + [sample-lnd.conf](https://github.com/voltagecloud/lnd/blob/master/sample-lnd.conf). It is possible to distinguish between defaults and examples now. A check script has been developed and integrated into the building process to compare the default values between lnd and sample-lnd.conf. * [Cancel rebroadcasting of a transaction when abandoning - a channel](https://github.com/lightningnetwork/lnd/pull/7819). + a channel](https://github.com/voltagecloud/lnd/pull/7819). -* [Fixed a validation bug](https://github.com/lightningnetwork/lnd/pull/7177) in +* [Fixed a validation bug](https://github.com/voltagecloud/lnd/pull/7177) in `channel_type` negotiation. * [The `lightning-onion` repo version was - updated](https://github.com/lightningnetwork/lnd/pull/7877) in preparation for + updated](https://github.com/voltagecloud/lnd/pull/7877) in preparation for work to be done on route blinding in LND. ## RPC Updates -* [SendOutputs](https://github.com/lightningnetwork/lnd/pull/7631) now adheres +* [SendOutputs](https://github.com/voltagecloud/lnd/pull/7631) now adheres to the anchor channel reserve requirement. * Enforce provided [fee rate is no less than the relay or minimum mempool - fee](https://github.com/lightningnetwork/lnd/pull/7645) when calling + fee](https://github.com/voltagecloud/lnd/pull/7645) when calling `OpenChannel`, `CloseChannel`, `SendCoins`, and `SendMany`. * The - [UpdateNodeAnnouncement](https://github.com/lightningnetwork/lnd/pull/7568) + [UpdateNodeAnnouncement](https://github.com/voltagecloud/lnd/pull/7568) API can no longer be used to set/unset protocol features that are defined by LND. * The [`neutrinorpc` `GetBlockHash` has been - deprecated](https://github.com/lightningnetwork/lnd/pull/7712). Endpoint + deprecated](https://github.com/voltagecloud/lnd/pull/7712). Endpoint has been moved to the `chainrpc` sub-server. * Custom node announcement feature bits can also be specified in config using @@ -194,17 +194,17 @@ None [BOLT 9](https://github.com/lightning/bolts/blob/master/09-features.md). * `OpenChannel` now accepts an [optional `memo` - argument](https://github.com/lightningnetwork/lnd/pull/7668) for specifying + argument](https://github.com/voltagecloud/lnd/pull/7668) for specifying a helpful note-to-self containing arbitrary useful information about the channel. * `PendingOpenChannel` now has the field - [`funding_expiry_blocks`](https://github.com/lightningnetwork/lnd/pull/7480) + [`funding_expiry_blocks`](https://github.com/voltagecloud/lnd/pull/7480) that indicates the number of blocks until the funding transaction is considered expired. * [gRPC keepalive parameters can now be set in the - configuration](https://github.com/lightningnetwork/lnd/pull/7730). The `lnd` + configuration](https://github.com/voltagecloud/lnd/pull/7730). The `lnd` configuration settings `grpc.server-ping-time` and `grpc.server-ping-timeout` configure how often `lnd` pings its clients and how long a pong response is allowed to take. The default values for there settings are improved over the @@ -223,10 +223,10 @@ None to account for slightly different clock speeds). * [Fixed a bug where we didn't check for correct networks when submitting - onchain transactions](https://github.com/lightningnetwork/lnd/pull/6448). + onchain transactions](https://github.com/voltagecloud/lnd/pull/6448). * [Fix non-deterministic behaviour in RPC calls for - custom accounts](https://github.com/lightningnetwork/lnd/pull/7565). + custom accounts](https://github.com/voltagecloud/lnd/pull/7565). In theory, it should be only one custom account with a given name. However, due to a lack of check, users could have created custom accounts with various key scopes. The non-deterministic behaviours linked to this case are fixed, @@ -234,23 +234,23 @@ None * `OpenChannel` adds a new `utxo` flag that allows the specification of multiple UTXOs [as a basis for funding a channel - opening](https://github.com/lightningnetwork/lnd/pull/7516). + opening](https://github.com/voltagecloud/lnd/pull/7516). -* The [BatchOpenChannel](https://github.com/lightningnetwork/lnd/pull/7820) +* The [BatchOpenChannel](https://github.com/voltagecloud/lnd/pull/7820) message now supports all fields that are present in the `OpenChannel` message, except for the `funding_shim` and `fundmax` fields. -* The [WalletBalance](https://github.com/lightningnetwork/lnd/pull/7857) RPC +* The [WalletBalance](https://github.com/voltagecloud/lnd/pull/7857) RPC (lncli walletbalance) now supports showing the balance for a specific account. * The [websockets proxy now uses a larger default max - message](https://github.com/lightningnetwork/lnd/pull/7991) size to support + message](https://github.com/voltagecloud/lnd/pull/7991) size to support proxying larger messages. ## lncli Updates * Added ability to use [environment variables to override `lncli` global - flags](https://github.com/lightningnetwork/lnd/pull/7693). Flags will have + flags](https://github.com/voltagecloud/lnd/pull/7693). Flags will have preference over environment variables. * The `lncli sendcoins` command now asks for manual confirmation when invoked @@ -260,12 +260,12 @@ None (e.g. when capturing the output in a shell script variable or piping the output to another program). -* Add [`--unused`](https://github.com/lightningnetwork/lnd/pull/6387) to +* Add [`--unused`](https://github.com/voltagecloud/lnd/pull/6387) to `lncli newaddr` command. * [The `MuSig2SessionRequest` proto message now contains a field to allow a caller to specify a custom signing - nonce](https://github.com/lightningnetwork/lnd/pull/7994). This can be useful + nonce](https://github.com/voltagecloud/lnd/pull/7994). This can be useful for protocol where an external nonces must be pre-generated before the full session can be completed. @@ -274,11 +274,11 @@ None * Updated [our fork for serializing protobuf as JSON to be based on the latest version of `google.golang.org/protobuf` instead of the deprecated `github.com/golang/protobuf/jsonpb` - module](https://github.com/lightningnetwork/lnd/pull/7659). + module](https://github.com/voltagecloud/lnd/pull/7659). ## Neutrino * The [Neutrino version - is updated](https://github.com/lightningnetwork/lnd/pull/7788) so that LND can + is updated](https://github.com/voltagecloud/lnd/pull/7788) so that LND can take advantage of the latest filter fetching performance improvements. ## Breaking Changes @@ -289,59 +289,59 @@ None ## BOLT Spec Updates None ## Testing -* [Started](https://github.com/lightningnetwork/lnd/pull/7494) running fuzz +* [Started](https://github.com/voltagecloud/lnd/pull/7494) running fuzz tests in CI. -* [Derandomized](https://github.com/lightningnetwork/lnd/pull/7618) the BOLT +* [Derandomized](https://github.com/voltagecloud/lnd/pull/7618) the BOLT 8 fuzz tests. -* [Improved](https://github.com/lightningnetwork/lnd/pull/7723) invoice fuzz +* [Improved](https://github.com/voltagecloud/lnd/pull/7723) invoice fuzz tests. -* [Added fuzz tests](https://github.com/lightningnetwork/lnd/pull/7649) for +* [Added fuzz tests](https://github.com/voltagecloud/lnd/pull/7649) for signature parsing and conversion. -* [Added a fuzz test](https://github.com/lightningnetwork/lnd/pull/7687) for +* [Added a fuzz test](https://github.com/voltagecloud/lnd/pull/7687) for watchtower address iterators. -* [Simplify fuzz tests](https://github.com/lightningnetwork/lnd/pull/7709) +* [Simplify fuzz tests](https://github.com/voltagecloud/lnd/pull/7709) using the `require` package. -* [Removed](https://github.com/lightningnetwork/lnd/pull/7854) need for an +* [Removed](https://github.com/voltagecloud/lnd/pull/7854) need for an active internet connection for the network connection itest. * [Fix Benchmark Test (BenchmarkReadMessage/Channel_Ready) in the lnwire - package](https://github.com/lightningnetwork/lnd/pull/7356). + package](https://github.com/voltagecloud/lnd/pull/7356). * [Fix unit test flake (TestLightningWallet) in the neutrino package via version bump of - btcsuite/btcwallet](https://github.com/lightningnetwork/lnd/pull/7049). + btcsuite/btcwallet](https://github.com/voltagecloud/lnd/pull/7049). ## Database * Split channeldb [`UpdateInvoice` - implementation](https://github.com/lightningnetwork/lnd/pull/7377) logic in + implementation](https://github.com/voltagecloud/lnd/pull/7377) logic in different update types. * Add [invoice SQL schema and - queries](https://github.com/lightningnetwork/lnd/pull/7354). + queries](https://github.com/voltagecloud/lnd/pull/7354). * Add new [sqldb - package](https://github.com/lightningnetwork/lnd/pull/7343). + package](https://github.com/voltagecloud/lnd/pull/7343). ## Code Health * Updated [our fork for serializing protobuf as JSON to be based on the latest version of `google.golang.org/protobuf` instead of the deprecated `github.com/golang/protobuf/jsonpb` - module](https://github.com/lightningnetwork/lnd/pull/7659). + module](https://github.com/voltagecloud/lnd/pull/7659). ## Tooling and Documentation * Add support for [custom `RPCHOST` and - `RPCCRTPATH`](https://github.com/lightningnetwork/lnd/pull/7429) to the + `RPCCRTPATH`](https://github.com/voltagecloud/lnd/pull/7429) to the `lnd` Docker image main script (`/start-lnd.sh`). * Fix bug in `scripts/verify-install.sh` that caused the [release binary signature verification script to not properly import signing - keys](https://github.com/lightningnetwork/lnd/pull/7758) when being run with + keys](https://github.com/voltagecloud/lnd/pull/7758) when being run with new version of `gpg` (which is the case in the latest Docker image). # Contributors (Alphabetical Order) diff --git a/docs/release-notes/release-notes-0.17.1.md b/docs/release-notes/release-notes-0.17.1.md index bfb4e5ce7f..c1a7b0a974 100644 --- a/docs/release-notes/release-notes-0.17.1.md +++ b/docs/release-notes/release-notes-0.17.1.md @@ -19,23 +19,23 @@ # Bug Fixes -* A bug that caused certain API calls to hang [has been fixed](https://github.com/lightningnetwork/lnd/pull/8158). +* A bug that caused certain API calls to hang [has been fixed](https://github.com/voltagecloud/lnd/pull/8158). -* [LND now sets the `BADONION`](https://github.com/lightningnetwork/lnd/pull/7937) +* [LND now sets the `BADONION`](https://github.com/voltagecloud/lnd/pull/7937) bit when sending `update_fail_malformed_htlc`. This avoids a force close with other implementations. * A bug that would cause taproot channels to sometimes not display as active - [has been fixed](https://github.com/lightningnetwork/lnd/pull/8104). + [has been fixed](https://github.com/voltagecloud/lnd/pull/8104). -* [`lnd` will now properly reject macaroons with unknown versions.](https://github.com/lightningnetwork/lnd/pull/8132) +* [`lnd` will now properly reject macaroons with unknown versions.](https://github.com/voltagecloud/lnd/pull/8132) # New Features ## Functional Enhancements - Previously, when a channel was force closed locally, its anchor was always force-swept when the CPFP requirements are met. This is now - [changed](https://github.com/lightningnetwork/lnd/pull/7965) to only attempt + [changed](https://github.com/voltagecloud/lnd/pull/7965) to only attempt CPFP based on the deadline of the commitment transaction. The anchor output will still be offered to the sweeper during channel force close, while the actual sweeping won't be forced(CPFP) unless a relevant HTLC will timeout in @@ -44,7 +44,7 @@ ## RPC Additions -* [`chainrpc` `GetBlockHeader`](https://github.com/lightningnetwork/lnd/pull/8111) +* [`chainrpc` `GetBlockHeader`](https://github.com/voltagecloud/lnd/pull/8111) can be used to get block headers with any chain backend. ## lncli Additions @@ -60,7 +60,7 @@ - When facing a large mempool, users may experience deteriorated performance, which includes slow startup and shutdown, clogging RPC response when calling `getinfo`, and CPU spikes. This is now improved with [the upgrade to the - latest `btcwallet`](https://github.com/lightningnetwork/lnd/pull/8019). In + latest `btcwallet`](https://github.com/voltagecloud/lnd/pull/8019). In addition, it's strongly recommended to upgrade `bitcoind` to version `v24.0` and above to take advantage of the new RPC method `gettxspendingprevout`, which will further decrease CPU usage and memory consumption. diff --git a/docs/release-notes/release-notes-0.17.2.md b/docs/release-notes/release-notes-0.17.2.md index 490dbbcf55..a8f9c5ca9d 100644 --- a/docs/release-notes/release-notes-0.17.2.md +++ b/docs/release-notes/release-notes-0.17.2.md @@ -21,7 +21,7 @@ * A bug that would cause the peer goroutine to panic if SCB related messages needed to be retransmitted [has been - fixed](https://github.com/lightningnetwork/lnd/pull/8186). + fixed](https://github.com/voltagecloud/lnd/pull/8186). # New Features ## Functional Enhancements diff --git a/docs/release-notes/release-notes-0.17.3.md b/docs/release-notes/release-notes-0.17.3.md index 94ca97daaf..ab0f88aedd 100644 --- a/docs/release-notes/release-notes-0.17.3.md +++ b/docs/release-notes/release-notes-0.17.3.md @@ -19,14 +19,14 @@ # Bug Fixes -* [Replaced](https://github.com/lightningnetwork/lnd/pull/8224) +* [Replaced](https://github.com/voltagecloud/lnd/pull/8224) `musig2Sessions` with a `SyncMap` used in `input` package to avoid concurrent write to this map. -* [Fixed](https://github.com/lightningnetwork/lnd/pull/8220) a loop variable +* [Fixed](https://github.com/voltagecloud/lnd/pull/8220) a loop variable issue which may affect programs built using go `v1.20` and below. -* [An issue where LND would hang on shutdown has been fixed.](https://github.com/lightningnetwork/lnd/pull/8151) +* [An issue where LND would hang on shutdown has been fixed.](https://github.com/voltagecloud/lnd/pull/8151) # New Features ## Functional Enhancements @@ -41,7 +41,7 @@ ## Breaking Changes ## Performance Improvements -* [Optimized](https://github.com/lightningnetwork/lnd/pull/8232) the memoray +* [Optimized](https://github.com/voltagecloud/lnd/pull/8232) the memoray usage of `btcwallet`'s mempool. Users would need to use `bitcoind v25.0.0` and above to take the advantage of this optimization. diff --git a/docs/release.md b/docs/release.md index bfcd3d849a..cf1895908a 100644 --- a/docs/release.md +++ b/docs/release.md @@ -20,7 +20,7 @@ helper image. To build a release, run the following commands: ```shell -$ git clone https://github.com/lightningnetwork/lnd.git +$ git clone https://github.com/voltagecloud/lnd.git $ cd lnd $ git checkout # is the name of the next release/tag $ make docker-release tag= @@ -36,7 +36,7 @@ binaries at the moment is by using the Windows Subsystem Linux. One can build the release binaries following these steps: ```shell -$ git clone https://github.com/lightningnetwork/lnd.git +$ git clone https://github.com/voltagecloud/lnd.git $ cd lnd $ git checkout # is the name of the next release/tag $ make release tag= @@ -80,7 +80,7 @@ and `go` (matching the same version used in the release): 5. Ensure `go` is installed, matching the same version as noted in the release notes. 6. Obtain a copy of `lnd`'s source code with `git clone - https://github.com/lightningnetwork/lnd` and checkout the source code of the + https://github.com/voltagecloud/lnd` and checkout the source code of the release with `git checkout `. 7. Proceed to verify the tag with `git verify-tag ` and compile the binaries from source for the intended operating system and architecture with diff --git a/docs/safety.md b/docs/safety.md index ec59722c90..170ef8e492 100644 --- a/docs/safety.md +++ b/docs/safety.md @@ -210,7 +210,7 @@ lnd wallet**. When creating the wallet, after printing the seed to the command line, it is hashed and only the hash (or to be more exact, the BIP32 extended root key) is stored in the `wallet.db` file. There is -[a tool being worked on](https://github.com/lightningnetwork/lnd/pull/2373) +[a tool being worked on](https://github.com/voltagecloud/lnd/pull/2373) that can extract the BIP32 extended root key but currently you cannot restore lnd with only this root key. diff --git a/feature/default_sets.go b/feature/default_sets.go index 4227691aa5..aeaa2e3de4 100644 --- a/feature/default_sets.go +++ b/feature/default_sets.go @@ -1,6 +1,6 @@ package feature -import "github.com/lightningnetwork/lnd/lnwire" +import "github.com/voltagecloud/lnd/lnwire" // setDesc describes which feature bits should be advertised in which feature // sets. diff --git a/feature/deps.go b/feature/deps.go index 479fd1d016..3514713178 100644 --- a/feature/deps.go +++ b/feature/deps.go @@ -3,7 +3,7 @@ package feature import ( "fmt" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) type ( diff --git a/feature/deps_test.go b/feature/deps_test.go index e1108fbe70..35de6e36ee 100644 --- a/feature/deps_test.go +++ b/feature/deps_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) type depTest struct { diff --git a/feature/manager.go b/feature/manager.go index 991d5c6119..142f59b0db 100644 --- a/feature/manager.go +++ b/feature/manager.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/feature/manager_internal_test.go b/feature/manager_internal_test.go index ee716fba0d..70a3e0c39f 100644 --- a/feature/manager_internal_test.go +++ b/feature/manager_internal_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnwire" ) type managerTest struct { diff --git a/feature/required.go b/feature/required.go index d141604df6..1295e59f64 100644 --- a/feature/required.go +++ b/feature/required.go @@ -3,7 +3,7 @@ package feature import ( "fmt" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) // ErrUnknownRequired signals that a feature vector requires certain features diff --git a/feature/set.go b/feature/set.go index 9be2c4315b..45c1d7a350 100644 --- a/feature/set.go +++ b/feature/set.go @@ -3,7 +3,7 @@ package feature import ( "math" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) // Set is an enum identifying various feature sets, which separates the single diff --git a/funding/batch.go b/funding/batch.go index 8a902bc925..6f71a57a31 100644 --- a/funding/batch.go +++ b/funding/batch.go @@ -13,10 +13,10 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/labels" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lnwallet/chanfunding" + "github.com/voltagecloud/lnd/labels" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/walletrpc" + "github.com/voltagecloud/lnd/lnwallet/chanfunding" "golang.org/x/sync/errgroup" ) diff --git a/funding/batch_test.go b/funding/batch_test.go index 9ca522b030..7eb4f4f5d7 100644 --- a/funding/batch_test.go +++ b/funding/batch_test.go @@ -13,11 +13,11 @@ import ( "github.com/btcsuite/btcd/btcutil/psbt" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/walletrpc" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/funding/commitment_type_negotiation.go b/funding/commitment_type_negotiation.go index f931b4702a..9747b378e0 100644 --- a/funding/commitment_type_negotiation.go +++ b/funding/commitment_type_negotiation.go @@ -3,8 +3,8 @@ package funding import ( "errors" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/funding/commitment_type_negotiation_test.go b/funding/commitment_type_negotiation_test.go index 90341c6df0..f8dc84d1bb 100644 --- a/funding/commitment_type_negotiation_test.go +++ b/funding/commitment_type_negotiation_test.go @@ -3,9 +3,9 @@ package funding import ( "testing" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwire" ) // TestCommitmentTypeNegotiation tests all of the possible paths of a channel diff --git a/funding/interfaces.go b/funding/interfaces.go index b87705424b..80111b52a3 100644 --- a/funding/interfaces.go +++ b/funding/interfaces.go @@ -1,8 +1,8 @@ package funding import ( - "github.com/lightningnetwork/lnd/lnpeer" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnpeer" + "github.com/voltagecloud/lnd/lnwire" ) // Controller is an interface with basic funding flow functions. diff --git a/funding/log.go b/funding/log.go index 887d4f7192..6bb0e1316c 100644 --- a/funding/log.go +++ b/funding/log.go @@ -2,7 +2,7 @@ package funding import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // Subsystem defines the logging code for this subsystem. diff --git a/funding/manager.go b/funding/manager.go index 2e27051b64..0babd46365 100644 --- a/funding/manager.go +++ b/funding/manager.go @@ -17,23 +17,23 @@ import ( "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/chanacceptor" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/discovery" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/labels" - "github.com/lightningnetwork/lnd/lnpeer" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnutils" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwallet/chanfunding" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/chainreg" + "github.com/voltagecloud/lnd/chanacceptor" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/discovery" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/labels" + "github.com/voltagecloud/lnd/lnpeer" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnutils" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwallet/chanfunding" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing" "golang.org/x/crypto/salsa20" ) diff --git a/funding/manager_test.go b/funding/manager_test.go index 3a0a3c636c..71460f0d24 100644 --- a/funding/manager_test.go +++ b/funding/manager_test.go @@ -19,25 +19,25 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/chainreg" - acpt "github.com/lightningnetwork/lnd/chanacceptor" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/channelnotifier" - "github.com/lightningnetwork/lnd/discovery" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnpeer" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntest/mock" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lnutils" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/chainreg" + acpt "github.com/voltagecloud/lnd/chanacceptor" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/channelnotifier" + "github.com/voltagecloud/lnd/discovery" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lncfg" + "github.com/voltagecloud/lnd/lnpeer" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lntest/mock" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lnutils" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" ) const ( diff --git a/go.mod b/go.mod index fcdab1c860..d6488a8f3a 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/lightningnetwork/lnd +module github.com/voltagecloud/lnd require ( github.com/NebulousLabs/go-upnp v0.0.0-20180202185039-29b680b06c82 @@ -35,15 +35,15 @@ require ( github.com/lib/pq v1.10.3 github.com/lightninglabs/neutrino v0.16.0 github.com/lightninglabs/neutrino/cache v1.1.1 - github.com/lightningnetwork/lightning-onion v1.2.1-0.20230823005744-06182b1d7d2f - github.com/lightningnetwork/lnd/cert v1.2.2 - github.com/lightningnetwork/lnd/clock v1.1.1 - github.com/lightningnetwork/lnd/healthcheck v1.2.3 - github.com/lightningnetwork/lnd/kvdb v1.4.4 - github.com/lightningnetwork/lnd/queue v1.1.1 - github.com/lightningnetwork/lnd/ticker v1.1.1 - github.com/lightningnetwork/lnd/tlv v1.1.1 - github.com/lightningnetwork/lnd/tor v1.1.2 + github.com/voltagecloud/lightning-onion v1.2.1-0.20230823005744-06182b1d7d2f + github.com/voltagecloud/lnd/cert v1.2.2 + github.com/voltagecloud/lnd/clock v1.1.1 + github.com/voltagecloud/lnd/healthcheck v1.2.3 + github.com/voltagecloud/lnd/kvdb v1.4.4 + github.com/voltagecloud/lnd/queue v1.1.1 + github.com/voltagecloud/lnd/ticker v1.1.1 + github.com/voltagecloud/lnd/tlv v1.1.1 + github.com/voltagecloud/lnd/tor v1.1.2 github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796 github.com/miekg/dns v1.1.43 github.com/ory/dockertest/v3 v3.10.0 diff --git a/go.sum b/go.sum index 5d07264dcc..82b39f7079 100644 --- a/go.sum +++ b/go.sum @@ -442,25 +442,25 @@ github.com/lightninglabs/neutrino/cache v1.1.1 h1:TllWOSlkABhpgbWJfzsrdUaDH2fBy/ github.com/lightninglabs/neutrino/cache v1.1.1/go.mod h1:XJNcgdOw1LQnanGjw8Vj44CvguYA25IMKjWFZczwZuo= github.com/lightninglabs/protobuf-go-hex-display v1.30.0-hex-display h1:pRdza2wleRN1L2fJXd6ZoQ9ZegVFTAb2bOQfruJPKcY= github.com/lightninglabs/protobuf-go-hex-display v1.30.0-hex-display/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -github.com/lightningnetwork/lightning-onion v1.2.1-0.20230823005744-06182b1d7d2f h1:Pua7+5TcFEJXIIZ1I2YAUapmbcttmLj4TTi786bIi3s= -github.com/lightningnetwork/lightning-onion v1.2.1-0.20230823005744-06182b1d7d2f/go.mod h1:c0kvRShutpj3l6B9WtTsNTBUtjSmjZXbJd9ZBRQOSKI= -github.com/lightningnetwork/lnd/cert v1.2.2 h1:71YK6hogeJtxSxw2teq3eGeuy4rHGKcFf0d0Uy4qBjI= -github.com/lightningnetwork/lnd/cert v1.2.2/go.mod h1:jQmFn/Ez4zhDgq2hnYSw8r35bqGVxViXhX6Cd7HXM6U= -github.com/lightningnetwork/lnd/clock v1.0.1/go.mod h1:KnQudQ6w0IAMZi1SgvecLZQZ43ra2vpDNj7H/aasemg= -github.com/lightningnetwork/lnd/clock v1.1.1 h1:OfR3/zcJd2RhH0RU+zX/77c0ZiOnIMsDIBjgjWdZgA0= -github.com/lightningnetwork/lnd/clock v1.1.1/go.mod h1:mGnAhPyjYZQJmebS7aevElXKTFDuO+uNFFfMXK1W8xQ= -github.com/lightningnetwork/lnd/healthcheck v1.2.3 h1:oqhOOy8WmIEa6RBkYKC0mmYZkhl8T2kGD97n9jpML8o= -github.com/lightningnetwork/lnd/healthcheck v1.2.3/go.mod h1:eDxH3dEwV9DeBW/6inrmlVh1qBOFV0AI14EEPnGt9gc= -github.com/lightningnetwork/lnd/kvdb v1.4.4 h1:bCv63rVCvzqj1BkagN/EWTov6NDDgYEG/t0z2HepRMk= -github.com/lightningnetwork/lnd/kvdb v1.4.4/go.mod h1:9SuaIqMA9ugrVkdvgQkYXa8CAKYNYd4vsEYORP4V698= -github.com/lightningnetwork/lnd/queue v1.1.1 h1:99ovBlpM9B0FRCGYJo6RSFDlt8/vOkQQZznVb18iNMI= -github.com/lightningnetwork/lnd/queue v1.1.1/go.mod h1:7A6nC1Qrm32FHuhx/mi1cieAiBZo5O6l8IBIoQxvkz4= -github.com/lightningnetwork/lnd/ticker v1.1.1 h1:J/b6N2hibFtC7JLV77ULQp++QLtCwT6ijJlbdiZFbSM= -github.com/lightningnetwork/lnd/ticker v1.1.1/go.mod h1:waPTRAAcwtu7Ji3+3k+u/xH5GHovTsCoSVpho0KDvdA= -github.com/lightningnetwork/lnd/tlv v1.1.1 h1:BW1u9+uHLRA9sm+8FBkAg1H9rPjrj3S9KvXYiCYjQWk= -github.com/lightningnetwork/lnd/tlv v1.1.1/go.mod h1:292dSXpZ+BNnSJFjS1qvHden9LEbulmECglSgfg+4lw= -github.com/lightningnetwork/lnd/tor v1.1.2 h1:3zv9z/EivNFaMF89v3ciBjCS7kvCj4ZFG7XvD2Qq0/k= -github.com/lightningnetwork/lnd/tor v1.1.2/go.mod h1:j7T9uJ2NLMaHwE7GiBGnpYLn4f7NRoTM6qj+ul6/ycA= +github.com/voltagecloud/lightning-onion v1.2.1-0.20230823005744-06182b1d7d2f h1:Pua7+5TcFEJXIIZ1I2YAUapmbcttmLj4TTi786bIi3s= +github.com/voltagecloud/lightning-onion v1.2.1-0.20230823005744-06182b1d7d2f/go.mod h1:c0kvRShutpj3l6B9WtTsNTBUtjSmjZXbJd9ZBRQOSKI= +github.com/voltagecloud/lnd/cert v1.2.2 h1:71YK6hogeJtxSxw2teq3eGeuy4rHGKcFf0d0Uy4qBjI= +github.com/voltagecloud/lnd/cert v1.2.2/go.mod h1:jQmFn/Ez4zhDgq2hnYSw8r35bqGVxViXhX6Cd7HXM6U= +github.com/voltagecloud/lnd/clock v1.0.1/go.mod h1:KnQudQ6w0IAMZi1SgvecLZQZ43ra2vpDNj7H/aasemg= +github.com/voltagecloud/lnd/clock v1.1.1 h1:OfR3/zcJd2RhH0RU+zX/77c0ZiOnIMsDIBjgjWdZgA0= +github.com/voltagecloud/lnd/clock v1.1.1/go.mod h1:mGnAhPyjYZQJmebS7aevElXKTFDuO+uNFFfMXK1W8xQ= +github.com/voltagecloud/lnd/healthcheck v1.2.3 h1:oqhOOy8WmIEa6RBkYKC0mmYZkhl8T2kGD97n9jpML8o= +github.com/voltagecloud/lnd/healthcheck v1.2.3/go.mod h1:eDxH3dEwV9DeBW/6inrmlVh1qBOFV0AI14EEPnGt9gc= +github.com/voltagecloud/lnd/kvdb v1.4.4 h1:bCv63rVCvzqj1BkagN/EWTov6NDDgYEG/t0z2HepRMk= +github.com/voltagecloud/lnd/kvdb v1.4.4/go.mod h1:9SuaIqMA9ugrVkdvgQkYXa8CAKYNYd4vsEYORP4V698= +github.com/voltagecloud/lnd/queue v1.1.1 h1:99ovBlpM9B0FRCGYJo6RSFDlt8/vOkQQZznVb18iNMI= +github.com/voltagecloud/lnd/queue v1.1.1/go.mod h1:7A6nC1Qrm32FHuhx/mi1cieAiBZo5O6l8IBIoQxvkz4= +github.com/voltagecloud/lnd/ticker v1.1.1 h1:J/b6N2hibFtC7JLV77ULQp++QLtCwT6ijJlbdiZFbSM= +github.com/voltagecloud/lnd/ticker v1.1.1/go.mod h1:waPTRAAcwtu7Ji3+3k+u/xH5GHovTsCoSVpho0KDvdA= +github.com/voltagecloud/lnd/tlv v1.1.1 h1:BW1u9+uHLRA9sm+8FBkAg1H9rPjrj3S9KvXYiCYjQWk= +github.com/voltagecloud/lnd/tlv v1.1.1/go.mod h1:292dSXpZ+BNnSJFjS1qvHden9LEbulmECglSgfg+4lw= +github.com/voltagecloud/lnd/tor v1.1.2 h1:3zv9z/EivNFaMF89v3ciBjCS7kvCj4ZFG7XvD2Qq0/k= +github.com/voltagecloud/lnd/tor v1.1.2/go.mod h1:j7T9uJ2NLMaHwE7GiBGnpYLn4f7NRoTM6qj+ul6/ycA= github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796 h1:sjOGyegMIhvgfq5oaue6Td+hxZuf3tDC8lAPrFldqFw= github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796/go.mod h1:3p7ZTf9V1sNPI5H8P3NkTFF4LuwMdPl2DodF60qAKqY= github.com/ltcsuite/ltcutil v0.0.0-20181217130922-17f3b04680b6/go.mod h1:8Vg/LTOO0KYa/vlHWJ6XZAevPQThGH5sufO0Hrou/lA= diff --git a/healthcheck/go.mod b/healthcheck/go.mod index 18c8b26d45..385c1df77f 100644 --- a/healthcheck/go.mod +++ b/healthcheck/go.mod @@ -1,11 +1,11 @@ -module github.com/lightningnetwork/lnd/healthcheck +module github.com/voltagecloud/lnd/healthcheck go 1.19 require ( github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f - github.com/lightningnetwork/lnd/ticker v1.1.0 - github.com/lightningnetwork/lnd/tor v1.0.0 + github.com/voltagecloud/lnd/ticker v1.1.0 + github.com/voltagecloud/lnd/tor v1.0.0 github.com/stretchr/testify v1.8.2 golang.org/x/sys v0.8.0 ) diff --git a/healthcheck/go.sum b/healthcheck/go.sum index a3cd43c455..59e155b809 100644 --- a/healthcheck/go.sum +++ b/healthcheck/go.sum @@ -49,10 +49,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/lightningnetwork/lnd/ticker v1.1.0 h1:ShoBiRP3pIxZHaETndfQ5kEe+S4NdAY1hiX7YbZ4QE4= -github.com/lightningnetwork/lnd/ticker v1.1.0/go.mod h1:ubqbSVCn6RlE0LazXuBr7/Zi6QT0uQo++OgIRBxQUrk= -github.com/lightningnetwork/lnd/tor v1.0.0 h1:wvEc7I+Y7IOtPglVP3cVBbYhiVhc7uTd7cMF9gQRzwA= -github.com/lightningnetwork/lnd/tor v1.0.0/go.mod h1:RDtaAdwfAm+ONuPYwUhNIH1RAvKPv+75lHPOegUcz64= +github.com/voltagecloud/lnd/ticker v1.1.0 h1:ShoBiRP3pIxZHaETndfQ5kEe+S4NdAY1hiX7YbZ4QE4= +github.com/voltagecloud/lnd/ticker v1.1.0/go.mod h1:ubqbSVCn6RlE0LazXuBr7/Zi6QT0uQo++OgIRBxQUrk= +github.com/voltagecloud/lnd/tor v1.0.0 h1:wvEc7I+Y7IOtPglVP3cVBbYhiVhc7uTd7cMF9gQRzwA= +github.com/voltagecloud/lnd/tor v1.0.0/go.mod h1:RDtaAdwfAm+ONuPYwUhNIH1RAvKPv+75lHPOegUcz64= github.com/miekg/dns v1.1.43 h1:JKfpVSCB84vrAmHzyrsxB5NAr5kLoMXZArPSw7Qlgyg= github.com/miekg/dns v1.1.43/go.mod h1:+evo5L0630/F6ca/Z9+GAqzhjGyn8/c+TBaOyfEl0V4= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= diff --git a/healthcheck/healthcheck.go b/healthcheck/healthcheck.go index 1cf6bd98c4..e60fb76a8b 100644 --- a/healthcheck/healthcheck.go +++ b/healthcheck/healthcheck.go @@ -12,7 +12,7 @@ import ( "sync/atomic" "time" - "github.com/lightningnetwork/lnd/ticker" + "github.com/voltagecloud/lnd/ticker" ) // Config contains configuration settings for our monitor. diff --git a/healthcheck/healthcheck_test.go b/healthcheck/healthcheck_test.go index b198e60a55..7d31f5ea4e 100644 --- a/healthcheck/healthcheck_test.go +++ b/healthcheck/healthcheck_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/ticker" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/ticker" ) var ( diff --git a/healthcheck/tor_connection.go b/healthcheck/tor_connection.go index a6befd99e5..14cdb335f2 100644 --- a/healthcheck/tor_connection.go +++ b/healthcheck/tor_connection.go @@ -6,7 +6,7 @@ import ( "io" "syscall" - "github.com/lightningnetwork/lnd/tor" + "github.com/voltagecloud/lnd/tor" ) // CheckTorServiceStatus checks whether the onion service is reachable by diff --git a/htlcswitch/circuit.go b/htlcswitch/circuit.go index efb2a47790..477d09e8e9 100644 --- a/htlcswitch/circuit.go +++ b/htlcswitch/circuit.go @@ -4,10 +4,10 @@ import ( "encoding/binary" "io" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/lnwire" ) // EmptyCircuitKey is a default value for an outgoing circuit key returned when diff --git a/htlcswitch/circuit_map.go b/htlcswitch/circuit_map.go index 9b26a1d07e..7037b55729 100644 --- a/htlcswitch/circuit_map.go +++ b/htlcswitch/circuit_map.go @@ -7,10 +7,10 @@ import ( "github.com/davecgh/go-spew/spew" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/htlcswitch/circuit_map_test.go b/htlcswitch/circuit_map_test.go index af9af3fd7c..a63f16215c 100644 --- a/htlcswitch/circuit_map_test.go +++ b/htlcswitch/circuit_map_test.go @@ -8,11 +8,11 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/htlcswitch/circuit_test.go b/htlcswitch/circuit_test.go index 4fc1e03966..b301c19e65 100644 --- a/htlcswitch/circuit_test.go +++ b/htlcswitch/circuit_test.go @@ -9,13 +9,13 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" bitcoinCfg "github.com/btcsuite/btcd/chaincfg" - sphinx "github.com/lightningnetwork/lightning-onion" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + sphinx "github.com/voltagecloud/lightning-onion" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/htlcswitch/decayedlog.go b/htlcswitch/decayedlog.go index 44e4d1c518..fefc50d994 100644 --- a/htlcswitch/decayedlog.go +++ b/htlcswitch/decayedlog.go @@ -8,9 +8,9 @@ import ( "sync" "sync/atomic" - sphinx "github.com/lightningnetwork/lightning-onion" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/kvdb" + sphinx "github.com/voltagecloud/lightning-onion" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/kvdb" ) const ( diff --git a/htlcswitch/decayedlog_test.go b/htlcswitch/decayedlog_test.go index 44446abc1a..25c2c7125f 100644 --- a/htlcswitch/decayedlog_test.go +++ b/htlcswitch/decayedlog_test.go @@ -6,11 +6,11 @@ import ( "testing" "time" - sphinx "github.com/lightningnetwork/lightning-onion" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntest/mock" "github.com/stretchr/testify/require" + sphinx "github.com/voltagecloud/lightning-onion" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntest/mock" ) const ( diff --git a/htlcswitch/failure.go b/htlcswitch/failure.go index 373263381f..a56dce09db 100644 --- a/htlcswitch/failure.go +++ b/htlcswitch/failure.go @@ -4,9 +4,9 @@ import ( "bytes" "fmt" - sphinx "github.com/lightningnetwork/lightning-onion" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/lnwire" + sphinx "github.com/voltagecloud/lightning-onion" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/lnwire" ) // ClearTextError is an interface which is implemented by errors that occur diff --git a/htlcswitch/failure_test.go b/htlcswitch/failure_test.go index 48ebc66821..76deec8a30 100644 --- a/htlcswitch/failure_test.go +++ b/htlcswitch/failure_test.go @@ -7,10 +7,10 @@ import ( "testing" "github.com/btcsuite/btcd/btcec/v2" - sphinx "github.com/lightningnetwork/lightning-onion" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/tlv" "github.com/stretchr/testify/require" + sphinx "github.com/voltagecloud/lightning-onion" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/tlv" ) // TestLongFailureMessage tests that longer failure messages can be interpreted diff --git a/htlcswitch/held_htlc_set.go b/htlcswitch/held_htlc_set.go index e098a2e007..b8f8babfaf 100644 --- a/htlcswitch/held_htlc_set.go +++ b/htlcswitch/held_htlc_set.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - "github.com/lightningnetwork/lnd/channeldb/models" + "github.com/voltagecloud/lnd/channeldb/models" ) // heldHtlcSet keeps track of outstanding intercepted forwards. It exposes diff --git a/htlcswitch/held_htlc_set_test.go b/htlcswitch/held_htlc_set_test.go index a0a5e5bb4b..bc10b98864 100644 --- a/htlcswitch/held_htlc_set_test.go +++ b/htlcswitch/held_htlc_set_test.go @@ -3,9 +3,9 @@ package htlcswitch import ( "testing" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/lnwire" ) func TestHeldHtlcSetEmpty(t *testing.T) { diff --git a/htlcswitch/hodl/mask_test.go b/htlcswitch/hodl/mask_test.go index 07ba6e338a..3b4d0b3ee1 100644 --- a/htlcswitch/hodl/mask_test.go +++ b/htlcswitch/hodl/mask_test.go @@ -3,8 +3,8 @@ package hodl_test import ( "testing" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/htlcswitch/hodl" + "github.com/voltagecloud/lnd/build" + "github.com/voltagecloud/lnd/htlcswitch/hodl" ) var hodlMaskTests = []struct { diff --git a/htlcswitch/hop/error_encryptor.go b/htlcswitch/hop/error_encryptor.go index 7b6a3dd1a5..8960aee16e 100644 --- a/htlcswitch/hop/error_encryptor.go +++ b/htlcswitch/hop/error_encryptor.go @@ -6,8 +6,8 @@ import ( "io" "github.com/btcsuite/btcd/btcec/v2" - sphinx "github.com/lightningnetwork/lightning-onion" - "github.com/lightningnetwork/lnd/lnwire" + sphinx "github.com/voltagecloud/lightning-onion" + "github.com/voltagecloud/lnd/lnwire" ) // EncrypterType establishes an enum used in serialization to indicate how to diff --git a/htlcswitch/hop/forwarding_info.go b/htlcswitch/hop/forwarding_info.go index 54b3274c22..57e54df94f 100644 --- a/htlcswitch/hop/forwarding_info.go +++ b/htlcswitch/hop/forwarding_info.go @@ -1,7 +1,7 @@ package hop import ( - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) // ForwardingInfo contains all the information that is necessary to forward and diff --git a/htlcswitch/hop/iterator.go b/htlcswitch/hop/iterator.go index c72d6c0a4b..a40c624889 100644 --- a/htlcswitch/hop/iterator.go +++ b/htlcswitch/hop/iterator.go @@ -7,8 +7,8 @@ import ( "sync" "github.com/btcsuite/btcd/btcec/v2" - sphinx "github.com/lightningnetwork/lightning-onion" - "github.com/lightningnetwork/lnd/lnwire" + sphinx "github.com/voltagecloud/lightning-onion" + "github.com/voltagecloud/lnd/lnwire" ) // Iterator is an interface that abstracts away the routing information diff --git a/htlcswitch/hop/iterator_test.go b/htlcswitch/hop/iterator_test.go index 524b70df09..da66f45f0f 100644 --- a/htlcswitch/hop/iterator_test.go +++ b/htlcswitch/hop/iterator_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - sphinx "github.com/lightningnetwork/lightning-onion" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" - "github.com/lightningnetwork/lnd/tlv" "github.com/stretchr/testify/require" + sphinx "github.com/voltagecloud/lightning-onion" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/record" + "github.com/voltagecloud/lnd/tlv" ) // TestSphinxHopIteratorForwardingInstructions tests that we're able to diff --git a/htlcswitch/hop/payload.go b/htlcswitch/hop/payload.go index d4672766c7..80b1bd688a 100644 --- a/htlcswitch/hop/payload.go +++ b/htlcswitch/hop/payload.go @@ -5,10 +5,10 @@ import ( "fmt" "io" - sphinx "github.com/lightningnetwork/lightning-onion" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" - "github.com/lightningnetwork/lnd/tlv" + sphinx "github.com/voltagecloud/lightning-onion" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/record" + "github.com/voltagecloud/lnd/tlv" ) // PayloadViolation is an enum encapsulating the possible invalid payload diff --git a/htlcswitch/hop/payload_test.go b/htlcswitch/hop/payload_test.go index 130b363dd6..583ce1bbad 100644 --- a/htlcswitch/hop/payload_test.go +++ b/htlcswitch/hop/payload_test.go @@ -5,10 +5,10 @@ import ( "reflect" "testing" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/record" ) const testUnknownRequiredType = 0x80 diff --git a/htlcswitch/hop/type.go b/htlcswitch/hop/type.go index a167d10e4f..61d0ca7902 100644 --- a/htlcswitch/hop/type.go +++ b/htlcswitch/hop/type.go @@ -1,6 +1,6 @@ package hop -import "github.com/lightningnetwork/lnd/lnwire" +import "github.com/voltagecloud/lnd/lnwire" var ( // Exit is a special "hop" denoting that an incoming HTLC is meant to diff --git a/htlcswitch/htlcnotifier.go b/htlcswitch/htlcnotifier.go index bd7be6e7cf..c4589e0432 100644 --- a/htlcswitch/htlcnotifier.go +++ b/htlcswitch/htlcnotifier.go @@ -6,12 +6,12 @@ import ( "sync" "time" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/subscribe" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/subscribe" ) // HtlcNotifier notifies clients of htlc forwards, failures and settles for diff --git a/htlcswitch/interceptable_switch.go b/htlcswitch/interceptable_switch.go index 09646bf2d0..8fcb969268 100644 --- a/htlcswitch/interceptable_switch.go +++ b/htlcswitch/interceptable_switch.go @@ -6,11 +6,11 @@ import ( "sync" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/htlcswitch/interfaces.go b/htlcswitch/interfaces.go index 304f4a5957..cb48693d23 100644 --- a/htlcswitch/interfaces.go +++ b/htlcswitch/interfaces.go @@ -2,14 +2,14 @@ package htlcswitch import ( "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/lnpeer" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/invoices" + "github.com/voltagecloud/lnd/lnpeer" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/record" ) // InvoiceDatabase is an interface which represents the persistent subsystem diff --git a/htlcswitch/link.go b/htlcswitch/link.go index e302cf3d8f..f18e9930a9 100644 --- a/htlcswitch/link.go +++ b/htlcswitch/link.go @@ -15,20 +15,20 @@ import ( "github.com/btcsuite/btclog" "github.com/davecgh/go-spew/spew" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/contractcourt" - "github.com/lightningnetwork/lnd/htlcswitch/hodl" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/lnpeer" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/queue" - "github.com/lightningnetwork/lnd/ticker" + "github.com/voltagecloud/lnd/build" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/contractcourt" + "github.com/voltagecloud/lnd/htlcswitch/hodl" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/invoices" + "github.com/voltagecloud/lnd/lnpeer" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/queue" + "github.com/voltagecloud/lnd/ticker" ) func init() { diff --git a/htlcswitch/link_isolated_test.go b/htlcswitch/link_isolated_test.go index 6b616d2d8c..2e4f7d0ce0 100644 --- a/htlcswitch/link_isolated_test.go +++ b/htlcswitch/link_isolated_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwire" ) type linkTestContext struct { diff --git a/htlcswitch/link_test.go b/htlcswitch/link_test.go index 37e306559d..cd5cb1dd36 100644 --- a/htlcswitch/link_test.go +++ b/htlcswitch/link_test.go @@ -20,24 +20,24 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - sphinx "github.com/lightningnetwork/lightning-onion" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/contractcourt" - "github.com/lightningnetwork/lnd/htlcswitch/hodl" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/input" - invpkg "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnpeer" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/ticker" "github.com/stretchr/testify/require" + sphinx "github.com/voltagecloud/lightning-onion" + "github.com/voltagecloud/lnd/build" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/contractcourt" + "github.com/voltagecloud/lnd/htlcswitch/hodl" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/input" + invpkg "github.com/voltagecloud/lnd/invoices" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnpeer" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/ticker" ) const ( diff --git a/htlcswitch/log.go b/htlcswitch/log.go index 5749de09e3..4d8bcc21f1 100644 --- a/htlcswitch/log.go +++ b/htlcswitch/log.go @@ -2,8 +2,8 @@ package htlcswitch import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/build" + "github.com/voltagecloud/lnd/htlcswitch/hop" ) // log is a logger that is initialized with no output filters. This diff --git a/htlcswitch/mailbox.go b/htlcswitch/mailbox.go index 99066497c7..8ca3354725 100644 --- a/htlcswitch/mailbox.go +++ b/htlcswitch/mailbox.go @@ -8,9 +8,9 @@ import ( "sync" "time" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/clock" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/htlcswitch/mailbox_test.go b/htlcswitch/mailbox_test.go index e48aacfcd6..90fd4a756a 100644 --- a/htlcswitch/mailbox_test.go +++ b/htlcswitch/mailbox_test.go @@ -8,13 +8,13 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/lnmock" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/clock" + "github.com/voltagecloud/lnd/lnmock" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" ) const testExpiry = time.Minute diff --git a/htlcswitch/mock.go b/htlcswitch/mock.go index 95e0f343ba..e9976e4faa 100644 --- a/htlcswitch/mock.go +++ b/htlcswitch/mock.go @@ -20,20 +20,20 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" "github.com/go-errors/errors" - sphinx "github.com/lightningnetwork/lightning-onion" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/contractcourt" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/lnpeer" - "github.com/lightningnetwork/lnd/lntest/mock" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/ticker" + sphinx "github.com/voltagecloud/lightning-onion" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/clock" + "github.com/voltagecloud/lnd/contractcourt" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/invoices" + "github.com/voltagecloud/lnd/lnpeer" + "github.com/voltagecloud/lnd/lntest/mock" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/ticker" ) func isAlias(scid lnwire.ShortChannelID) bool { diff --git a/htlcswitch/packet.go b/htlcswitch/packet.go index ddd524d730..84fdc6f820 100644 --- a/htlcswitch/packet.go +++ b/htlcswitch/packet.go @@ -1,10 +1,10 @@ package htlcswitch import ( - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/record" ) // htlcPacket is a wrapper around htlc lnwire update, which adds additional diff --git a/htlcswitch/payment_result.go b/htlcswitch/payment_result.go index cd982b8bb7..66d10e8ec7 100644 --- a/htlcswitch/payment_result.go +++ b/htlcswitch/payment_result.go @@ -7,10 +7,10 @@ import ( "io" "sync" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/multimutex" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/multimutex" ) var ( diff --git a/htlcswitch/payment_result_test.go b/htlcswitch/payment_result_test.go index 99e8074e58..a050fc167d 100644 --- a/htlcswitch/payment_result_test.go +++ b/htlcswitch/payment_result_test.go @@ -8,10 +8,10 @@ import ( "time" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" ) // TestNetworkResultSerialization checks that NetworkResults are properly diff --git a/htlcswitch/resolution_store.go b/htlcswitch/resolution_store.go index 20ac4e5d8a..f76d23a79e 100644 --- a/htlcswitch/resolution_store.go +++ b/htlcswitch/resolution_store.go @@ -5,10 +5,10 @@ import ( "io" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/contractcourt" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/contractcourt" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/htlcswitch/resolution_store_test.go b/htlcswitch/resolution_store_test.go index 122c699a1b..878d456e53 100644 --- a/htlcswitch/resolution_store_test.go +++ b/htlcswitch/resolution_store_test.go @@ -4,10 +4,10 @@ import ( "path/filepath" "testing" - "github.com/lightningnetwork/lnd/contractcourt" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/contractcourt" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" ) // TestInsertAndDelete tests that an inserted resolution message can be diff --git a/htlcswitch/sequencer.go b/htlcswitch/sequencer.go index 3f37414dac..e31049d4bd 100644 --- a/htlcswitch/sequencer.go +++ b/htlcswitch/sequencer.go @@ -4,8 +4,8 @@ import ( "sync" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/kvdb" ) // defaultSequenceBatchSize specifies the window of sequence numbers that are diff --git a/htlcswitch/switch.go b/htlcswitch/switch.go index 2d20db8002..facc87fc3e 100644 --- a/htlcswitch/switch.go +++ b/htlcswitch/switch.go @@ -13,18 +13,18 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/contractcourt" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/ticker" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/clock" + "github.com/voltagecloud/lnd/contractcourt" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/ticker" ) const ( diff --git a/htlcswitch/switch_test.go b/htlcswitch/switch_test.go index 28f3d9e2c8..b0c79337f2 100644 --- a/htlcswitch/switch_test.go +++ b/htlcswitch/switch_test.go @@ -13,17 +13,17 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/davecgh/go-spew/spew" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/contractcourt" - "github.com/lightningnetwork/lnd/htlcswitch/hodl" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/lntest/mock" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/ticker" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/contractcourt" + "github.com/voltagecloud/lnd/htlcswitch/hodl" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/lntest/mock" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/ticker" ) var zeroCircuit = models.CircuitKey{} diff --git a/htlcswitch/test_utils.go b/htlcswitch/test_utils.go index 649570d2cd..8c7612332f 100644 --- a/htlcswitch/test_utils.go +++ b/htlcswitch/test_utils.go @@ -21,25 +21,25 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/go-errors/errors" - sphinx "github.com/lightningnetwork/lightning-onion" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/contractcourt" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnpeer" - "github.com/lightningnetwork/lnd/lntest/channels" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/shachain" - "github.com/lightningnetwork/lnd/ticker" "github.com/stretchr/testify/require" + sphinx "github.com/voltagecloud/lightning-onion" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/contractcourt" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/invoices" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnpeer" + "github.com/voltagecloud/lnd/lntest/channels" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/shachain" + "github.com/voltagecloud/lnd/ticker" ) var ( diff --git a/input/input.go b/input/input.go index fe7971eed2..5ff9823700 100644 --- a/input/input.go +++ b/input/input.go @@ -6,7 +6,7 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lntypes" + "github.com/voltagecloud/lnd/lntypes" ) // Input represents an abstract UTXO which is to be spent using a sweeping diff --git a/input/musig2.go b/input/musig2.go index 28a15af738..7d97059e2c 100644 --- a/input/musig2.go +++ b/input/musig2.go @@ -8,8 +8,8 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/btcsuite/btcd/btcec/v2/schnorr/musig2" - "github.com/lightningnetwork/lnd/internal/musig2v040" - "github.com/lightningnetwork/lnd/keychain" + "github.com/voltagecloud/keychain" + "github.com/voltagecloud/lnd/internal/musig2v040" ) // MuSig2Version is a type that defines the different versions of the MuSig2 diff --git a/input/musig2_session_manager.go b/input/musig2_session_manager.go index b2cac4899d..a0693af48d 100644 --- a/input/musig2_session_manager.go +++ b/input/musig2_session_manager.go @@ -7,9 +7,9 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/btcsuite/btcd/btcec/v2/schnorr/musig2" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnutils" - "github.com/lightningnetwork/lnd/multimutex" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnutils" + "github.com/voltagecloud/multimutex" ) // MuSig2State is a struct that holds on to the internal signing session state diff --git a/input/script_desc.go b/input/script_desc.go index a32ae66316..ee3929a01b 100644 --- a/input/script_desc.go +++ b/input/script_desc.go @@ -5,7 +5,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/txscript" - "github.com/lightningnetwork/lnd/lnutils" + "github.com/voltagecloud/lnd/lnutils" ) // ErrUnknownScriptType is returned when an unknown script type is encountered. diff --git a/input/script_utils.go b/input/script_utils.go index d907737b84..cd8f1156c5 100644 --- a/input/script_utils.go +++ b/input/script_utils.go @@ -13,7 +13,7 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnutils" + "github.com/voltagecloud/lnd/lnutils" "golang.org/x/crypto/ripemd160" ) diff --git a/input/script_utils_test.go b/input/script_utils_test.go index 92eb806992..74b7c827c6 100644 --- a/input/script_utils_test.go +++ b/input/script_utils_test.go @@ -13,8 +13,8 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/keychain" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/keychain" ) // assertEngineExecution executes the VM returned by the newEngine closure, diff --git a/input/signdescriptor.go b/input/signdescriptor.go index a01c939ae7..f842ee4bc3 100644 --- a/input/signdescriptor.go +++ b/input/signdescriptor.go @@ -9,7 +9,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/keychain" + "github.com/voltagecloud/lnd/keychain" ) var ( diff --git a/input/signdescriptor_test.go b/input/signdescriptor_test.go index a929e3a166..6230c843ab 100644 --- a/input/signdescriptor_test.go +++ b/input/signdescriptor_test.go @@ -8,7 +8,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/keychain" + "github.com/voltagecloud/lnd/keychain" ) func TestSignDescriptorSerialization(t *testing.T) { diff --git a/input/size_test.go b/input/size_test.go index 1f447cf89f..de40219bd8 100644 --- a/input/size_test.go +++ b/input/size_test.go @@ -10,11 +10,11 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwallet" "github.com/stretchr/testify/require" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/input" + "github.com/voltagecloud/keychain" + "github.com/voltagecloud/lnd/lnwallet" ) const ( diff --git a/input/taproot_test.go b/input/taproot_test.go index bcc5695c7e..7e56cabdcf 100644 --- a/input/taproot_test.go +++ b/input/taproot_test.go @@ -8,9 +8,9 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lntypes" "github.com/stretchr/testify/require" + "github.com/voltagecloud/keychain" + "github.com/voltagecloud/lnd/lntypes" ) type testSenderHtlcScriptTree struct { diff --git a/input/test_utils.go b/input/test_utils.go index 682dfdcd4e..9b537b7c00 100644 --- a/input/test_utils.go +++ b/input/test_utils.go @@ -13,7 +13,7 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/keychain" + "github.com/voltagecloud/lnd/keychain" ) var ( diff --git a/intercepted_forward.go b/intercepted_forward.go index 70590d0e41..a1baebd81f 100644 --- a/intercepted_forward.go +++ b/intercepted_forward.go @@ -3,9 +3,9 @@ package lnd import ( "errors" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/invoices/interface.go b/invoices/interface.go index f717afd4e7..b4d1341318 100644 --- a/invoices/interface.go +++ b/invoices/interface.go @@ -3,9 +3,9 @@ package invoices import ( "time" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/record" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lntypes" + "github.com/voltagecloud/record" ) // InvScanFunc is a helper type used to specify the type used in the diff --git a/invoices/invoice_expiry_watcher.go b/invoices/invoice_expiry_watcher.go index f16a7a18dd..2c62496323 100644 --- a/invoices/invoice_expiry_watcher.go +++ b/invoices/invoice_expiry_watcher.go @@ -6,11 +6,11 @@ import ( "time" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/queue" - "github.com/lightningnetwork/lnd/zpay32" + "github.com/voltagecloud/clock" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lntypes" + "github.com/voltagecloud/queue" + "github.com/voltagecloud/zpay32" ) // invoiceExpiry is a vanity interface for different invoice expiry types diff --git a/invoices/invoice_expiry_watcher_test.go b/invoices/invoice_expiry_watcher_test.go index 5242ed004e..e1f5982634 100644 --- a/invoices/invoice_expiry_watcher_test.go +++ b/invoices/invoice_expiry_watcher_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/lntypes" "github.com/stretchr/testify/require" + "github.com/voltagecloud/clock" + "github.com/voltagecloud/lnd/lntypes" ) // invoiceExpiryWatcherTest holds a test fixture and implements checks diff --git a/invoices/invoiceregistry.go b/invoices/invoiceregistry.go index a638f46b1a..d9b51043c2 100644 --- a/invoices/invoiceregistry.go +++ b/invoices/invoiceregistry.go @@ -7,11 +7,11 @@ import ( "sync/atomic" "time" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/queue" - "github.com/lightningnetwork/lnd/record" + "github.com/voltagecloud/lnd/clock" + "github.com/voltagecloud/lntypes" + "github.com/voltagecloud/lnwire" + "github.com/voltagecloud/queue" + "github.com/voltagecloud/record" ) var ( diff --git a/invoices/invoiceregistry_test.go b/invoices/invoiceregistry_test.go index 1b93b8f249..d24aeb5294 100644 --- a/invoices/invoiceregistry_test.go +++ b/invoices/invoiceregistry_test.go @@ -7,14 +7,14 @@ import ( "testing/quick" "time" - "github.com/lightningnetwork/lnd/amp" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/clock" - invpkg "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" "github.com/stretchr/testify/require" + "github.com/voltagecloud/amp" + "github.com/voltagecloud/chainntnfs" + "github.com/voltag/voltagecloud/ + invpkg "git/voltagecloud/ud/lnd/invoices" + "github.com/voltagecloud/lntypes" + "github.com/voltagecloud/lnwire" + "github.com/voltagecloud/lnd/record" ) // TestSettleInvoice tests settling of an invoice and related notifications. diff --git a/invoices/invoices.go b/invoices/invoices.go index 24447223d3..49f4a137ed 100644 --- a/invoices/invoices.go +++ b/invoices/invoices.go @@ -6,10 +6,10 @@ import ( "strings" "time" - "github.com/lightningnetwork/lnd/feature" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" + "github.com/voltagecloud/lnd/feature" + "github.com/voltagecloud/lntypes" + "github.com/voltagecloud/lnwire" + "github.com/voltagecloud/record" ) const ( diff --git a/invoices/log.go b/invoices/log.go index 5e3a0b17be..13021e9b8e 100644 --- a/invoices/log.go +++ b/invoices/log.go @@ -2,7 +2,7 @@ package invoices import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This diff --git a/invoices/mock.go b/invoices/mock.go index 8410208bf7..e4cc7ed8c1 100644 --- a/invoices/mock.go +++ b/invoices/mock.go @@ -1,8 +1,8 @@ package invoices import ( - "github.com/lightningnetwork/lnd/lntypes" "github.com/stretchr/testify/mock" + "github.com/voltagecloud/lnd/lntypes" ) type MockInvoiceDB struct { diff --git a/invoices/resolution.go b/invoices/resolution.go index c2868857d4..76d3b66582 100644 --- a/invoices/resolution.go +++ b/invoices/resolution.go @@ -3,7 +3,7 @@ package invoices import ( "time" - "github.com/lightningnetwork/lnd/lntypes" + "github.com/voltagecloud/lnd/lntypes" ) // HtlcResolution describes how an htlc should be resolved. diff --git a/invoices/test_utils.go b/invoices/test_utils.go index c6e226083d..265884b74f 100644 --- a/invoices/test_utils.go +++ b/invoices/test_utils.go @@ -13,12 +13,12 @@ import ( "github.com/btcsuite/btcd/btcec/v2/ecdsa" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/zpay32" "github.com/stretchr/testify/require" + "github.com/voltagecloud/chainntnfs" + "github.com/voltagecloud/clock" + "github.com/voltagecloud/lnd/zpay32" + "github.com/voltagecloud/lntypes" + "github.com/voltagecloud/lnwire" ) type mockChainNotifier struct { diff --git a/invoices/test_utils_test.go b/invoices/test_utils_test.go index 13cd11184d..7aabc16b30 100644 --- a/invoices/test_utils_test.go +++ b/invoices/test_utils_test.go @@ -15,15 +15,15 @@ import ( "github.com/btcsuite/btcd/btcec/v2/ecdsa" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/clock" - invpkg "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" - "github.com/lightningnetwork/lnd/zpay32" "github.com/stretchr/testify/require" + "github.com/voltagecloud/chainntnfs" + "github.com/voltagecloud/channeldb" + "github.com/voltag/voltagecloud/ + invpkg "git/voltagecloud/ud/lnd/invoices" + "github.com/voltagecloud/lntypes" + "github.com/voltagecloud/lnwire" + "github.com/voltagecloud/record" + "github.com/voltagecloud/lnd/zpay32" ) type mockPayload struct { diff --git a/invoices/update.go b/invoices/update.go index ed60c278ca..3c7dfd6317 100644 --- a/invoices/update.go +++ b/invoices/update.go @@ -4,10 +4,10 @@ import ( "encoding/hex" "errors" - "github.com/lightningnetwork/lnd/amp" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" + "github.com/voltagecloud/lnd/amp" + "github.com/voltagecloud/lntypes" + "github.com/voltagecloud/lnwire" + "github.com/voltagecloud/record" ) // invoiceUpdateCtx is an object that describes the context for the invoice diff --git a/itest/list_off_test.go b/itest/list_off_test.go index a510747e8b..a133dc9802 100644 --- a/itest/list_off_test.go +++ b/itest/list_off_test.go @@ -2,6 +2,6 @@ package itest -import "github.com/lightningnetwork/lnd/lntest" +import "github.com/voltagecloud/lnd/lntest" var allTestCases = []*lntest.TestCase{} diff --git a/itest/list_on_test.go b/itest/list_on_test.go index d5664d3dfe..89adf9387b 100644 --- a/itest/list_on_test.go +++ b/itest/list_on_test.go @@ -2,7 +2,7 @@ package itest -import "github.com/lightningnetwork/lnd/lntest" +import "github.com/voltagecloud/lnd/lntest" var allTestCases = []*lntest.TestCase{ { diff --git a/itest/lnd_amp_test.go b/itest/lnd_amp_test.go index a76aedd99d..024affebce 100644 --- a/itest/lnd_amp_test.go +++ b/itest/lnd_amp_test.go @@ -6,15 +6,15 @@ import ( "time" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/amp" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/invoicesrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntypes" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/amp" + "github.com/voltagecloud/lnd/chainreg" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/invoicesrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntypes" ) // testSendPaymentAMPInvoice tests that we can send an AMP payment to a diff --git a/itest/lnd_channel_backup_test.go b/itest/lnd_channel_backup_test.go index e4c046b3df..72d000aa5d 100644 --- a/itest/lnd_channel_backup_test.go +++ b/itest/lnd_channel_backup_test.go @@ -14,14 +14,14 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chanbackup" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/wait" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chanbackup" + "github.com/voltagecloud/lnd/funding" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/walletrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntest/wait" ) type ( diff --git a/itest/lnd_channel_balance_test.go b/itest/lnd_channel_balance_test.go index 72dd16ea34..906c9718c0 100644 --- a/itest/lnd_channel_balance_test.go +++ b/itest/lnd_channel_balance_test.go @@ -4,14 +4,14 @@ import ( "fmt" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/funding" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lnwire" ) // testChannelBalance creates a new channel between Alice and Bob, then checks diff --git a/itest/lnd_channel_force_close_test.go b/itest/lnd_channel_force_close_test.go index e640ea5839..74b4fc5b76 100644 --- a/itest/lnd_channel_force_close_test.go +++ b/itest/lnd_channel_force_close_test.go @@ -9,17 +9,17 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/routing" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd" + "github.com/voltagecloud/lnd/chainreg" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/routing" ) // testCommitmentTransactionDeadline tests that the anchor sweep transaction is diff --git a/itest/lnd_channel_funding_fund_max_test.go b/itest/lnd_channel_funding_fund_max_test.go index 4a063bef13..4b42e125e6 100644 --- a/itest/lnd_channel_funding_fund_max_test.go +++ b/itest/lnd_channel_funding_fund_max_test.go @@ -6,16 +6,16 @@ import ( "testing" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/ + "github.com/voltagecloud/input" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnrpc/walletrpc" + "github.com/voltagecloud/lntest" + "github.com/voltagecloud/lntest/node" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" ) type chanFundMaxTestCase struct { diff --git a/itest/lnd_channel_funding_utxo_selection_test.go b/itest/lnd_channel_funding_utxo_selection_test.go index 27c8313515..574a804345 100644 --- a/itest/lnd_channel_funding_utxo_selection_test.go +++ b/itest/lnd_channel_funding_utxo_selection_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnrpc/walletrpc" + "github.com/voltagecloud/lntest" + "github.com/voltagecloud/lntest/node" + "github.com/voltagecloud/lnwallet" ) type chanFundUtxoSelectionTestCase struct { diff --git a/itest/lnd_channel_graph_test.go b/itest/lnd_channel_graph_test.go index 73a9266b70..3ae13343c6 100644 --- a/itest/lnd_channel_graph_test.go +++ b/itest/lnd_channel_graph_test.go @@ -6,16 +6,16 @@ import ( "testing" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/peersrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chainreg" + "github.com/voltagecloud/lnd/funding" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/peersrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lnwire" ) // testUpdateChanStatus checks that calls to the UpdateChanStatus RPC update diff --git a/itest/lnd_channel_policy_test.go b/itest/lnd_channel_policy_test.go index 85527a0821..b40c343482 100644 --- a/itest/lnd_channel_policy_test.go +++ b/itest/lnd_channel_policy_test.go @@ -6,14 +6,14 @@ import ( "time" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/chainreg" + "github.com/voltagecloud/funding" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnrpc/routerrpc" + "github.com/voltagecloud/lntest" + "github.com/voltagecloud/lntest/node" ) // testUpdateChannelPolicy tests that policy updates made to a channel diff --git a/itest/lnd_custom_features.go b/itest/lnd_custom_features.go index 4867ca2d11..faf1c0dd29 100644 --- a/itest/lnd_custom_features.go +++ b/itest/lnd_custom_features.go @@ -3,10 +3,10 @@ package itest import ( "fmt" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/peersrpc" - "github.com/lightningnetwork/lnd/lntest" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/peersrpc" + "github.com/voltagecloud/lnd/lntest" ) // testCustomFeatures tests advertisement of custom features in various bolt 9 diff --git a/itest/lnd_custom_message_test.go b/itest/lnd_custom_message_test.go index 14a4e79493..9f1e8bafaf 100644 --- a/itest/lnd_custom_message_test.go +++ b/itest/lnd_custom_message_test.go @@ -4,10 +4,10 @@ import ( "fmt" "time" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lnwire" ) // testCustomMessage tests sending and receiving of overridden custom message diff --git a/itest/lnd_etcd_failover_test.go b/itest/lnd_etcd_failover_test.go index 9ec6bd8a81..fa839cb15a 100644 --- a/itest/lnd_etcd_failover_test.go +++ b/itest/lnd_etcd_failover_test.go @@ -8,13 +8,13 @@ import ( "time" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/cluster" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/cluster" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lncfg" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/node" ) func assertLeader(ht *lntest.HarnessTest, observer cluster.LeaderElector, diff --git a/itest/lnd_forward_interceptor_test.go b/itest/lnd_forward_interceptor_test.go index b5d08f5bf8..9440bc214c 100644 --- a/itest/lnd_forward_interceptor_test.go +++ b/itest/lnd_forward_interceptor_test.go @@ -6,15 +6,15 @@ import ( "time" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/routing/route" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chainreg" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/routing/route" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) @@ -291,7 +291,7 @@ func testForwardInterceptorBasic(ht *lntest.HarnessTest) { // Verify that we don't get notified about already completed HTLCs // We do that by restarting alice, the sender the HTLCs. Under - // https://github.com/lightningnetwork/lnd/issues/5115 + // https://github.com/voltagecloud/lnd/issues/5115 // this should cause all HTLCs settled or failed by the interceptor to // renotify. restartAlice := ht.SuspendNode(alice) diff --git a/itest/lnd_funding_test.go b/itest/lnd_funding_test.go index e280494171..b5343e6d6e 100644 --- a/itest/lnd_funding_test.go +++ b/itest/lnd_funding_test.go @@ -11,16 +11,16 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/labels" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/signrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chainreg" + "github.com/voltagecloud/lnd/funding" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/labels" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/signrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lnwire" ) // testBasicChannelFunding performs a test exercising expected behavior from a diff --git a/itest/lnd_hold_invoice_force_test.go b/itest/lnd_hold_invoice_force_test.go index a3d8326143..78e3a8eb46 100644 --- a/itest/lnd_hold_invoice_force_test.go +++ b/itest/lnd_hold_invoice_force_test.go @@ -3,14 +3,14 @@ package itest import ( "fmt" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/invoicesrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lntypes" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lncfg" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnrpc/invoicesrpc" + "github.com/voltagecloud/lnrpc/routerrpc" + "github.com/voltagecloud/lntest" + "github.com/voltagecloud/lntest/wait" ) // testHoldInvoiceForceClose tests cancellation of accepted hold invoices which diff --git a/itest/lnd_hold_persistence_test.go b/itest/lnd_hold_persistence_test.go index c7cd5eac24..af02879a45 100644 --- a/itest/lnd_hold_persistence_test.go +++ b/itest/lnd_hold_persistence_test.go @@ -4,14 +4,14 @@ import ( "fmt" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/invoicesrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/rpc" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lntypes" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/invoicesrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/rpc" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lntypes" ) // testHoldInvoicePersistence tests that a sender to a hold-invoice, can be diff --git a/itest/lnd_htlc_test.go b/itest/lnd_htlc_test.go index fc04fe8d0f..ad06830765 100644 --- a/itest/lnd_htlc_test.go +++ b/itest/lnd_htlc_test.go @@ -2,9 +2,9 @@ package itest import ( "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntest" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lntest" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/itest/lnd_macaroons_test.go b/itest/lnd_macaroons_test.go index 3adfafffe9..d1d58155c6 100644 --- a/itest/lnd_macaroons_test.go +++ b/itest/lnd_macaroons_test.go @@ -9,12 +9,12 @@ import ( "strings" "testing" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/macaroons" "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/macaroons" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lntest" + "github.com/voltagecloud/require" "google.golang.org/protobuf/proto" "gopkg.in/macaroon.v2" ) diff --git a/itest/lnd_max_channel_size_test.go b/itest/lnd_max_channel_size_test.go index 9959c75895..8ff63cd104 100644 --- a/itest/lnd_max_channel_size_test.go +++ b/itest/lnd_max_channel_size_test.go @@ -4,9 +4,9 @@ import ( "fmt" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lnwallet" + "github.com/voltagecloud/lnd/funding" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lnwallet" ) // testMaxChannelSize tests that lnd handles --maxchansize parameter correctly. diff --git a/itest/lnd_max_htlcs_test.go b/itest/lnd_max_htlcs_test.go index 72d6ac0317..e37da5b5b1 100644 --- a/itest/lnd_max_htlcs_test.go +++ b/itest/lnd_max_htlcs_test.go @@ -1,13 +1,13 @@ package itest import ( - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/invoicesrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntypes" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnrpc/invoicesrpc" + "github.com/voltagecloud/lnrpc/routerrpc" + "github.com/voltagecloud/lntest" + "github.com/voltagecloud/lntest/node" ) // testMaxHtlcPathfind tests the case where we try to send a payment over a diff --git a/itest/lnd_misc_test.go b/itest/lnd_misc_test.go index 62a568e297..1e9ef1941b 100644 --- a/itest/lnd_misc_test.go +++ b/itest/lnd_misc_test.go @@ -9,20 +9,20 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcwallet/wallet" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/invoicesrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chainreg" + "github.com/voltagecloud/lnd/funding" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lncfg" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/invoicesrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lnrpc/walletrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwire" ) // testDisconnectingTargetPeer performs a test which disconnects Alice-peer diff --git a/itest/lnd_mpp_test.go b/itest/lnd_mpp_test.go index 6906582083..53cd93dd79 100644 --- a/itest/lnd_mpp_test.go +++ b/itest/lnd_mpp_test.go @@ -4,14 +4,14 @@ import ( "time" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/routing/route" "github.com/stretchr/testify/require" + "github.com/voltagecloud/chainreg" + "github.com/voltagecloud/lnd/routing/route" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnrpc/routerrpc" + "github.com/voltagecloud/lntest" + "github.com/voltagecloud/lntest/node" + "github.com/voltagecloud/lntypes" ) // testSendToRouteMultiPath tests that we are able to successfully route a diff --git a/itest/lnd_multi-hop-error-propagation_test.go b/itest/lnd_multi-hop-error-propagation_test.go index 3941accb0b..8dfe7debcc 100644 --- a/itest/lnd_multi-hop-error-propagation_test.go +++ b/itest/lnd_multi-hop-error-propagation_test.go @@ -3,12 +3,12 @@ package itest import ( "math" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/funding" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnrpc/routerrpc" + "github.com/voltagecloud/lntest" ) func testHtlcErrorPropagation(ht *lntest.HarnessTest) { diff --git a/itest/lnd_multi-hop-payments_test.go b/itest/lnd_multi-hop-payments_test.go index 30a4464710..8215f96c09 100644 --- a/itest/lnd_multi-hop-payments_test.go +++ b/itest/lnd_multi-hop-payments_test.go @@ -2,12 +2,12 @@ package itest import ( "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" "github.com/stretchr/testify/require" + "github.com/voltagecloud/chainreg" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnrpc/routerrpc" + "github.com/voltagecloud/lntest" ) func testMultiHopPayments(ht *lntest.HarnessTest) { diff --git a/itest/lnd_multi-hop_test.go b/itest/lnd_multi-hop_test.go index 2630bbde6a..a01f83748e 100644 --- a/itest/lnd_multi-hop_test.go +++ b/itest/lnd_multi-hop_test.go @@ -8,17 +8,17 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/invoicesrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/rpc" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/routing" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chainreg" + "github.com/voltagecloud/lnd/lncfg" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/invoicesrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntest/rpc" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/routing" ) const ( diff --git a/itest/lnd_network_test.go b/itest/lnd_network_test.go index b4c73af60a..9c310b65e8 100644 --- a/itest/lnd_network_test.go +++ b/itest/lnd_network_test.go @@ -5,12 +5,12 @@ import ( "net" "time" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/wait" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lncfg" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntest/wait" ) // testNetworkConnectionTimeout checks that the connectiontimeout is taking diff --git a/itest/lnd_neutrino_test.go b/itest/lnd_neutrino_test.go index 2c551362a2..faa00b6bc3 100644 --- a/itest/lnd_neutrino_test.go +++ b/itest/lnd_neutrino_test.go @@ -1,9 +1,9 @@ package itest import ( - "github.com/lightningnetwork/lnd/lnrpc/neutrinorpc" - "github.com/lightningnetwork/lnd/lntest" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnrpc/neutrinorpc" + "github.com/voltagecloud/lnd/lntest" ) // testNeutrino checks that the neutrino sub-server can fetch compact diff --git a/itest/lnd_no_etcd_dummy_failover_test.go b/itest/lnd_no_etcd_dummy_failover_test.go index 2d731febcf..3f5960f17d 100644 --- a/itest/lnd_no_etcd_dummy_failover_test.go +++ b/itest/lnd_no_etcd_dummy_failover_test.go @@ -3,7 +3,7 @@ package itest -import "github.com/lightningnetwork/lnd/lntest" +import "github.com/voltagecloud/lnd/lntest" // testEtcdFailover is an empty itest when LND is not compiled with etcd // support. diff --git a/itest/lnd_nonstd_sweep_test.go b/itest/lnd_nonstd_sweep_test.go index a85fbc786a..2268b1b44e 100644 --- a/itest/lnd_nonstd_sweep_test.go +++ b/itest/lnd_nonstd_sweep_test.go @@ -4,9 +4,9 @@ import ( "testing" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntest" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lntest" ) func testNonstdSweep(ht *lntest.HarnessTest) { diff --git a/itest/lnd_onchain_test.go b/itest/lnd_onchain_test.go index 7029c429f0..491529f8ff 100644 --- a/itest/lnd_onchain_test.go +++ b/itest/lnd_onchain_test.go @@ -8,16 +8,16 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/chainrpc" - "github.com/lightningnetwork/lnd/lnrpc/signrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/sweep" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/chainrpc" + "github.com/voltagecloud/lnd/lnrpc/signrpc" + "github.com/voltagecloud/lnd/lnrpc/walletrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/sweep" ) // testChainKit tests ChainKit RPC endpoints. diff --git a/itest/lnd_open_channel_test.go b/itest/lnd_open_channel_test.go index d8cf664850..b13f230a0d 100644 --- a/itest/lnd_open_channel_test.go +++ b/itest/lnd_open_channel_test.go @@ -7,14 +7,14 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/rpc" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chainreg" + "github.com/voltagecloud/lnd/funding" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntest/rpc" ) // testOpenChannelAfterReorg tests that in the case where we have an open diff --git a/itest/lnd_payment_test.go b/itest/lnd_payment_test.go index 28d499a5b0..ec8203ff14 100644 --- a/itest/lnd_payment_test.go +++ b/itest/lnd_payment_test.go @@ -8,13 +8,13 @@ import ( "time" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/wait" "github.com/stretchr/testify/require" + "github.com/voltagecloud/input" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnrpc/routerrpc" + "github.com/voltagecloud/lntest" + "github.com/voltagecloud/lntest/node" ) // testSendDirectPayment creates a topology Alice->Bob and then tests that diff --git a/itest/lnd_psbt_test.go b/itest/lnd_psbt_test.go index 3bf1cfa04f..0c82d05629 100644 --- a/itest/lnd_psbt_test.go +++ b/itest/lnd_psbt_test.go @@ -13,15 +13,15 @@ import ( "github.com/btcsuite/btcd/btcutil/psbt" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/signrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" "github.com/stretchr/testify/require" + "github.com/voltagecloud/funding" + "github.com/voltagecloud/input" + "github.com/voltagecloud/keychain" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnrpc/signrpc" + "github.com/voltagecloud/lnrpc/walletrpc" + "github.com/voltagecloud/lntest" ) // testPsbtChanFunding makes sure a channel can be opened between carol and dave diff --git a/itest/lnd_recovery_test.go b/itest/lnd_recovery_test.go index ef251f0428..ce08012034 100644 --- a/itest/lnd_recovery_test.go +++ b/itest/lnd_recovery_test.go @@ -10,16 +10,16 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/aezeed" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/signrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/aezeed" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/signrpc" + "github.com/voltagecloud/lnd/lnrpc/walletrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) // testGetRecoveryInfo checks whether lnd gives the right information about diff --git a/itest/lnd_remote_signer_test.go b/itest/lnd_remote_signer_test.go index b9c96bb008..a081c71e7d 100644 --- a/itest/lnd_remote_signer_test.go +++ b/itest/lnd_remote_signer_test.go @@ -7,13 +7,13 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/btcutil/hdkeychain" "github.com/btcsuite/btcwallet/waddrmgr" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/signrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" "github.com/stretchr/testify/require" + "github.com/voltagecloud/keychain" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnrpc/signrpc" + "github.com/voltagecloud/lnrpc/walletrpc" + "github.com/voltagecloud/lntest" ) var ( diff --git a/itest/lnd_res_handoff_test.go b/itest/lnd_res_handoff_test.go index 8fc2f10434..bb2316240a 100644 --- a/itest/lnd_res_handoff_test.go +++ b/itest/lnd_res_handoff_test.go @@ -4,9 +4,9 @@ import ( "time" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntest" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnrpc" ) // testResHandoff tests that the contractcourt is able to properly hand-off diff --git a/itest/lnd_rest_api_test.go b/itest/lnd_rest_api_test.go index 78648b70dd..fbdf998652 100644 --- a/itest/lnd_rest_api_test.go +++ b/itest/lnd_rest_api_test.go @@ -14,15 +14,15 @@ import ( "time" "github.com/gorilla/websocket" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/autopilotrpc" - "github.com/lightningnetwork/lnd/lnrpc/chainrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lnrpc/verrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/autopilotrpc" + "github.com/voltagecloud/lnd/lnrpc/chainrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lnrpc/verrpc" + "github.com/voltagecloud/lnd/lnrpc/walletrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/node" "google.golang.org/protobuf/proto" ) diff --git a/itest/lnd_revocation_test.go b/itest/lnd_revocation_test.go index 4350c92a2b..1e10c0cb7d 100644 --- a/itest/lnd_revocation_test.go +++ b/itest/lnd_revocation_test.go @@ -10,12 +10,12 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/wtclientrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/wait" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/funding" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/wtclientrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/wait" ) func breachRetributionTestCase(ht *lntest.HarnessTest, diff --git a/itest/lnd_routing_test.go b/itest/lnd_routing_test.go index fa898835a8..16c24a99e7 100644 --- a/itest/lnd_routing_test.go +++ b/itest/lnd_routing_test.go @@ -7,15 +7,15 @@ import ( "time" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing" "github.com/stretchr/testify/require" + "github.com/voltagecloud/chainreg" + "github.com/voltagecloud/lnd/routing" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnrpc/routerrpc" + "github.com/voltagecloud/lntest" + "github.com/voltagecloud/lntest/node" + "github.com/voltagecloud/lntest/wait" + "github.com/voltagecloud/lnwire" "google.golang.org/protobuf/proto" ) diff --git a/itest/lnd_rpc_middleware_interceptor_test.go b/itest/lnd_rpc_middleware_interceptor_test.go index 7c99f6f209..2f90d86afa 100644 --- a/itest/lnd_rpc_middleware_interceptor_test.go +++ b/itest/lnd_rpc_middleware_interceptor_test.go @@ -7,12 +7,12 @@ import ( "time" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/macaroons" - "github.com/lightningnetwork/lnd/zpay32" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/macaroons" + "github.com/voltagecloud/lnd/zpay32" "google.golang.org/protobuf/proto" "gopkg.in/macaroon.v2" ) diff --git a/itest/lnd_send_multi_path_payment_test.go b/itest/lnd_send_multi_path_payment_test.go index 143cf496dd..d90fef1f86 100644 --- a/itest/lnd_send_multi_path_payment_test.go +++ b/itest/lnd_send_multi_path_payment_test.go @@ -4,10 +4,10 @@ import ( "encoding/hex" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnrpc/routerrpc" ) // testSendMultiPathPayment tests that we are able to successfully route a diff --git a/itest/lnd_signer_test.go b/itest/lnd_signer_test.go index 1372e45020..4fc64c583d 100644 --- a/itest/lnd_signer_test.go +++ b/itest/lnd_signer_test.go @@ -9,13 +9,13 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/signrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" "github.com/stretchr/testify/require" + "github.com/voltagecloud/keychain" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnrpc/signrpc" + "github.com/voltagecloud/lnrpc/walletrpc" + "github.com/voltagecloud/lntest" ) // testDeriveSharedKey checks the ECDH performed by the endpoint diff --git a/itest/lnd_single_hop_invoice_test.go b/itest/lnd_single_hop_invoice_test.go index 8051f7bb86..d92577b7fb 100644 --- a/itest/lnd_single_hop_invoice_test.go +++ b/itest/lnd_single_hop_invoice_test.go @@ -5,13 +5,13 @@ import ( "encoding/hex" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/record" ) func testSingleHopInvoice(ht *lntest.HarnessTest) { diff --git a/itest/lnd_switch_test.go b/itest/lnd_switch_test.go index be1992ed4c..9b502592cd 100644 --- a/itest/lnd_switch_test.go +++ b/itest/lnd_switch_test.go @@ -2,10 +2,10 @@ package itest import ( "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lntest" ) const ( diff --git a/itest/lnd_taproot_test.go b/itest/lnd_taproot_test.go index c03c1b5e02..8bc20250e0 100644 --- a/itest/lnd_taproot_test.go +++ b/itest/lnd_taproot_test.go @@ -14,16 +14,16 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/chainrpc" - "github.com/lightningnetwork/lnd/lnrpc/signrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/funding" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/chainrpc" + "github.com/voltagecloud/lnd/lnrpc/signrpc" + "github.com/voltagecloud/lnd/lnrpc/walletrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) const ( diff --git a/itest/lnd_test.go b/itest/lnd_test.go index cb9f60dbf6..a2c0856582 100644 --- a/itest/lnd_test.go +++ b/itest/lnd_test.go @@ -14,11 +14,11 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/integration/rpctest" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/wait" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lntest" + "github.com/voltagecloud/lntest/node" "google.golang.org/grpc/grpclog" ) diff --git a/itest/lnd_trackpayments_test.go b/itest/lnd_trackpayments_test.go index 55224b87bb..f19c16c3a4 100644 --- a/itest/lnd_trackpayments_test.go +++ b/itest/lnd_trackpayments_test.go @@ -5,10 +5,10 @@ import ( "time" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnrpc/routerrpc" ) // testTrackPayments tests whether a client that calls the TrackPayments api diff --git a/itest/lnd_wallet_import_test.go b/itest/lnd_wallet_import_test.go index c0012213d3..771ce67e79 100644 --- a/itest/lnd_wallet_import_test.go +++ b/itest/lnd_wallet_import_test.go @@ -14,13 +14,13 @@ import ( "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcwallet/waddrmgr" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lnwallet" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/funding" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/walletrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lnwallet" ) const ( diff --git a/itest/lnd_watchtower_test.go b/itest/lnd_watchtower_test.go index 3432848d88..f0bbafa3b8 100644 --- a/itest/lnd_watchtower_test.go +++ b/itest/lnd_watchtower_test.go @@ -4,14 +4,14 @@ import ( "fmt" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lnrpc/wtclientrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/wait" "github.com/stretchr/testify/require" + "github.com/voltagecloud/funding" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnrpc/routerrpc" + "github.com/voltagecloud/lnrpc/wtclientrpc" + "github.com/voltagecloud/lntest" + "github.com/voltagecloud/lntest/node" ) // testWatchtowerSessionManagement tests that session deletion is done diff --git a/itest/lnd_wipe_fwdpkgs_test.go b/itest/lnd_wipe_fwdpkgs_test.go index a3632914bc..27a214a12d 100644 --- a/itest/lnd_wipe_fwdpkgs_test.go +++ b/itest/lnd_wipe_fwdpkgs_test.go @@ -3,10 +3,10 @@ package itest import ( "time" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntest" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chainreg" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lntest" ) // testWipeForwardingPackagesLocal tests that when a channel is closed, either diff --git a/itest/lnd_wumbo_channels_test.go b/itest/lnd_wumbo_channels_test.go index 18d170acc3..57ae03a6c8 100644 --- a/itest/lnd_wumbo_channels_test.go +++ b/itest/lnd_wumbo_channels_test.go @@ -2,9 +2,9 @@ package itest import ( "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lnwallet" + "github.com/voltagecloud/lnd/funding" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lnwallet" ) // testWumboChannels tests that only a node that signals wumbo channel diff --git a/itest/lnd_zero_conf_test.go b/itest/lnd_zero_conf_test.go index f2190bd2a9..53f79ea257 100644 --- a/itest/lnd_zero_conf_test.go +++ b/itest/lnd_zero_conf_test.go @@ -7,16 +7,16 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/aliasmgr" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lntest" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/rpc" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/aliasmgr" + "github.com/voltagecloud/lnd/chainreg" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lntest" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntest/rpc" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lnwire" ) // testZeroConfChannelOpen tests that opening a zero-conf channel works and diff --git a/kvdb/bolt_compact.go b/kvdb/bolt_compact.go index 766616f07b..21405f4f7a 100644 --- a/kvdb/bolt_compact.go +++ b/kvdb/bolt_compact.go @@ -14,7 +14,7 @@ import ( "path" "time" - "github.com/lightningnetwork/lnd/healthcheck" + "github.com/voltagecloud/lnd/healthcheck" "go.etcd.io/bbolt" ) diff --git a/kvdb/etcd_test.go b/kvdb/etcd_test.go index ec8e93f742..b337d9f99d 100644 --- a/kvdb/etcd_test.go +++ b/kvdb/etcd_test.go @@ -8,8 +8,8 @@ import ( "testing" "github.com/btcsuite/btcwallet/walletdb" - "github.com/lightningnetwork/lnd/kvdb/etcd" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb/etcd" ) var ( diff --git a/kvdb/go.mod b/kvdb/go.mod index daca931194..2da5eec07a 100644 --- a/kvdb/go.mod +++ b/kvdb/go.mod @@ -1,4 +1,4 @@ -module github.com/lightningnetwork/lnd/kvdb +module github.com/voltagecloud/lnd/kvdb require ( github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f @@ -9,7 +9,7 @@ require ( github.com/jackc/pgconn v1.14.0 github.com/jackc/pgerrcode v0.0.0-20220416144525-469b46aa5efa github.com/jackc/pgx/v4 v4.18.1 - github.com/lightningnetwork/lnd/healthcheck v1.0.0 + github.com/voltagecloud/lnd/healthcheck v1.0.0 github.com/stretchr/testify v1.8.2 go.etcd.io/bbolt v1.3.7 go.etcd.io/etcd/api/v3 v3.5.7 @@ -51,7 +51,7 @@ require ( github.com/klauspost/pgzip v1.2.5 // indirect github.com/kr/pretty v0.3.0 // indirect github.com/lib/pq v1.10.3 // indirect - github.com/lightningnetwork/lnd/ticker v1.0.0 // indirect + github.com/voltagecloud/lnd/ticker v1.0.0 // indirect github.com/mattn/go-isatty v0.0.16 // indirect github.com/mattn/go-sqlite3 v1.14.16 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect diff --git a/kvdb/go.sum b/kvdb/go.sum index 9986ec980c..ab5ba1e2c8 100644 --- a/kvdb/go.sum +++ b/kvdb/go.sum @@ -222,10 +222,10 @@ github.com/lib/pq v1.8.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/lib/pq v1.10.3 h1:v9QZf2Sn6AmjXtQeFpdoq/eaNtYP6IN+7lcrygsIAtg= github.com/lib/pq v1.10.3/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= -github.com/lightningnetwork/lnd/healthcheck v1.0.0 h1:0Cj8aiFB1OANsUuW9P0OlheSPcZEB38rUQXankr8ZpU= -github.com/lightningnetwork/lnd/healthcheck v1.0.0/go.mod h1:u92p1JGFJNMSkMvztKEwmt1P3TRnLeJBXZ3M85xkU1E= -github.com/lightningnetwork/lnd/ticker v1.0.0 h1:S1b60TEGoTtCe2A0yeB+ecoj/kkS4qpwh6l+AkQEZwU= -github.com/lightningnetwork/lnd/ticker v1.0.0/go.mod h1:iaLXJiVgI1sPANIF2qYYUJXjoksPNvGNYowB8aRbpX0= +github.com/voltagecloud/lnd/healthcheck v1.0.0 h1:0Cj8aiFB1OANsUuW9P0OlheSPcZEB38rUQXankr8ZpU= +github.com/voltagecloud/lnd/healthcheck v1.0.0/go.mod h1:u92p1JGFJNMSkMvztKEwmt1P3TRnLeJBXZ3M85xkU1E= +github.com/voltagecloud/lnd/ticker v1.0.0 h1:S1b60TEGoTtCe2A0yeB+ecoj/kkS4qpwh6l+AkQEZwU= +github.com/voltagecloud/lnd/ticker v1.0.0/go.mod h1:iaLXJiVgI1sPANIF2qYYUJXjoksPNvGNYowB8aRbpX0= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= diff --git a/kvdb/kvdb_etcd.go b/kvdb/kvdb_etcd.go index 2e07d01528..568611fa54 100644 --- a/kvdb/kvdb_etcd.go +++ b/kvdb/kvdb_etcd.go @@ -4,7 +4,7 @@ package kvdb import ( - "github.com/lightningnetwork/lnd/kvdb/etcd" + "github.com/voltagecloud/lnd/kvdb/etcd" ) // EtcdBackend is conditionally set to etcd when the kvdb_etcd build tag is diff --git a/kvdb/kvdb_no_etcd.go b/kvdb/kvdb_no_etcd.go index 79897635b1..59a1b92b01 100644 --- a/kvdb/kvdb_no_etcd.go +++ b/kvdb/kvdb_no_etcd.go @@ -6,7 +6,7 @@ package kvdb import ( "fmt" - "github.com/lightningnetwork/lnd/kvdb/etcd" + "github.com/voltagecloud/lnd/kvdb/etcd" ) // EtcdBackend is conditionally set to false when the kvdb_etcd build tag is not diff --git a/kvdb/kvdb_no_postgres.go b/kvdb/kvdb_no_postgres.go index 740f6a2769..8769e0287c 100644 --- a/kvdb/kvdb_no_postgres.go +++ b/kvdb/kvdb_no_postgres.go @@ -6,7 +6,7 @@ package kvdb import ( "errors" - "github.com/lightningnetwork/lnd/kvdb/postgres" + "github.com/voltagecloud/lnd/kvdb/postgres" ) const PostgresBackend = false diff --git a/kvdb/kvdb_postgres.go b/kvdb/kvdb_postgres.go index b0d2edee85..7a7a0a119e 100644 --- a/kvdb/kvdb_postgres.go +++ b/kvdb/kvdb_postgres.go @@ -3,7 +3,7 @@ package kvdb -import "github.com/lightningnetwork/lnd/kvdb/postgres" +import "github.com/voltagecloud/lnd/kvdb/postgres" const PostgresBackend = true diff --git a/kvdb/kvdb_sqlite.go b/kvdb/kvdb_sqlite.go index ec880da63c..013243d0d5 100644 --- a/kvdb/kvdb_sqlite.go +++ b/kvdb/kvdb_sqlite.go @@ -8,8 +8,8 @@ import ( "time" "github.com/btcsuite/btcwallet/walletdb" - "github.com/lightningnetwork/lnd/kvdb/sqlbase" - "github.com/lightningnetwork/lnd/kvdb/sqlite" + "github.com/voltagecloud/kvdb/sqlite" + "github.com/voltagecloud/lnd/kvdb/sqlbase" ) const ( diff --git a/kvdb/log.go b/kvdb/log.go index 824715432c..206c4605fa 100644 --- a/kvdb/log.go +++ b/kvdb/log.go @@ -2,7 +2,7 @@ package kvdb import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/kvdb/sqlbase" + "github.com/voltagecloud/lnd/kvdb/sqlbase" ) // log is a logger that is initialized as disabled. This means the package will diff --git a/kvdb/postgres/db.go b/kvdb/postgres/db.go index 90ca8324a8..0331b916b5 100644 --- a/kvdb/postgres/db.go +++ b/kvdb/postgres/db.go @@ -6,7 +6,7 @@ import ( "context" "github.com/btcsuite/btcwallet/walletdb" - "github.com/lightningnetwork/lnd/kvdb/sqlbase" + "github.com/voltagecloud/lnd/kvdb/sqlbase" ) // sqliteCmdReplacements defines a mapping from some SQLite keywords and phrases diff --git a/kvdb/postgres/fixture.go b/kvdb/postgres/fixture.go index 26d95c33d3..0db280ea42 100644 --- a/kvdb/postgres/fixture.go +++ b/kvdb/postgres/fixture.go @@ -13,7 +13,7 @@ import ( "github.com/btcsuite/btcwallet/walletdb" embeddedpostgres "github.com/fergusstrange/embedded-postgres" - "github.com/lightningnetwork/lnd/kvdb/sqlbase" + "github.com/voltagecloud/lnd/kvdb/sqlbase" ) const ( diff --git a/kvdb/postgres_test.go b/kvdb/postgres_test.go index 4645e6a308..1bb96c481f 100644 --- a/kvdb/postgres_test.go +++ b/kvdb/postgres_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/btcsuite/btcwallet/walletdb" - "github.com/lightningnetwork/lnd/kvdb/postgres" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb/postgres" ) type m = map[string]interface{} diff --git a/kvdb/sqlite/db.go b/kvdb/sqlite/db.go index f04bec3be0..70f9c059f3 100644 --- a/kvdb/sqlite/db.go +++ b/kvdb/sqlite/db.go @@ -9,7 +9,7 @@ import ( "path/filepath" "github.com/btcsuite/btcwallet/walletdb" - "github.com/lightningnetwork/lnd/kvdb/sqlbase" + "github.com/voltagecloud/lnd/kvdb/sqlbase" _ "modernc.org/sqlite" // Register relevant drivers. ) diff --git a/kvdb/sqlite/db_test.go b/kvdb/sqlite/db_test.go index f12acf47f7..942d8fe9f9 100644 --- a/kvdb/sqlite/db_test.go +++ b/kvdb/sqlite/db_test.go @@ -7,8 +7,8 @@ import ( "time" "github.com/btcsuite/btcwallet/walletdb/walletdbtest" - "github.com/lightningnetwork/lnd/kvdb/sqlbase" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb/sqlbase" "golang.org/x/net/context" ) diff --git a/labels/labels.go b/labels/labels.go index c4fc1707eb..5e77c7c362 100644 --- a/labels/labels.go +++ b/labels/labels.go @@ -18,7 +18,7 @@ import ( "fmt" "github.com/btcsuite/btcwallet/wtxmgr" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) // External labels a transaction as user initiated via the api. This diff --git a/lncfg/address.go b/lncfg/address.go index 1d962a52f7..63349e6d31 100644 --- a/lncfg/address.go +++ b/lncfg/address.go @@ -10,8 +10,8 @@ import ( "strings" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/tor" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/tor" ) // TCPResolver is a function signature that resolves an address on a given diff --git a/lncfg/chain.go b/lncfg/chain.go index 079b30032d..783f57e230 100644 --- a/lncfg/chain.go +++ b/lncfg/chain.go @@ -3,7 +3,7 @@ package lncfg import ( "fmt" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) // Chain holds the configuration options for the daemon's chain settings. diff --git a/lncfg/cluster.go b/lncfg/cluster.go index 8b3b14f5fb..2b258ac86a 100644 --- a/lncfg/cluster.go +++ b/lncfg/cluster.go @@ -5,7 +5,7 @@ import ( "fmt" "os" - "github.com/lightningnetwork/lnd/cluster" + "github.com/voltagecloud/lnd/cluster" ) const ( diff --git a/lncfg/db.go b/lncfg/db.go index ed0bdf6b7b..cef03f9abf 100644 --- a/lncfg/db.go +++ b/lncfg/db.go @@ -7,13 +7,13 @@ import ( "time" "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/kvdb/etcd" - "github.com/lightningnetwork/lnd/kvdb/postgres" - "github.com/lightningnetwork/lnd/kvdb/sqlbase" - "github.com/lightningnetwork/lnd/kvdb/sqlite" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnwallet/btcwallet" + "github.com/voltagecloud/kvdb/etcd" + "github.com/voltagecloud/kvdb/postgres" + "github.com/voltagecloud/kvdb/sqlbase" + "github.com/voltagecloud/kvdb/sqlite" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnwallet/btcwallet" ) const ( diff --git a/lncfg/db_test.go b/lncfg/db_test.go index 37ad4abe0c..66fdcce5d1 100644 --- a/lncfg/db_test.go +++ b/lncfg/db_test.go @@ -3,9 +3,9 @@ package lncfg_test import ( "testing" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lncfg" "github.com/stretchr/testify/require" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/lnd/lncfg" ) // TestDBDefaultConfig tests that the default DB config is created as expected. diff --git a/lncfg/gossip.go b/lncfg/gossip.go index a2c82a7aa8..81356c66f9 100644 --- a/lncfg/gossip.go +++ b/lncfg/gossip.go @@ -3,8 +3,8 @@ package lncfg import ( "time" - "github.com/lightningnetwork/lnd/discovery" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/discovery" + "github.com/voltagecloud/routing/route" ) //nolint:lll diff --git a/lncfg/protocol_experimental_off.go b/lncfg/protocol_experimental_off.go index 51c90ec38b..239ffaf385 100644 --- a/lncfg/protocol_experimental_off.go +++ b/lncfg/protocol_experimental_off.go @@ -4,8 +4,8 @@ package lncfg import ( - "github.com/lightningnetwork/lnd/feature" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/feature" + "github.com/voltagecloud/lnwire" ) // ExperimentalProtocol is a sub-config that houses any experimental protocol diff --git a/lncfg/protocol_experimental_on.go b/lncfg/protocol_experimental_on.go index bb23e83c29..6f8a627a81 100644 --- a/lncfg/protocol_experimental_on.go +++ b/lncfg/protocol_experimental_on.go @@ -4,8 +4,8 @@ package lncfg import ( - "github.com/lightningnetwork/lnd/feature" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/feature" + "github.com/voltagecloud/lnwire" ) // ExperimentalProtocol is a sub-config that houses any experimental protocol diff --git a/lncfg/watchtower.go b/lncfg/watchtower.go index 851d24e928..d72a41cbde 100644 --- a/lncfg/watchtower.go +++ b/lncfg/watchtower.go @@ -1,6 +1,6 @@ package lncfg -import "github.com/lightningnetwork/lnd/watchtower" +import "github.com/voltagecloud/lnd/watchtower" // Watchtower holds the daemon specific configuration parameters for running a // watchtower that shares resources with the daemon. diff --git a/lncfg/workers_test.go b/lncfg/workers_test.go index cc32202d39..5433de531a 100644 --- a/lncfg/workers_test.go +++ b/lncfg/workers_test.go @@ -3,7 +3,7 @@ package lncfg_test import ( "testing" - "github.com/lightningnetwork/lnd/lncfg" + "github.com/voltagecloud/lnd/lncfg" ) const ( diff --git a/lncfg/wtclient.go b/lncfg/wtclient.go index 461a2c9d0e..acb1296732 100644 --- a/lncfg/wtclient.go +++ b/lncfg/wtclient.go @@ -3,8 +3,8 @@ package lncfg import ( "fmt" - "github.com/lightningnetwork/lnd/watchtower/wtclient" - "github.com/lightningnetwork/lnd/watchtower/wtpolicy" + "github.com/voltagecloud/lnd/watchtower/wtclient" + "github.com/voltagecloud/watchtower/wtpolicy" ) // WtClient holds the configuration options for the daemon's watchtower client. diff --git a/lnd.go b/lnd.go index 201dc27779..cf9c03db0f 100644 --- a/lnd.go +++ b/lnd.go @@ -21,21 +21,21 @@ import ( "github.com/btcsuite/btcd/btcutil" proxy "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/lightningnetwork/lnd/autopilot" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/chanacceptor" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/macaroons" - "github.com/lightningnetwork/lnd/monitoring" - "github.com/lightningnetwork/lnd/rpcperms" - "github.com/lightningnetwork/lnd/signal" - "github.com/lightningnetwork/lnd/tor" - "github.com/lightningnetwork/lnd/walletunlocker" - "github.com/lightningnetwork/lnd/watchtower" + "github.com/voltagecloud/lnd/autopilot" + "github.com/voltagecloud/lnd/build" + "github.com/voltagecloud/lnd/chanacceptor" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lncfg" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/macaroons" + "github.com/voltagecloud/lnd/monitoring" + "github.com/voltagecloud/lnd/rpcperms" + "github.com/voltagecloud/lnd/signal" + "github.com/voltagecloud/lnd/tor" + "github.com/voltagecloud/lnd/walletunlocker" + "github.com/voltagecloud/lnd/watchtower" "google.golang.org/grpc" "google.golang.org/grpc/credentials" "google.golang.org/grpc/keepalive" diff --git a/lnencrypt/crypto.go b/lnencrypt/crypto.go index 5035e0c344..9d494782fa 100644 --- a/lnencrypt/crypto.go +++ b/lnencrypt/crypto.go @@ -7,7 +7,7 @@ import ( "io" "io/ioutil" - "github.com/lightningnetwork/lnd/keychain" + "github.com/voltagecloud/lnd/keychain" "golang.org/x/crypto/chacha20poly1305" ) diff --git a/lnencrypt/test_utils.go b/lnencrypt/test_utils.go index 1dd381eb38..e812a91490 100644 --- a/lnencrypt/test_utils.go +++ b/lnencrypt/test_utils.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/keychain" + "github.com/voltagecloud/lnd/keychain" ) var ( diff --git a/lnmock/clock.go b/lnmock/clock.go index bd00c42c81..a40d65940f 100644 --- a/lnmock/clock.go +++ b/lnmock/clock.go @@ -5,8 +5,8 @@ package lnmock import ( "time" - "github.com/lightningnetwork/lnd/clock" "github.com/stretchr/testify/mock" + "github.com/voltagecloud/lnd/clock" ) // MockClock implements the `clock.Clock` interface. diff --git a/lnmock/routing.go b/lnmock/routing.go index 260cce6ded..60f82cda5e 100644 --- a/lnmock/routing.go +++ b/lnmock/routing.go @@ -3,7 +3,7 @@ package lnmock import ( "bytes" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) // MockOnion returns a mock onion payload. diff --git a/lnpeer/mock_peer.go b/lnpeer/mock_peer.go index 908c9a0c9c..8b42c18804 100644 --- a/lnpeer/mock_peer.go +++ b/lnpeer/mock_peer.go @@ -5,8 +5,8 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/mock" + "github.com/voltagecloud/lnd/lnwire" ) // MockPeer implements the `lnpeer.Peer` interface. diff --git a/lnpeer/peer.go b/lnpeer/peer.go index f7d2e971ba..7c14c82951 100644 --- a/lnpeer/peer.go +++ b/lnpeer/peer.go @@ -5,9 +5,9 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwire" ) // NewChannel is a newly funded channel. This struct couples a channel along diff --git a/lnrpc/README.md b/lnrpc/README.md index c4705d629a..b3be49ee3a 100644 --- a/lnrpc/README.md +++ b/lnrpc/README.md @@ -1,9 +1,9 @@ lnrpc ===== -[![Build Status](http://img.shields.io/travis/lightningnetwork/lnd.svg)](https://travis-ci.org/lightningnetwork/lnd) -[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/lightningnetwork/lnd/blob/master/LICENSE) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/lightningnetwork/lnd/lnrpc) +[![Build Status](http://img.shields.io/travis/voltagecloud/lnd.svg)](https://travis-ci.org/voltagecloud/lnd) +[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/voltagecloud/lnd/blob/master/LICENSE) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/voltagecloud/lnd/lnrpc) This lnrpc package implements both a client and server for `lnd`s RPC system which is based off of the high-performance cross-platform @@ -148,7 +148,7 @@ description): ## Installation and Updating ```shell -$ go get -u github.com/lightningnetwork/lnd/lnrpc +$ go get -u github.com/voltagecloud/lnd/lnrpc ``` ## Generate protobuf definitions diff --git a/lnrpc/autopilotrpc/autopilot.proto b/lnrpc/autopilotrpc/autopilot.proto index 67d0f9e381..8ee8ee98b0 100644 --- a/lnrpc/autopilotrpc/autopilot.proto +++ b/lnrpc/autopilotrpc/autopilot.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package autopilotrpc; -option go_package = "github.com/lightningnetwork/lnd/lnrpc/autopilotrpc"; +option go_package = "github.com/voltagecloud/lnd/lnrpc/autopilotrpc"; // Autopilot is a service that can be used to get information about the current // state of the daemon's autopilot agent, and also supply it with information diff --git a/lnrpc/autopilotrpc/autopilot_server.go b/lnrpc/autopilotrpc/autopilot_server.go index 761d5f0926..b8310564a2 100644 --- a/lnrpc/autopilotrpc/autopilot_server.go +++ b/lnrpc/autopilotrpc/autopilot_server.go @@ -10,8 +10,8 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/lightningnetwork/lnd/autopilot" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/autopilot" + "github.com/voltagecloud/lnd/lnrpc" "google.golang.org/grpc" "gopkg.in/macaroon-bakery.v2/bakery" ) diff --git a/lnrpc/autopilotrpc/config_active.go b/lnrpc/autopilotrpc/config_active.go index a80581b41b..6b9389069f 100644 --- a/lnrpc/autopilotrpc/config_active.go +++ b/lnrpc/autopilotrpc/config_active.go @@ -4,7 +4,7 @@ package autopilotrpc import ( - "github.com/lightningnetwork/lnd/autopilot" + "github.com/voltagecloud/lnd/autopilot" ) // Config is the primary configuration struct for the autopilot RPC server. It diff --git a/lnrpc/autopilotrpc/driver.go b/lnrpc/autopilotrpc/driver.go index 850540df4c..81273a5e5d 100644 --- a/lnrpc/autopilotrpc/driver.go +++ b/lnrpc/autopilotrpc/driver.go @@ -6,7 +6,7 @@ package autopilotrpc import ( "fmt" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" ) // createNewSubServer is a helper method that will create the new sub server diff --git a/lnrpc/autopilotrpc/log.go b/lnrpc/autopilotrpc/log.go index 113486d0d9..21c7c8cfd6 100644 --- a/lnrpc/autopilotrpc/log.go +++ b/lnrpc/autopilotrpc/log.go @@ -2,7 +2,7 @@ package autopilotrpc import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This means the diff --git a/lnrpc/chainrpc/chain_server.go b/lnrpc/chainrpc/chain_server.go index 00a30c07c7..d7d23fd3e5 100644 --- a/lnrpc/chainrpc/chain_server.go +++ b/lnrpc/chainrpc/chain_server.go @@ -15,9 +15,9 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/macaroons" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/macaroons" "google.golang.org/grpc" "gopkg.in/macaroon-bakery.v2/bakery" ) diff --git a/lnrpc/chainrpc/chainkit.proto b/lnrpc/chainrpc/chainkit.proto index 150e0563d6..9aea6462e2 100644 --- a/lnrpc/chainrpc/chainkit.proto +++ b/lnrpc/chainrpc/chainkit.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package chainrpc; -option go_package = "github.com/lightningnetwork/lnd/lnrpc/chainrpc"; +option go_package = "github.com/voltagecloud/lnd/lnrpc/chainrpc"; // ChainKit is a service that can be used to get information from the // chain backend. diff --git a/lnrpc/chainrpc/chainnotifier.proto b/lnrpc/chainrpc/chainnotifier.proto index 36e66a279e..108bc23ecd 100644 --- a/lnrpc/chainrpc/chainnotifier.proto +++ b/lnrpc/chainrpc/chainnotifier.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package chainrpc; -option go_package = "github.com/lightningnetwork/lnd/lnrpc/chainrpc"; +option go_package = "github.com/voltagecloud/lnd/lnrpc/chainrpc"; // ChainNotifier is a service that can be used to get information about the // chain backend by registering notifiers for chain events. diff --git a/lnrpc/chainrpc/config_active.go b/lnrpc/chainrpc/config_active.go index c84e1ba49e..3614496602 100644 --- a/lnrpc/chainrpc/config_active.go +++ b/lnrpc/chainrpc/config_active.go @@ -4,9 +4,9 @@ package chainrpc import ( - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/macaroons" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/macaroons" ) // Config is the primary configuration struct for the chain notifier RPC server. diff --git a/lnrpc/chainrpc/driver.go b/lnrpc/chainrpc/driver.go index 89a6a116a4..322683f087 100644 --- a/lnrpc/chainrpc/driver.go +++ b/lnrpc/chainrpc/driver.go @@ -6,7 +6,7 @@ package chainrpc import ( "fmt" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" ) // createNewSubServer is a helper method that will create the new chain notifier diff --git a/lnrpc/chainrpc/log.go b/lnrpc/chainrpc/log.go index 6b68e324aa..e0fa141ae4 100644 --- a/lnrpc/chainrpc/log.go +++ b/lnrpc/chainrpc/log.go @@ -2,7 +2,7 @@ package chainrpc import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This diff --git a/lnrpc/devrpc/config_active.go b/lnrpc/devrpc/config_active.go index 6fc274f2e9..2ee4efc9b7 100644 --- a/lnrpc/devrpc/config_active.go +++ b/lnrpc/devrpc/config_active.go @@ -5,7 +5,7 @@ package devrpc import ( "github.com/btcsuite/btcd/chaincfg" - "github.com/lightningnetwork/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb" ) // Config is the primary configuration struct for the DEV RPC server. It diff --git a/lnrpc/devrpc/dev.pb.go b/lnrpc/devrpc/dev.pb.go index ec3102fd95..7ca2e09ce4 100644 --- a/lnrpc/devrpc/dev.pb.go +++ b/lnrpc/devrpc/dev.pb.go @@ -7,7 +7,7 @@ package devrpc import ( - lnrpc "github.com/lightningnetwork/lnd/lnrpc" + lnrpc "github.com/voltagecloud/lnd/lnrpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/lnrpc/devrpc/dev.pb.gw.go b/lnrpc/devrpc/dev.pb.gw.go index d702804cd6..e162ea7200 100644 --- a/lnrpc/devrpc/dev.pb.gw.go +++ b/lnrpc/devrpc/dev.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" diff --git a/lnrpc/devrpc/dev.pb.json.go b/lnrpc/devrpc/dev.pb.json.go index 41f40609c7..f1942ae813 100644 --- a/lnrpc/devrpc/dev.pb.json.go +++ b/lnrpc/devrpc/dev.pb.json.go @@ -7,7 +7,7 @@ import ( "context" gateway "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" "google.golang.org/grpc" "google.golang.org/protobuf/encoding/protojson" ) diff --git a/lnrpc/devrpc/dev.proto b/lnrpc/devrpc/dev.proto index 50ed70fddb..514a27d2f7 100644 --- a/lnrpc/devrpc/dev.proto +++ b/lnrpc/devrpc/dev.proto @@ -4,7 +4,7 @@ import "lightning.proto"; package devrpc; -option go_package = "github.com/lightningnetwork/lnd/lnrpc/devrpc"; +option go_package = "github.com/voltagecloud/lnd/lnrpc/devrpc"; service Dev { /* diff --git a/lnrpc/devrpc/dev_grpc.pb.go b/lnrpc/devrpc/dev_grpc.pb.go index fc6b509d43..2652877283 100644 --- a/lnrpc/devrpc/dev_grpc.pb.go +++ b/lnrpc/devrpc/dev_grpc.pb.go @@ -4,7 +4,7 @@ package devrpc import ( context "context" - lnrpc "github.com/lightningnetwork/lnd/lnrpc" + lnrpc "github.com/voltagecloud/lnd/lnrpc" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/lnrpc/devrpc/dev_server.go b/lnrpc/devrpc/dev_server.go index 462328ea33..6834a7d4ee 100644 --- a/lnrpc/devrpc/dev_server.go +++ b/lnrpc/devrpc/dev_server.go @@ -16,10 +16,10 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lncfg" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnwire" "google.golang.org/grpc" "gopkg.in/macaroon-bakery.v2/bakery" ) diff --git a/lnrpc/devrpc/driver.go b/lnrpc/devrpc/driver.go index a0d4d17c8c..fedcfb4cc8 100644 --- a/lnrpc/devrpc/driver.go +++ b/lnrpc/devrpc/driver.go @@ -6,7 +6,7 @@ package devrpc import ( "fmt" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" ) // createNewSubServer is a helper method that will create the new sub server diff --git a/lnrpc/devrpc/log.go b/lnrpc/devrpc/log.go index 2ff536b843..ba5b7d6751 100644 --- a/lnrpc/devrpc/log.go +++ b/lnrpc/devrpc/log.go @@ -2,7 +2,7 @@ package devrpc import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This means the diff --git a/lnrpc/gen_protos.sh b/lnrpc/gen_protos.sh index 9919c11b57..3522ca5065 100755 --- a/lnrpc/gen_protos.sh +++ b/lnrpc/gen_protos.sh @@ -53,12 +53,12 @@ function generate() { # Special import for the wallet kit. manual_import="" if [[ "$package" == "walletrpc" ]]; then - manual_import="github.com/lightningnetwork/lnd/lnrpc/signrpc" + manual_import="github.com/voltagecloud/lnd/lnrpc/signrpc" fi # Special import for devrpc. if [[ "$package" == "devrpc" ]]; then - manual_import="github.com/lightningnetwork/lnd/lnrpc" + manual_import="github.com/voltagecloud/lnd/lnrpc" fi opts="package_name=$package,manual_import=$manual_import,js_stubs=1" diff --git a/lnrpc/invoicesrpc/addinvoice.go b/lnrpc/invoicesrpc/addinvoice.go index 7c59da883f..661586df8c 100644 --- a/lnrpc/invoicesrpc/addinvoice.go +++ b/lnrpc/invoicesrpc/addinvoice.go @@ -16,13 +16,13 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/netann" - "github.com/lightningnetwork/lnd/routing" - "github.com/lightningnetwork/lnd/zpay32" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/invoices" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/netann" + "github.com/voltagecloud/lnd/routing" + "github.com/voltagecloud/lnd/zpay32" ) const ( diff --git a/lnrpc/invoicesrpc/addinvoice_test.go b/lnrpc/invoicesrpc/addinvoice_test.go index 2dcb516a6d..81f8364236 100644 --- a/lnrpc/invoicesrpc/addinvoice_test.go +++ b/lnrpc/invoicesrpc/addinvoice_test.go @@ -7,11 +7,11 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/zpay32" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/zpay32" ) type hopHintsConfigMock struct { diff --git a/lnrpc/invoicesrpc/config_active.go b/lnrpc/invoicesrpc/config_active.go index a5b29c32a2..2782fe8461 100644 --- a/lnrpc/invoicesrpc/config_active.go +++ b/lnrpc/invoicesrpc/config_active.go @@ -5,11 +5,11 @@ package invoicesrpc import ( "github.com/btcsuite/btcd/chaincfg" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/macaroons" - "github.com/lightningnetwork/lnd/netann" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/invoices" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/macaroons" + "github.com/voltagecloud/lnd/netann" ) // Config is the primary configuration struct for the invoices RPC server. It diff --git a/lnrpc/invoicesrpc/driver.go b/lnrpc/invoicesrpc/driver.go index 8014528ea0..d5b1b08d02 100644 --- a/lnrpc/invoicesrpc/driver.go +++ b/lnrpc/invoicesrpc/driver.go @@ -6,7 +6,7 @@ package invoicesrpc import ( "fmt" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" ) // createNewSubServer is a helper method that will create the new sub server diff --git a/lnrpc/invoicesrpc/invoices.pb.go b/lnrpc/invoicesrpc/invoices.pb.go index afd8d33a62..10f3607596 100644 --- a/lnrpc/invoicesrpc/invoices.pb.go +++ b/lnrpc/invoicesrpc/invoices.pb.go @@ -7,7 +7,7 @@ package invoicesrpc import ( - lnrpc "github.com/lightningnetwork/lnd/lnrpc" + lnrpc "github.com/voltagecloud/lnd/lnrpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/lnrpc/invoicesrpc/invoices.proto b/lnrpc/invoicesrpc/invoices.proto index 12317d02c2..41727adde6 100644 --- a/lnrpc/invoicesrpc/invoices.proto +++ b/lnrpc/invoicesrpc/invoices.proto @@ -4,7 +4,7 @@ import "lightning.proto"; package invoicesrpc; -option go_package = "github.com/lightningnetwork/lnd/lnrpc/invoicesrpc"; +option go_package = "github.com/voltagecloud/lnd/lnrpc/invoicesrpc"; // Invoices is a service that can be used to create, accept, settle and cancel // invoices. diff --git a/lnrpc/invoicesrpc/invoices_grpc.pb.go b/lnrpc/invoicesrpc/invoices_grpc.pb.go index 9284d4b0b8..2c43b877d0 100644 --- a/lnrpc/invoicesrpc/invoices_grpc.pb.go +++ b/lnrpc/invoicesrpc/invoices_grpc.pb.go @@ -4,7 +4,7 @@ package invoicesrpc import ( context "context" - lnrpc "github.com/lightningnetwork/lnd/lnrpc" + lnrpc "github.com/voltagecloud/lnd/lnrpc" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/lnrpc/invoicesrpc/invoices_server.go b/lnrpc/invoicesrpc/invoices_server.go index 0c9ddf042d..b4ce0ad65c 100644 --- a/lnrpc/invoicesrpc/invoices_server.go +++ b/lnrpc/invoicesrpc/invoices_server.go @@ -12,10 +12,10 @@ import ( "path/filepath" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/macaroons" + "github.com/voltagecloud/lnd/invoices" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/macaroons" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/lnrpc/invoicesrpc/log.go b/lnrpc/invoicesrpc/log.go index 8429ee51cf..8d34b18f05 100644 --- a/lnrpc/invoicesrpc/log.go +++ b/lnrpc/invoicesrpc/log.go @@ -2,7 +2,7 @@ package invoicesrpc import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This means the diff --git a/lnrpc/invoicesrpc/utils.go b/lnrpc/invoicesrpc/utils.go index 70d7740828..2c78b10098 100644 --- a/lnrpc/invoicesrpc/utils.go +++ b/lnrpc/invoicesrpc/utils.go @@ -6,10 +6,10 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/chaincfg" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/zpay32" + "github.com/voltagecloud/lnd/invoices" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/zpay32" ) // decodePayReq decodes the invoice payment request if present. This is needed, diff --git a/lnrpc/lightning.proto b/lnrpc/lightning.proto index 810e9d85a5..70c727c2cf 100644 --- a/lnrpc/lightning.proto +++ b/lnrpc/lightning.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package lnrpc; -option go_package = "github.com/lightningnetwork/lnd/lnrpc"; +option go_package = "github.com/voltagecloud/lnd/lnrpc"; /* * Comments in this file will be directly parsed into the API diff --git a/lnrpc/lnclipb/lncli.pb.go b/lnrpc/lnclipb/lncli.pb.go index b12c44a17e..276911f5e5 100644 --- a/lnrpc/lnclipb/lncli.pb.go +++ b/lnrpc/lnclipb/lncli.pb.go @@ -7,7 +7,7 @@ package lnclipb import ( - verrpc "github.com/lightningnetwork/lnd/lnrpc/verrpc" + verrpc "github.com/voltagecloud/lnd/lnrpc/verrpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/lnrpc/lnclipb/lncli.proto b/lnrpc/lnclipb/lncli.proto index 981dc25c30..3ff347367e 100644 --- a/lnrpc/lnclipb/lncli.proto +++ b/lnrpc/lnclipb/lncli.proto @@ -4,7 +4,7 @@ import "verrpc/verrpc.proto"; package lnclipb; -option go_package = "github.com/lightningnetwork/lnd/lnrpc/lnclipb"; +option go_package = "github.com/voltagecloud/lnd/lnrpc/lnclipb"; message VersionResponse { // The version information for lncli. diff --git a/lnrpc/marshall_utils.go b/lnrpc/marshall_utils.go index 8f307f6cf5..98adb7f862 100644 --- a/lnrpc/marshall_utils.go +++ b/lnrpc/marshall_utils.go @@ -9,8 +9,8 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/lnrpc/neutrinorpc/driver.go b/lnrpc/neutrinorpc/driver.go index 9bfe7ccd13..18d85267c6 100644 --- a/lnrpc/neutrinorpc/driver.go +++ b/lnrpc/neutrinorpc/driver.go @@ -6,7 +6,7 @@ package neutrinorpc import ( "fmt" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" ) // createNewSubServer is a helper method that will create the new sub server diff --git a/lnrpc/neutrinorpc/log.go b/lnrpc/neutrinorpc/log.go index fb2cd79ecf..250e22c7ca 100644 --- a/lnrpc/neutrinorpc/log.go +++ b/lnrpc/neutrinorpc/log.go @@ -2,7 +2,7 @@ package neutrinorpc import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This diff --git a/lnrpc/neutrinorpc/neutrino.proto b/lnrpc/neutrinorpc/neutrino.proto index 5a61feaadc..bebbed9144 100644 --- a/lnrpc/neutrinorpc/neutrino.proto +++ b/lnrpc/neutrinorpc/neutrino.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package neutrinorpc; -option go_package = "github.com/lightningnetwork/lnd/lnrpc/neutrinorpc"; +option go_package = "github.com/voltagecloud/lnd/lnrpc/neutrinorpc"; // NeutrinoKit is a service that can be used to get information about the // current state of the neutrino instance, fetch blocks and add/remove peers. diff --git a/lnrpc/neutrinorpc/neutrino_server.go b/lnrpc/neutrinorpc/neutrino_server.go index 1abd95f73b..8f3cc259bb 100644 --- a/lnrpc/neutrinorpc/neutrino_server.go +++ b/lnrpc/neutrinorpc/neutrino_server.go @@ -12,7 +12,7 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" "google.golang.org/grpc" "gopkg.in/macaroon-bakery.v2/bakery" ) diff --git a/lnrpc/peersrpc/config_active.go b/lnrpc/peersrpc/config_active.go index 4a2f028e45..6687dc37fd 100644 --- a/lnrpc/peersrpc/config_active.go +++ b/lnrpc/peersrpc/config_active.go @@ -6,8 +6,8 @@ package peersrpc import ( "net" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/netann" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/netann" ) // Config is the primary configuration struct for the peers RPC subserver. diff --git a/lnrpc/peersrpc/driver.go b/lnrpc/peersrpc/driver.go index 8abf3ed924..1b49193b4c 100644 --- a/lnrpc/peersrpc/driver.go +++ b/lnrpc/peersrpc/driver.go @@ -6,7 +6,7 @@ package peersrpc import ( "fmt" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" ) // createNewSubServer is a helper method that will create the new sub server diff --git a/lnrpc/peersrpc/log.go b/lnrpc/peersrpc/log.go index 3fd59789cb..727e314fdb 100644 --- a/lnrpc/peersrpc/log.go +++ b/lnrpc/peersrpc/log.go @@ -2,7 +2,7 @@ package peersrpc import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This means the diff --git a/lnrpc/peersrpc/peers.pb.go b/lnrpc/peersrpc/peers.pb.go index d6568a9916..4f569eae03 100644 --- a/lnrpc/peersrpc/peers.pb.go +++ b/lnrpc/peersrpc/peers.pb.go @@ -7,7 +7,7 @@ package peersrpc import ( - lnrpc "github.com/lightningnetwork/lnd/lnrpc" + lnrpc "github.com/voltagecloud/lnd/lnrpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/lnrpc/peersrpc/peers.proto b/lnrpc/peersrpc/peers.proto index 4cfdab5fd2..a96041d9c8 100644 --- a/lnrpc/peersrpc/peers.proto +++ b/lnrpc/peersrpc/peers.proto @@ -4,7 +4,7 @@ import "lightning.proto"; package peersrpc; -option go_package = "github.com/lightningnetwork/lnd/lnrpc/peersrpc"; +option go_package = "github.com/voltagecloud/lnd/lnrpc/peersrpc"; // Peers is a service that can be used to get information and interact // with the other nodes of the network. diff --git a/lnrpc/peersrpc/peers_server.go b/lnrpc/peersrpc/peers_server.go index 6981f79492..7c95baf1df 100644 --- a/lnrpc/peersrpc/peers_server.go +++ b/lnrpc/peersrpc/peers_server.go @@ -10,11 +10,11 @@ import ( "sync/atomic" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/lightningnetwork/lnd/feature" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/netann" + "github.com/voltagecloud/lnd/feature" + "github.com/voltagecloud/lnd/lncfg" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/netann" "google.golang.org/grpc" "gopkg.in/macaroon-bakery.v2/bakery" ) diff --git a/lnrpc/routerrpc/config.go b/lnrpc/routerrpc/config.go index adcc84e800..0d26de7c45 100644 --- a/lnrpc/routerrpc/config.go +++ b/lnrpc/routerrpc/config.go @@ -1,8 +1,8 @@ package routerrpc import ( - "github.com/lightningnetwork/lnd/macaroons" - "github.com/lightningnetwork/lnd/routing" + "github.com/voltagecloud/lnd/macaroons" + "github.com/voltagecloud/lnd/routing" ) // Config is the main configuration file for the router RPC server. It contains diff --git a/lnrpc/routerrpc/driver.go b/lnrpc/routerrpc/driver.go index 4e9cea6577..78d7593ac6 100644 --- a/lnrpc/routerrpc/driver.go +++ b/lnrpc/routerrpc/driver.go @@ -3,7 +3,7 @@ package routerrpc import ( "fmt" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" ) // createNewSubServer is a helper method that will create the new router sub diff --git a/lnrpc/routerrpc/forward_interceptor.go b/lnrpc/routerrpc/forward_interceptor.go index 8af1a21f6c..a0bc167c2d 100644 --- a/lnrpc/routerrpc/forward_interceptor.go +++ b/lnrpc/routerrpc/forward_interceptor.go @@ -3,11 +3,11 @@ package routerrpc import ( "errors" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/lnrpc/routerrpc/log.go b/lnrpc/routerrpc/log.go index 5c4ad01d83..a8f8bb2053 100644 --- a/lnrpc/routerrpc/log.go +++ b/lnrpc/routerrpc/log.go @@ -2,7 +2,7 @@ package routerrpc import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This diff --git a/lnrpc/routerrpc/router.pb.go b/lnrpc/routerrpc/router.pb.go index 2e0875df9a..ee6cca6d4d 100644 --- a/lnrpc/routerrpc/router.pb.go +++ b/lnrpc/routerrpc/router.pb.go @@ -7,7 +7,7 @@ package routerrpc import ( - lnrpc "github.com/lightningnetwork/lnd/lnrpc" + lnrpc "github.com/voltagecloud/lnd/lnrpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/lnrpc/routerrpc/router.proto b/lnrpc/routerrpc/router.proto index d591cc485c..06a770edda 100644 --- a/lnrpc/routerrpc/router.proto +++ b/lnrpc/routerrpc/router.proto @@ -4,7 +4,7 @@ import "lightning.proto"; package routerrpc; -option go_package = "github.com/lightningnetwork/lnd/lnrpc/routerrpc"; +option go_package = "github.com/voltagecloud/lnd/lnrpc/routerrpc"; // Router is a service that offers advanced interaction with the router // subsystem of the daemon. diff --git a/lnrpc/routerrpc/router_backend.go b/lnrpc/routerrpc/router_backend.go index 9342ca6d17..24ecc9a88e 100644 --- a/lnrpc/routerrpc/router_backend.go +++ b/lnrpc/routerrpc/router_backend.go @@ -13,17 +13,17 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/feature" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" - "github.com/lightningnetwork/lnd/routing" - "github.com/lightningnetwork/lnd/routing/route" - "github.com/lightningnetwork/lnd/subscribe" - "github.com/lightningnetwork/lnd/zpay32" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/feature" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/record" + "github.com/voltagecloud/lnd/routing" + "github.com/voltagecloud/lnd/routing/route" + "github.com/voltagecloud/lnd/subscribe" + "github.com/voltagecloud/lnd/zpay32" ) const ( diff --git a/lnrpc/routerrpc/router_backend_test.go b/lnrpc/routerrpc/router_backend_test.go index 4a5d73135c..091e0f1813 100644 --- a/lnrpc/routerrpc/router_backend_test.go +++ b/lnrpc/routerrpc/router_backend_test.go @@ -7,13 +7,13 @@ import ( "testing" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" - "github.com/lightningnetwork/lnd/routing" - "github.com/lightningnetwork/lnd/routing/route" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/record" + "github.com/voltagecloud/lnd/routing" + "github.com/voltagecloud/lnd/routing/route" ) const ( diff --git a/lnrpc/routerrpc/router_grpc.pb.go b/lnrpc/routerrpc/router_grpc.pb.go index 3cc753ad74..fa1491c228 100644 --- a/lnrpc/routerrpc/router_grpc.pb.go +++ b/lnrpc/routerrpc/router_grpc.pb.go @@ -4,7 +4,7 @@ package routerrpc import ( context "context" - lnrpc "github.com/lightningnetwork/lnd/lnrpc" + lnrpc "github.com/voltagecloud/lnd/lnrpc" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/lnrpc/routerrpc/router_server.go b/lnrpc/routerrpc/router_server.go index ccdaa5c583..a8f116959c 100644 --- a/lnrpc/routerrpc/router_server.go +++ b/lnrpc/routerrpc/router_server.go @@ -13,13 +13,13 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/macaroons" - "github.com/lightningnetwork/lnd/routing" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/macaroons" + "github.com/voltagecloud/lnd/routing" + "github.com/voltagecloud/lnd/routing/route" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/lnrpc/routerrpc/router_server_deprecated.go b/lnrpc/routerrpc/router_server_deprecated.go index 7be1e3d919..3cf0340153 100644 --- a/lnrpc/routerrpc/router_server_deprecated.go +++ b/lnrpc/routerrpc/router_server_deprecated.go @@ -6,9 +6,9 @@ import ( "errors" "fmt" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) // legacyTrackPaymentServer is a wrapper struct that transforms a stream of main diff --git a/lnrpc/routerrpc/router_server_test.go b/lnrpc/routerrpc/router_server_test.go index 1cdb4b5866..97a73b8bb1 100644 --- a/lnrpc/routerrpc/router_server_test.go +++ b/lnrpc/routerrpc/router_server_test.go @@ -5,11 +5,11 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/queue" - "github.com/lightningnetwork/lnd/routing" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/queue" + "github.com/voltagecloud/lnd/routing" "google.golang.org/grpc" ) diff --git a/lnrpc/routerrpc/subscribe_events.go b/lnrpc/routerrpc/subscribe_events.go index 230d7a506f..d3b028d137 100644 --- a/lnrpc/routerrpc/subscribe_events.go +++ b/lnrpc/routerrpc/subscribe_events.go @@ -4,9 +4,9 @@ import ( "fmt" "time" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/invoices" + "github.com/voltagecloud/lnd/lnrpc" ) // rpcHtlcEvent returns a rpc htlc event from a htlcswitch event. diff --git a/lnrpc/rpc_utils.go b/lnrpc/rpc_utils.go index 9d9dea320f..98b74f2101 100644 --- a/lnrpc/rpc_utils.go +++ b/lnrpc/rpc_utils.go @@ -7,9 +7,9 @@ import ( "sort" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/sweep" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/sweep" "google.golang.org/protobuf/encoding/protojson" ) diff --git a/lnrpc/signrpc/config_active.go b/lnrpc/signrpc/config_active.go index b2db16960f..d8d5f50563 100644 --- a/lnrpc/signrpc/config_active.go +++ b/lnrpc/signrpc/config_active.go @@ -4,9 +4,9 @@ package signrpc import ( - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/macaroons" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/macaroons" ) // Config is the primary configuration struct for the signer RPC server. It diff --git a/lnrpc/signrpc/driver.go b/lnrpc/signrpc/driver.go index 01b07d60cf..7c6f42fccf 100644 --- a/lnrpc/signrpc/driver.go +++ b/lnrpc/signrpc/driver.go @@ -6,7 +6,7 @@ package signrpc import ( "fmt" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" ) // createNewSubServer is a helper method that will create the new signer sub diff --git a/lnrpc/signrpc/log.go b/lnrpc/signrpc/log.go index 2dc6533435..86a6ba4504 100644 --- a/lnrpc/signrpc/log.go +++ b/lnrpc/signrpc/log.go @@ -2,7 +2,7 @@ package signrpc import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This diff --git a/lnrpc/signrpc/signer.proto b/lnrpc/signrpc/signer.proto index f704000f96..cf1fce9b64 100644 --- a/lnrpc/signrpc/signer.proto +++ b/lnrpc/signrpc/signer.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package signrpc; -option go_package = "github.com/lightningnetwork/lnd/lnrpc/signrpc"; +option go_package = "github.com/voltagecloud/lnd/lnrpc/signrpc"; // Signer is a service that gives access to the signing functionality of the // daemon's wallet. diff --git a/lnrpc/signrpc/signer_server.go b/lnrpc/signrpc/signer_server.go index a8f2acf2ae..2d32bebbc9 100644 --- a/lnrpc/signrpc/signer_server.go +++ b/lnrpc/signrpc/signer_server.go @@ -19,11 +19,11 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/macaroons" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/macaroons" "google.golang.org/grpc" "gopkg.in/macaroon-bakery.v2/bakery" ) diff --git a/lnrpc/signrpc/signer_utils.go b/lnrpc/signrpc/signer_utils.go index 0ceed7c8c2..f46066972b 100644 --- a/lnrpc/signrpc/signer_utils.go +++ b/lnrpc/signrpc/signer_utils.go @@ -3,7 +3,7 @@ package signrpc import ( "fmt" - "github.com/lightningnetwork/lnd/input" + "github.com/voltagecloud/lnd/input" ) // UnmarshalMuSig2Version parses the RPC MuSig2 version into the native diff --git a/lnrpc/stateservice.proto b/lnrpc/stateservice.proto index 97a78d31ad..1ad62d4f57 100644 --- a/lnrpc/stateservice.proto +++ b/lnrpc/stateservice.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package lnrpc; -option go_package = "github.com/lightningnetwork/lnd/lnrpc"; +option go_package = "github.com/voltagecloud/lnd/lnrpc"; /* * Comments in this file will be directly parsed into the API diff --git a/lnrpc/verrpc/driver.go b/lnrpc/verrpc/driver.go index 49977f6950..d0a7ebf1fe 100644 --- a/lnrpc/verrpc/driver.go +++ b/lnrpc/verrpc/driver.go @@ -3,7 +3,7 @@ package verrpc import ( "fmt" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" ) func init() { diff --git a/lnrpc/verrpc/log.go b/lnrpc/verrpc/log.go index 3553b56806..5cd7827472 100644 --- a/lnrpc/verrpc/log.go +++ b/lnrpc/verrpc/log.go @@ -2,7 +2,7 @@ package verrpc import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This diff --git a/lnrpc/verrpc/server.go b/lnrpc/verrpc/server.go index a68e87c532..9c70a5d62b 100644 --- a/lnrpc/verrpc/server.go +++ b/lnrpc/verrpc/server.go @@ -4,8 +4,8 @@ import ( "context" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/build" + "github.com/voltagecloud/lnd/lnrpc" "google.golang.org/grpc" "gopkg.in/macaroon-bakery.v2/bakery" ) diff --git a/lnrpc/verrpc/verrpc.proto b/lnrpc/verrpc/verrpc.proto index 6f3120e78d..67c3a7a4f2 100644 --- a/lnrpc/verrpc/verrpc.proto +++ b/lnrpc/verrpc/verrpc.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package verrpc; -option go_package = "github.com/lightningnetwork/lnd/lnrpc/verrpc"; +option go_package = "github.com/voltagecloud/lnd/lnrpc/verrpc"; // Versioner is a service that can be used to get information about the version // and build information of the running daemon. diff --git a/lnrpc/walletrpc/config_active.go b/lnrpc/walletrpc/config_active.go index 532ca7324f..a4e054fc0a 100644 --- a/lnrpc/walletrpc/config_active.go +++ b/lnrpc/walletrpc/config_active.go @@ -5,11 +5,11 @@ package walletrpc import ( "github.com/btcsuite/btcd/chaincfg" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/macaroons" - "github.com/lightningnetwork/lnd/sweep" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/macaroons" + "github.com/voltagecloud/lnd/sweep" ) const ( diff --git a/lnrpc/walletrpc/driver.go b/lnrpc/walletrpc/driver.go index 7446470f1f..7c94e0a8ac 100644 --- a/lnrpc/walletrpc/driver.go +++ b/lnrpc/walletrpc/driver.go @@ -6,7 +6,7 @@ package walletrpc import ( "fmt" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" ) // createNewSubServer is a helper method that will create the new WalletKit RPC diff --git a/lnrpc/walletrpc/log.go b/lnrpc/walletrpc/log.go index 1916c549f2..6518df76f9 100644 --- a/lnrpc/walletrpc/log.go +++ b/lnrpc/walletrpc/log.go @@ -2,7 +2,7 @@ package walletrpc import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This means the diff --git a/lnrpc/walletrpc/psbt.go b/lnrpc/walletrpc/psbt.go index e3d02b4a8b..7a564e4840 100644 --- a/lnrpc/walletrpc/psbt.go +++ b/lnrpc/walletrpc/psbt.go @@ -12,7 +12,7 @@ import ( "github.com/btcsuite/btcd/wire" base "github.com/btcsuite/btcwallet/wallet" "github.com/btcsuite/btcwallet/wtxmgr" - "github.com/lightningnetwork/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet" ) const ( diff --git a/lnrpc/walletrpc/walletkit.pb.go b/lnrpc/walletrpc/walletkit.pb.go index 16619f474c..d07be8fa4b 100644 --- a/lnrpc/walletrpc/walletkit.pb.go +++ b/lnrpc/walletrpc/walletkit.pb.go @@ -7,8 +7,8 @@ package walletrpc import ( - lnrpc "github.com/lightningnetwork/lnd/lnrpc" - signrpc "github.com/lightningnetwork/lnd/lnrpc/signrpc" + lnrpc "github.com/voltagecloud/lnd/lnrpc" + signrpc "github.com/voltagecloud/lnd/lnrpc/signrpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/lnrpc/walletrpc/walletkit.pb.gw.go b/lnrpc/walletrpc/walletkit.pb.gw.go index d6e6f64d94..ac34eaa1ed 100644 --- a/lnrpc/walletrpc/walletkit.pb.gw.go +++ b/lnrpc/walletrpc/walletkit.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "github.com/lightningnetwork/lnd/lnrpc/signrpc" + "github.com/voltagecloud/lnd/lnrpc/signrpc" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" diff --git a/lnrpc/walletrpc/walletkit.pb.json.go b/lnrpc/walletrpc/walletkit.pb.json.go index 6222432abc..9614a8e2c8 100644 --- a/lnrpc/walletrpc/walletkit.pb.json.go +++ b/lnrpc/walletrpc/walletkit.pb.json.go @@ -7,7 +7,7 @@ import ( "context" gateway "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/lightningnetwork/lnd/lnrpc/signrpc" + "github.com/voltagecloud/lnd/lnrpc/signrpc" "google.golang.org/grpc" "google.golang.org/protobuf/encoding/protojson" ) diff --git a/lnrpc/walletrpc/walletkit.proto b/lnrpc/walletrpc/walletkit.proto index 0d3fd95126..edd3ed2df1 100644 --- a/lnrpc/walletrpc/walletkit.proto +++ b/lnrpc/walletrpc/walletkit.proto @@ -5,7 +5,7 @@ import "signrpc/signer.proto"; package walletrpc; -option go_package = "github.com/lightningnetwork/lnd/lnrpc/walletrpc"; +option go_package = "github.com/voltagecloud/lnd/lnrpc/walletrpc"; // WalletKit is a service that gives access to the core functionalities of the // daemon's wallet. diff --git a/lnrpc/walletrpc/walletkit_grpc.pb.go b/lnrpc/walletrpc/walletkit_grpc.pb.go index 605ffd7e65..759cf7e091 100644 --- a/lnrpc/walletrpc/walletkit_grpc.pb.go +++ b/lnrpc/walletrpc/walletkit_grpc.pb.go @@ -4,7 +4,7 @@ package walletrpc import ( context "context" - signrpc "github.com/lightningnetwork/lnd/lnrpc/signrpc" + signrpc "github.com/voltagecloud/lnd/lnrpc/signrpc" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/lnrpc/walletrpc/walletkit_server.go b/lnrpc/walletrpc/walletkit_server.go index 9fff649ee2..ba635077ec 100644 --- a/lnrpc/walletrpc/walletkit_server.go +++ b/lnrpc/walletrpc/walletkit_server.go @@ -30,16 +30,16 @@ import ( base "github.com/btcsuite/btcwallet/wallet" "github.com/btcsuite/btcwallet/wtxmgr" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/labels" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/signrpc" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/btcwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/macaroons" - "github.com/lightningnetwork/lnd/sweep" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/labels" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/signrpc" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/btcwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/macaroons" + "github.com/voltagecloud/lnd/sweep" "google.golang.org/grpc" "gopkg.in/macaroon-bakery.v2/bakery" ) diff --git a/lnrpc/walletrpc/walletkit_util.go b/lnrpc/walletrpc/walletkit_util.go index 6f1c5c9adb..6f139f1d24 100644 --- a/lnrpc/walletrpc/walletkit_util.go +++ b/lnrpc/walletrpc/walletkit_util.go @@ -8,7 +8,7 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" ) // AccountsToWatchOnly converts the accounts returned by the walletkit's diff --git a/lnrpc/walletunlocker.proto b/lnrpc/walletunlocker.proto index faf3c08923..e9e7923e61 100644 --- a/lnrpc/walletunlocker.proto +++ b/lnrpc/walletunlocker.proto @@ -4,7 +4,7 @@ import "lightning.proto"; package lnrpc; -option go_package = "github.com/lightningnetwork/lnd/lnrpc"; +option go_package = "github.com/voltagecloud/lnd/lnrpc"; /* * Comments in this file will be directly parsed into the API diff --git a/lnrpc/watchtowerrpc/driver.go b/lnrpc/watchtowerrpc/driver.go index 6352de7ccc..5e2d6d8a6d 100644 --- a/lnrpc/watchtowerrpc/driver.go +++ b/lnrpc/watchtowerrpc/driver.go @@ -6,7 +6,7 @@ package watchtowerrpc import ( "fmt" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" ) // createNewSubServer is a helper method that will create the new sub server diff --git a/lnrpc/watchtowerrpc/handler.go b/lnrpc/watchtowerrpc/handler.go index f61dabfd00..36e11c89b1 100644 --- a/lnrpc/watchtowerrpc/handler.go +++ b/lnrpc/watchtowerrpc/handler.go @@ -9,7 +9,7 @@ import ( "fmt" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" "google.golang.org/grpc" "gopkg.in/macaroon-bakery.v2/bakery" ) diff --git a/lnrpc/watchtowerrpc/log.go b/lnrpc/watchtowerrpc/log.go index a71b7827fb..11d8fa6a0e 100644 --- a/lnrpc/watchtowerrpc/log.go +++ b/lnrpc/watchtowerrpc/log.go @@ -2,7 +2,7 @@ package watchtowerrpc import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // Subsystem defines the logging code for this subsystem. diff --git a/lnrpc/watchtowerrpc/watchtower.proto b/lnrpc/watchtowerrpc/watchtower.proto index f3be621637..8c599b5f04 100644 --- a/lnrpc/watchtowerrpc/watchtower.proto +++ b/lnrpc/watchtowerrpc/watchtower.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package watchtowerrpc; -option go_package = "github.com/lightningnetwork/lnd/lnrpc/watchtowerrpc"; +option go_package = "github.com/voltagecloud/lnd/lnrpc/watchtowerrpc"; // Watchtower is a service that grants access to the watchtower server // functionality of the daemon. diff --git a/lnrpc/wtclientrpc/config.go b/lnrpc/wtclientrpc/config.go index 9127c0846b..347c8f3dbf 100644 --- a/lnrpc/wtclientrpc/config.go +++ b/lnrpc/wtclientrpc/config.go @@ -2,8 +2,8 @@ package wtclientrpc import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/watchtower/wtclient" + "github.com/voltagecloud/lnd/lncfg" + "github.com/voltagecloud/lnd/watchtower/wtclient" ) // Config is the primary configuration struct for the watchtower RPC server. It diff --git a/lnrpc/wtclientrpc/driver.go b/lnrpc/wtclientrpc/driver.go index 62a18cffce..6f95b53260 100644 --- a/lnrpc/wtclientrpc/driver.go +++ b/lnrpc/wtclientrpc/driver.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" ) // createNewSubServer is a helper method that will create the new sub server diff --git a/lnrpc/wtclientrpc/wtclient.go b/lnrpc/wtclientrpc/wtclient.go index 228877743a..d20eb5e650 100644 --- a/lnrpc/wtclientrpc/wtclient.go +++ b/lnrpc/wtclientrpc/wtclient.go @@ -12,13 +12,13 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/watchtower" - "github.com/lightningnetwork/lnd/watchtower/wtclient" - "github.com/lightningnetwork/lnd/watchtower/wtdb" - "github.com/lightningnetwork/lnd/watchtower/wtpolicy" + "github.com/voltagecloud/lnd/lncfg" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/watchtower" + "github.com/voltagecloud/lnd/watchtower/wtclient" + "github.com/voltagecloud/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtpolicy" "google.golang.org/grpc" "gopkg.in/macaroon-bakery.v2/bakery" ) diff --git a/lnrpc/wtclientrpc/wtclient.proto b/lnrpc/wtclientrpc/wtclient.proto index 413f61afa5..509203850a 100644 --- a/lnrpc/wtclientrpc/wtclient.proto +++ b/lnrpc/wtclientrpc/wtclient.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package wtclientrpc; -option go_package = "github.com/lightningnetwork/lnd/lnrpc/wtclientrpc"; +option go_package = "github.com/voltagecloud/lnd/lnrpc/wtclientrpc"; // WatchtowerClient is a service that grants access to the watchtower client // functionality of the daemon. diff --git a/lntest/bitcoind_common.go b/lntest/bitcoind_common.go index 8cac2e5af3..b6e5954123 100644 --- a/lntest/bitcoind_common.go +++ b/lntest/bitcoind_common.go @@ -14,7 +14,7 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/rpcclient" - "github.com/lightningnetwork/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntest/node" ) // logDirPattern is the pattern of the name of the temporary log directory. diff --git a/lntest/btcd.go b/lntest/btcd.go index 09f33472b4..225f29e90a 100644 --- a/lntest/btcd.go +++ b/lntest/btcd.go @@ -15,7 +15,7 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/integration/rpctest" "github.com/btcsuite/btcd/rpcclient" - "github.com/lightningnetwork/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntest/node" ) // logDirPattern is the pattern of the name of the temporary log directory. diff --git a/lntest/fee_service.go b/lntest/fee_service.go index 1c94713ba4..a6f5c7779a 100644 --- a/lntest/fee_service.go +++ b/lntest/fee_service.go @@ -9,9 +9,9 @@ import ( "sync" "testing" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) // WebFeeService defines an interface that's used to provide fee estimation diff --git a/lntest/harness.go b/lntest/harness.go index 29aba13b9e..efebf26b13 100644 --- a/lntest/harness.go +++ b/lntest/harness.go @@ -13,16 +13,16 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/kvdb/etcd" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/rpc" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb/etcd" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lnrpc/walletrpc" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntest/rpc" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" ) const ( @@ -1153,7 +1153,7 @@ func (h *HarnessTest) CloseChannelAssertPending(hn *node.HarnessNode, // within the network. // // TODO(yy): remove the wait once the following bug is fixed. - // - https://github.com/lightningnetwork/lnd/issues/6039 + // - https://github.com/voltagecloud/lnd/issues/6039 // We may receive the error `cannot co-op close channel with active // htlcs` or `link failed to shutdown` if we close the channel. We need // to investigate the order of settling the payments and updating diff --git a/lntest/harness_assertion.go b/lntest/harness_assertion.go index 6ead7d2777..bd4dc5e0cf 100644 --- a/lntest/harness_assertion.go +++ b/lntest/harness_assertion.go @@ -18,16 +18,16 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/invoicesrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/rpc" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lntypes" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/invoicesrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lnrpc/walletrpc" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntest/rpc" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lntypes" "google.golang.org/protobuf/proto" ) diff --git a/lntest/harness_miner.go b/lntest/harness_miner.go index 90c7418cf0..910bdc81d2 100644 --- a/lntest/harness_miner.go +++ b/lntest/harness_miner.go @@ -18,9 +18,9 @@ import ( "github.com/btcsuite/btcd/integration/rpctest" "github.com/btcsuite/btcd/rpcclient" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/wait" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntest/wait" ) const ( diff --git a/lntest/harness_node_manager.go b/lntest/harness_node_manager.go index 9cb69a54f0..c564a51a45 100644 --- a/lntest/harness_node_manager.go +++ b/lntest/harness_node_manager.go @@ -7,9 +7,9 @@ import ( "sync/atomic" "testing" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntest/node" - "github.com/lightningnetwork/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntest/wait" ) // nodeManager is responsible for hanlding the start and stop of a given node. diff --git a/lntest/harness_setup.go b/lntest/harness_setup.go index 20442f9c27..22ada513f6 100644 --- a/lntest/harness_setup.go +++ b/lntest/harness_setup.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/btcsuite/btcd/integration/rpctest" - "github.com/lightningnetwork/lnd/lntest/node" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lntest/node" ) // SetupHarness creates a new HarnessTest with a series of setups such that the diff --git a/lntest/mock/chainnotifier.go b/lntest/mock/chainnotifier.go index ddce8defa2..fdd094b887 100644 --- a/lntest/mock/chainnotifier.go +++ b/lntest/mock/chainnotifier.go @@ -3,7 +3,7 @@ package mock import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" + "github.com/voltagecloud/lnd/chainntnfs" ) // ChainNotifier is a mock implementation of the ChainNotifier interface. diff --git a/lntest/mock/secretkeyring.go b/lntest/mock/secretkeyring.go index 770b0e4d35..27e3d88061 100644 --- a/lntest/mock/secretkeyring.go +++ b/lntest/mock/secretkeyring.go @@ -6,7 +6,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" - "github.com/lightningnetwork/lnd/keychain" + "github.com/voltagecloud/lnd/keychain" ) // SecretKeyRing is a mock implementation of the SecretKeyRing interface. diff --git a/lntest/mock/signer.go b/lntest/mock/signer.go index 1d30204ea9..1eeb549d66 100644 --- a/lntest/mock/signer.go +++ b/lntest/mock/signer.go @@ -11,8 +11,8 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" ) var ( diff --git a/lntest/mock/spendnotifier.go b/lntest/mock/spendnotifier.go index 04c861d913..be7aa7599f 100644 --- a/lntest/mock/spendnotifier.go +++ b/lntest/mock/spendnotifier.go @@ -4,7 +4,7 @@ import ( "sync" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" + "github.com/voltagecloud/lnd/chainntnfs" ) // SpendNotifier extends the mock.ChainNotifier so that spend diff --git a/lntest/mock/walletcontroller.go b/lntest/mock/walletcontroller.go index 10b829fa4d..829c42f325 100644 --- a/lntest/mock/walletcontroller.go +++ b/lntest/mock/walletcontroller.go @@ -16,8 +16,8 @@ import ( base "github.com/btcsuite/btcwallet/wallet" "github.com/btcsuite/btcwallet/wallet/txauthor" "github.com/btcsuite/btcwallet/wtxmgr" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) var ( diff --git a/lntest/neutrino.go b/lntest/neutrino.go index 11f13612f8..845aa2f93a 100644 --- a/lntest/neutrino.go +++ b/lntest/neutrino.go @@ -7,7 +7,7 @@ import ( "fmt" "github.com/btcsuite/btcd/chaincfg" - "github.com/lightningnetwork/lnd/lntest/node" + "github.com/voltagecloud/lnd/lntest/node" ) // NeutrinoBackendConfig is an implementation of the BackendConfig interface diff --git a/lntest/node/config.go b/lntest/node/config.go index f044475e74..6ecfb2d61e 100644 --- a/lntest/node/config.go +++ b/lntest/node/config.go @@ -11,9 +11,9 @@ import ( "sync/atomic" "github.com/btcsuite/btcd/chaincfg" - "github.com/lightningnetwork/lnd/chanbackup" - "github.com/lightningnetwork/lnd/kvdb/etcd" - "github.com/lightningnetwork/lnd/lntest/wait" + "github.com/voltagecloud/lnd/chanbackup" + "github.com/voltagecloud/lnd/kvdb/etcd" + "github.com/voltagecloud/lnd/lntest/wait" ) const ( diff --git a/lntest/node/harness_node.go b/lntest/node/harness_node.go index d337f906f7..75993818fb 100644 --- a/lntest/node/harness_node.go +++ b/lntest/node/harness_node.go @@ -18,10 +18,10 @@ import ( "time" "github.com/jackc/pgx/v4/pgxpool" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntest/rpc" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/macaroons" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lntest/rpc" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/macaroons" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/credentials" diff --git a/lntest/node/state.go b/lntest/node/state.go index bab178bd04..64a1fbbc18 100644 --- a/lntest/node/state.go +++ b/lntest/node/state.go @@ -7,10 +7,10 @@ import ( "time" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lntest/rpc" - "github.com/lightningnetwork/lnd/lnutils" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/walletrpc" + "github.com/voltagecloud/lnd/lntest/rpc" + "github.com/voltagecloud/lnd/lnutils" ) type ( diff --git a/lntest/node/watcher.go b/lntest/node/watcher.go index e89bcf6d17..6332e12f06 100644 --- a/lntest/node/watcher.go +++ b/lntest/node/watcher.go @@ -10,10 +10,10 @@ import ( "time" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntest/rpc" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lnutils" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lntest/rpc" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lnutils" ) type chanWatchType uint8 diff --git a/lntest/rpc/chain_kit.go b/lntest/rpc/chain_kit.go index 453de276a9..3a0835353e 100644 --- a/lntest/rpc/chain_kit.go +++ b/lntest/rpc/chain_kit.go @@ -3,7 +3,7 @@ package rpc import ( "context" - "github.com/lightningnetwork/lnd/lnrpc/chainrpc" + "github.com/voltagecloud/lnd/lnrpc/chainrpc" ) // ===================== diff --git a/lntest/rpc/chain_notifier.go b/lntest/rpc/chain_notifier.go index 4f5a815f87..31f51e8f25 100644 --- a/lntest/rpc/chain_notifier.go +++ b/lntest/rpc/chain_notifier.go @@ -1,7 +1,7 @@ package rpc import ( - "github.com/lightningnetwork/lnd/lnrpc/chainrpc" + "github.com/voltagecloud/lnd/lnrpc/chainrpc" ) // ===================== diff --git a/lntest/rpc/harness_rpc.go b/lntest/rpc/harness_rpc.go index 0e8256ce11..2cc35b2f1b 100644 --- a/lntest/rpc/harness_rpc.go +++ b/lntest/rpc/harness_rpc.go @@ -5,18 +5,18 @@ import ( "testing" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/chainrpc" - "github.com/lightningnetwork/lnd/lnrpc/invoicesrpc" - "github.com/lightningnetwork/lnd/lnrpc/neutrinorpc" - "github.com/lightningnetwork/lnd/lnrpc/peersrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lnrpc/signrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lnrpc/watchtowerrpc" - "github.com/lightningnetwork/lnd/lnrpc/wtclientrpc" - "github.com/lightningnetwork/lnd/lntest/wait" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/chainrpc" + "github.com/voltagecloud/lnd/lnrpc/invoicesrpc" + "github.com/voltagecloud/lnd/lnrpc/neutrinorpc" + "github.com/voltagecloud/lnd/lnrpc/peersrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lnrpc/signrpc" + "github.com/voltagecloud/lnd/lnrpc/walletrpc" + "github.com/voltagecloud/lnd/lnrpc/watchtowerrpc" + "github.com/voltagecloud/lnd/lnrpc/wtclientrpc" + "github.com/voltagecloud/lnd/lntest/wait" "google.golang.org/grpc" ) diff --git a/lntest/rpc/invoices.go b/lntest/rpc/invoices.go index 5b771968e8..bdb3ef47ac 100644 --- a/lntest/rpc/invoices.go +++ b/lntest/rpc/invoices.go @@ -3,9 +3,9 @@ package rpc import ( "context" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/invoicesrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/invoicesrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" ) // ===================== diff --git a/lntest/rpc/lnd.go b/lntest/rpc/lnd.go index 270da0800d..15fbb0e674 100644 --- a/lntest/rpc/lnd.go +++ b/lntest/rpc/lnd.go @@ -4,8 +4,8 @@ import ( "context" "strings" - "github.com/lightningnetwork/lnd/lnrpc" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnrpc" ) // ===================== diff --git a/lntest/rpc/neutrino_kit.go b/lntest/rpc/neutrino_kit.go index 9cde1eb141..82d86bbe3d 100644 --- a/lntest/rpc/neutrino_kit.go +++ b/lntest/rpc/neutrino_kit.go @@ -3,7 +3,7 @@ package rpc import ( "context" - "github.com/lightningnetwork/lnd/lnrpc/neutrinorpc" + "github.com/voltagecloud/lnd/lnrpc/neutrinorpc" ) // ===================== diff --git a/lntest/rpc/peers.go b/lntest/rpc/peers.go index 6b43a02bc8..ddc19590c4 100644 --- a/lntest/rpc/peers.go +++ b/lntest/rpc/peers.go @@ -3,8 +3,8 @@ package rpc import ( "context" - "github.com/lightningnetwork/lnd/lnrpc/peersrpc" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnrpc/peersrpc" ) // ===================== diff --git a/lntest/rpc/router.go b/lntest/rpc/router.go index fbf44cb18a..952e7cfe72 100644 --- a/lntest/rpc/router.go +++ b/lntest/rpc/router.go @@ -3,9 +3,9 @@ package rpc import ( "context" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" ) // ===================== diff --git a/lntest/rpc/signer.go b/lntest/rpc/signer.go index 79a680c2b8..42ef157ff9 100644 --- a/lntest/rpc/signer.go +++ b/lntest/rpc/signer.go @@ -3,8 +3,8 @@ package rpc import ( "context" - "github.com/lightningnetwork/lnd/lnrpc/signrpc" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnrpc/signrpc" ) // ===================== diff --git a/lntest/rpc/state.go b/lntest/rpc/state.go index 7a25f60f11..71161e9ca5 100644 --- a/lntest/rpc/state.go +++ b/lntest/rpc/state.go @@ -1,7 +1,7 @@ package rpc import ( - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" ) // ===================== diff --git a/lntest/rpc/wallet_kit.go b/lntest/rpc/wallet_kit.go index f28eedf6af..85f01b5aa1 100644 --- a/lntest/rpc/wallet_kit.go +++ b/lntest/rpc/wallet_kit.go @@ -3,9 +3,9 @@ package rpc import ( "context" - "github.com/lightningnetwork/lnd/lnrpc/signrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnrpc/signrpc" + "github.com/voltagecloud/lnd/lnrpc/walletrpc" ) // ===================== diff --git a/lntest/rpc/wallet_unlocker.go b/lntest/rpc/wallet_unlocker.go index c4fb60c864..689d553966 100644 --- a/lntest/rpc/wallet_unlocker.go +++ b/lntest/rpc/wallet_unlocker.go @@ -3,7 +3,7 @@ package rpc import ( "context" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc" ) // ===================== diff --git a/lntest/rpc/watchtower.go b/lntest/rpc/watchtower.go index d5512e7a4e..34460cdc84 100644 --- a/lntest/rpc/watchtower.go +++ b/lntest/rpc/watchtower.go @@ -3,8 +3,8 @@ package rpc import ( "context" - "github.com/lightningnetwork/lnd/lnrpc/watchtowerrpc" - "github.com/lightningnetwork/lnd/lnrpc/wtclientrpc" + "github.com/voltagecloud/lnd/lnrpc/watchtowerrpc" + "github.com/voltagecloud/lnd/lnrpc/wtclientrpc" ) // ===================== diff --git a/lntest/utils.go b/lntest/utils.go index 5ac6c355e6..3f86bc083f 100644 --- a/lntest/utils.go +++ b/lntest/utils.go @@ -10,12 +10,12 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" ) const ( diff --git a/lnutils/sync_map_bench_test.go b/lnutils/sync_map_bench_test.go index e1e0cbc8fa..b1de54e8f4 100644 --- a/lnutils/sync_map_bench_test.go +++ b/lnutils/sync_map_bench_test.go @@ -5,7 +5,7 @@ import ( "sync/atomic" "testing" - "github.com/lightningnetwork/lnd/lnutils" + "github.com/voltagecloud/lnd/lnutils" ) func BenchmarkReadMutexMap(b *testing.B) { diff --git a/lnutils/sync_map_test.go b/lnutils/sync_map_test.go index 948d38424d..b466788ccb 100644 --- a/lnutils/sync_map_test.go +++ b/lnutils/sync_map_test.go @@ -4,8 +4,8 @@ import ( "errors" "testing" - "github.com/lightningnetwork/lnd/lnutils" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnutils" ) // TestSyncMapStore tests the Store method of the SyncMap type. diff --git a/lnwallet/README.md b/lnwallet/README.md index bb30b302fc..d7274d9531 100644 --- a/lnwallet/README.md +++ b/lnwallet/README.md @@ -1,9 +1,9 @@ lnwallet ========= -[![Build Status](http://img.shields.io/travis/lightningnetwork/lnd.svg)](https://travis-ci.org/lightningnetwork/lnd) -[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/lightningnetwork/lnd/blob/master/LICENSE) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/lightningnetwork/lnd/lnwallet) +[![Build Status](http://img.shields.io/travis/voltagecloud/lnd.svg)](https://travis-ci.org/voltagecloud/lnd) +[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/voltagecloud/lnd/blob/master/LICENSE) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/voltagecloud/lnd/lnwallet) The lnwallet package implements an abstracted wallet controller that is able to drive channel funding workflows, a number of script utilities, witness @@ -22,5 +22,5 @@ with the interface. ## Installation and Updating ```shell -$ go get -u github.com/lightningnetwork/lnd/lnwallet +$ go get -u github.com/voltagecloud/lnd/lnwallet ``` diff --git a/lnwallet/btcwallet/blockchain.go b/lnwallet/btcwallet/blockchain.go index 25b51d5e06..d0628dadd0 100644 --- a/lnwallet/btcwallet/blockchain.go +++ b/lnwallet/btcwallet/blockchain.go @@ -11,8 +11,8 @@ import ( "github.com/btcsuite/btcwallet/chain" "github.com/lightninglabs/neutrino" "github.com/lightninglabs/neutrino/headerfs" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwallet" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwallet" ) var ( diff --git a/lnwallet/btcwallet/btcwallet.go b/lnwallet/btcwallet/btcwallet.go index ac7716ccd5..38d28e325a 100644 --- a/lnwallet/btcwallet/btcwallet.go +++ b/lnwallet/btcwallet/btcwallet.go @@ -24,12 +24,12 @@ import ( "github.com/btcsuite/btcwallet/wallet/txrules" "github.com/btcsuite/btcwallet/walletdb" "github.com/btcsuite/btcwallet/wtxmgr" - "github.com/lightningnetwork/lnd/blockcache" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/blockcache" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) const ( diff --git a/lnwallet/btcwallet/btcwallet_test.go b/lnwallet/btcwallet/btcwallet_test.go index 28b783acc5..a006a2adc3 100644 --- a/lnwallet/btcwallet/btcwallet_test.go +++ b/lnwallet/btcwallet/btcwallet_test.go @@ -5,8 +5,8 @@ import ( "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcwallet/wallet" - "github.com/lightningnetwork/lnd/lnwallet" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnwallet" ) type previousOutpointsTest struct { diff --git a/lnwallet/btcwallet/driver.go b/lnwallet/btcwallet/driver.go index 55cdfb09c2..e85a6891be 100644 --- a/lnwallet/btcwallet/driver.go +++ b/lnwallet/btcwallet/driver.go @@ -4,8 +4,8 @@ import ( "fmt" "github.com/btcsuite/btcwallet/chain" - "github.com/lightningnetwork/lnd/blockcache" - "github.com/lightningnetwork/lnd/lnwallet" + "github.com/voltagecloud/lnd/blockcache" + "github.com/voltagecloud/lnd/lnwallet" ) const ( diff --git a/lnwallet/btcwallet/log.go b/lnwallet/btcwallet/log.go index 878db08e64..a993948e98 100644 --- a/lnwallet/btcwallet/log.go +++ b/lnwallet/btcwallet/log.go @@ -2,7 +2,7 @@ package btcwallet import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // Subsystem defines the logging code for this subsystem. diff --git a/lnwallet/btcwallet/psbt.go b/lnwallet/btcwallet/psbt.go index b3e8369468..c29912f99c 100644 --- a/lnwallet/btcwallet/psbt.go +++ b/lnwallet/btcwallet/psbt.go @@ -13,9 +13,9 @@ import ( "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcwallet/waddrmgr" "github.com/btcsuite/btcwallet/wallet" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) var ( diff --git a/lnwallet/btcwallet/psbt_test.go b/lnwallet/btcwallet/psbt_test.go index 245ea682c9..ae38e46aa4 100644 --- a/lnwallet/btcwallet/psbt_test.go +++ b/lnwallet/btcwallet/psbt_test.go @@ -14,9 +14,9 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcwallet/waddrmgr" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" ) var ( diff --git a/lnwallet/btcwallet/signer.go b/lnwallet/btcwallet/signer.go index 9864164769..faca26d7cb 100644 --- a/lnwallet/btcwallet/signer.go +++ b/lnwallet/btcwallet/signer.go @@ -13,9 +13,9 @@ import ( "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcwallet/waddrmgr" "github.com/btcsuite/btcwallet/walletdb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwallet" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwallet" ) // FetchInputInfo queries for the WalletController's knowledge of the passed diff --git a/lnwallet/btcwallet/signer_test.go b/lnwallet/btcwallet/signer_test.go index 25e62b4dfb..6e9d4225ef 100644 --- a/lnwallet/btcwallet/signer_test.go +++ b/lnwallet/btcwallet/signer_test.go @@ -17,10 +17,10 @@ import ( "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcwallet/chain" "github.com/btcsuite/btcwallet/waddrmgr" - "github.com/lightningnetwork/lnd/blockcache" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwallet" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/blockcache" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwallet" ) var ( diff --git a/lnwallet/chainfee/log.go b/lnwallet/chainfee/log.go index d5d0405782..ea8a125837 100644 --- a/lnwallet/chainfee/log.go +++ b/lnwallet/chainfee/log.go @@ -2,7 +2,7 @@ package chainfee import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This means the diff --git a/lnwallet/chancloser/chancloser.go b/lnwallet/chancloser/chancloser.go index 5fcc4562d2..de274ae92d 100644 --- a/lnwallet/chancloser/chancloser.go +++ b/lnwallet/chancloser/chancloser.go @@ -10,13 +10,13 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/labels" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/labels" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/lnwallet/chancloser/chancloser_test.go b/lnwallet/chancloser/chancloser_test.go index e6c2b773d5..040922f070 100644 --- a/lnwallet/chancloser/chancloser_test.go +++ b/lnwallet/chancloser/chancloser_test.go @@ -13,14 +13,14 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnutils" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnutils" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" ) // TestMaybeMatchScript tests that the maybeMatchScript errors appropriately diff --git a/lnwallet/chancloser/interface.go b/lnwallet/chancloser/interface.go index 9d588d521a..8e01b6d548 100644 --- a/lnwallet/chancloser/interface.go +++ b/lnwallet/chancloser/interface.go @@ -5,11 +5,11 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" ) // CoopFeeEstimator is used to estimate the fee of a co-op close transaction. diff --git a/lnwallet/chancloser/log.go b/lnwallet/chancloser/log.go index 967a1ec354..13c4cd178a 100644 --- a/lnwallet/chancloser/log.go +++ b/lnwallet/chancloser/log.go @@ -2,7 +2,7 @@ package chancloser import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // chancloserLog is a logger that is initialized with the btclog.Disabled diff --git a/lnwallet/chanfunding/assembler.go b/lnwallet/chanfunding/assembler.go index cd65da8a30..0cdf4a1f20 100644 --- a/lnwallet/chanfunding/assembler.go +++ b/lnwallet/chanfunding/assembler.go @@ -3,7 +3,7 @@ package chanfunding import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) // CoinSource is an interface that allows a caller to access a source of UTXOs diff --git a/lnwallet/chanfunding/canned_assembler.go b/lnwallet/chanfunding/canned_assembler.go index cf2c55e089..d77a3c01e1 100644 --- a/lnwallet/chanfunding/canned_assembler.go +++ b/lnwallet/chanfunding/canned_assembler.go @@ -6,8 +6,8 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" ) // ShimIntent is an intent created by the CannedAssembler which represents a diff --git a/lnwallet/chanfunding/coin_select.go b/lnwallet/chanfunding/coin_select.go index 2f6f2ad84a..355aecf21b 100644 --- a/lnwallet/chanfunding/coin_select.go +++ b/lnwallet/chanfunding/coin_select.go @@ -7,8 +7,8 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) // ErrInsufficientFunds is a type matching the error interface which is diff --git a/lnwallet/chanfunding/coin_select_test.go b/lnwallet/chanfunding/coin_select_test.go index 96cc44579d..b47e99b5b4 100644 --- a/lnwallet/chanfunding/coin_select_test.go +++ b/lnwallet/chanfunding/coin_select_test.go @@ -7,9 +7,9 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) var ( diff --git a/lnwallet/chanfunding/log.go b/lnwallet/chanfunding/log.go index 159a96ca1d..99f79e0daf 100644 --- a/lnwallet/chanfunding/log.go +++ b/lnwallet/chanfunding/log.go @@ -2,7 +2,7 @@ package chanfunding import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This diff --git a/lnwallet/chanfunding/psbt_assembler.go b/lnwallet/chanfunding/psbt_assembler.go index f1e1f2c95a..30dc053388 100644 --- a/lnwallet/chanfunding/psbt_assembler.go +++ b/lnwallet/chanfunding/psbt_assembler.go @@ -11,8 +11,8 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" ) // PsbtState is a type for the state of the PSBT intent state machine. diff --git a/lnwallet/chanfunding/psbt_assembler_test.go b/lnwallet/chanfunding/psbt_assembler_test.go index 461b83f5a1..412dd30edd 100644 --- a/lnwallet/chanfunding/psbt_assembler_test.go +++ b/lnwallet/chanfunding/psbt_assembler_test.go @@ -17,9 +17,9 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" ) var ( diff --git a/lnwallet/chanfunding/wallet_assembler.go b/lnwallet/chanfunding/wallet_assembler.go index 104a5c05f6..a5b4a4e681 100644 --- a/lnwallet/chanfunding/wallet_assembler.go +++ b/lnwallet/chanfunding/wallet_assembler.go @@ -9,8 +9,8 @@ import ( "github.com/btcsuite/btcd/btcutil/txsort" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" ) // FullIntent is an intent that is fully backed by the internal wallet. This diff --git a/lnwallet/channel.go b/lnwallet/channel.go index 7c383d8d23..e43a57cb77 100644 --- a/lnwallet/channel.go +++ b/lnwallet/channel.go @@ -22,15 +22,15 @@ import ( "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btclog" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/shachain" + "github.com/voltagecloud/lnd/build" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/shachain" ) var ( @@ -5732,7 +5732,7 @@ func (lc *LightningChannel) InitNextRevocation(revKey *btcec.PublicKey) error { // AvailableBalance does), so one could get into the "stuck channel" state by // sending dust HTLCs. // TODO(halseth): fix this either by using additional reserve, or better commit -// format. See https://github.com/lightningnetwork/lightning-rfc/issues/728 +// format. See https://github.com/voltagecloud/lightning-rfc/issues/728 // // NOTE: It is okay for sourceRef to be nil when unit testing the wallet. func (lc *LightningChannel) AddHTLC(htlc *lnwire.UpdateAddHTLC, diff --git a/lnwallet/channel_test.go b/lnwallet/channel_test.go index b52cd9f660..1f072b667b 100644 --- a/lnwallet/channel_test.go +++ b/lnwallet/channel_test.go @@ -19,13 +19,13 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" ) // createHTLC is a utility function for generating an HTLC with a given diff --git a/lnwallet/chanvalidate/validate.go b/lnwallet/chanvalidate/validate.go index 5cf5bbf100..8668d96aeb 100644 --- a/lnwallet/chanvalidate/validate.go +++ b/lnwallet/chanvalidate/validate.go @@ -7,7 +7,7 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/lnwallet/chanvalidate/validate_test.go b/lnwallet/chanvalidate/validate_test.go index a1be34a920..18d5cff74c 100644 --- a/lnwallet/chanvalidate/validate_test.go +++ b/lnwallet/chanvalidate/validate_test.go @@ -10,9 +10,9 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/lnwallet/commit_sort_test.go b/lnwallet/commit_sort_test.go index fd4ca6b440..9aad8e3156 100644 --- a/lnwallet/commit_sort_test.go +++ b/lnwallet/commit_sort_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet" ) type commitSortTest struct { diff --git a/lnwallet/commitment.go b/lnwallet/commitment.go index 43c9acc8f3..8b747ed3b3 100644 --- a/lnwallet/commitment.go +++ b/lnwallet/commitment.go @@ -10,10 +10,10 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" ) // anchorSize is the constant anchor output size. diff --git a/lnwallet/config.go b/lnwallet/config.go index f18d6e5290..2ad035ad4a 100644 --- a/lnwallet/config.go +++ b/lnwallet/config.go @@ -2,11 +2,11 @@ package lnwallet import ( "github.com/btcsuite/btcd/chaincfg" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) // Config is a struct which houses configuration parameters which modify the diff --git a/lnwallet/errors.go b/lnwallet/errors.go index b2d1a5c42e..6c7eb956fa 100644 --- a/lnwallet/errors.go +++ b/lnwallet/errors.go @@ -6,7 +6,7 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) // ReservationError wraps certain errors returned during channel reservation diff --git a/lnwallet/interface.go b/lnwallet/interface.go index e8dd72dc07..4df1b85cb7 100644 --- a/lnwallet/interface.go +++ b/lnwallet/interface.go @@ -18,8 +18,8 @@ import ( base "github.com/btcsuite/btcwallet/wallet" "github.com/btcsuite/btcwallet/wallet/txauthor" "github.com/btcsuite/btcwallet/wtxmgr" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) const ( diff --git a/lnwallet/log.go b/lnwallet/log.go index 341edeca7d..a0dd65b288 100644 --- a/lnwallet/log.go +++ b/lnwallet/log.go @@ -5,8 +5,8 @@ import ( "github.com/btcsuite/btcwallet/chain" btcwallet "github.com/btcsuite/btcwallet/wallet" "github.com/btcsuite/btcwallet/wtxmgr" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/build" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) // walletLog is a logger that is initialized with no output filters. This diff --git a/lnwallet/mock.go b/lnwallet/mock.go index 6d382a58eb..a90543f4e8 100644 --- a/lnwallet/mock.go +++ b/lnwallet/mock.go @@ -16,8 +16,8 @@ import ( base "github.com/btcsuite/btcwallet/wallet" "github.com/btcsuite/btcwallet/wallet/txauthor" "github.com/btcsuite/btcwallet/wtxmgr" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) var ( diff --git a/lnwallet/musig_session.go b/lnwallet/musig_session.go index ecc60d07f1..d537d2f828 100644 --- a/lnwallet/musig_session.go +++ b/lnwallet/musig_session.go @@ -10,10 +10,10 @@ import ( "github.com/btcsuite/btcd/btcec/v2/schnorr/musig2" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/shachain" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/shachain" ) // MusigCommitType is an enum that denotes if this is the local or remote diff --git a/lnwallet/musig_session_test.go b/lnwallet/musig_session_test.go index fc144e90eb..ea885f9a15 100644 --- a/lnwallet/musig_session_test.go +++ b/lnwallet/musig_session_test.go @@ -6,9 +6,9 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/schnorr/musig2" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" ) // nodeType is an enum that represents the two nodes in our test harness. diff --git a/lnwallet/parameters.go b/lnwallet/parameters.go index 36ee4baf8f..76e777259e 100644 --- a/lnwallet/parameters.go +++ b/lnwallet/parameters.go @@ -4,8 +4,8 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/mempool" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/lnwallet/parameters_test.go b/lnwallet/parameters_test.go index 3cee8f3e65..0af3d60cb6 100644 --- a/lnwallet/parameters_test.go +++ b/lnwallet/parameters_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwire" ) // TestDefaultRoutingFeeLimitForAmount tests that we use the correct default diff --git a/lnwallet/rebroadcaster_test.go b/lnwallet/rebroadcaster_test.go index c0467090b9..b33e44c317 100644 --- a/lnwallet/rebroadcaster_test.go +++ b/lnwallet/rebroadcaster_test.go @@ -7,9 +7,9 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/lnutils" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/lnutils" ) type mockRebroadcaster struct { diff --git a/lnwallet/reservation.go b/lnwallet/reservation.go index 97e2d2ea26..c1b15059b0 100644 --- a/lnwallet/reservation.go +++ b/lnwallet/reservation.go @@ -10,11 +10,11 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwallet/chanfunding" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwallet/chanfunding" + "github.com/voltagecloud/lnd/lnwire" ) // CommitmentType is an enum indicating the commitment type we should use for diff --git a/lnwallet/revocation_producer.go b/lnwallet/revocation_producer.go index 0bf490d2fc..7417588af1 100644 --- a/lnwallet/revocation_producer.go +++ b/lnwallet/revocation_producer.go @@ -3,9 +3,9 @@ package lnwallet import ( - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/shachain" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/shachain" ) // nextRevocationProducer creates a new revocation producer, deriving the diff --git a/lnwallet/revocation_producer_itest.go b/lnwallet/revocation_producer_itest.go index a1b6a05511..8071e1780c 100644 --- a/lnwallet/revocation_producer_itest.go +++ b/lnwallet/revocation_producer_itest.go @@ -4,9 +4,9 @@ package lnwallet import ( "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/shachain" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/shachain" ) // nextRevocationProducer creates a new revocation producer, deriving the diff --git a/lnwallet/rpcwallet/healthcheck.go b/lnwallet/rpcwallet/healthcheck.go index 7a412959e0..c06db0ab70 100644 --- a/lnwallet/rpcwallet/healthcheck.go +++ b/lnwallet/rpcwallet/healthcheck.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/lightningnetwork/lnd/lncfg" + "github.com/voltagecloud/lnd/lncfg" ) // HealthCheck returns a health check function for the given remote signing diff --git a/lnwallet/rpcwallet/log.go b/lnwallet/rpcwallet/log.go index 190aa623ad..9bb92cae5a 100644 --- a/lnwallet/rpcwallet/log.go +++ b/lnwallet/rpcwallet/log.go @@ -2,7 +2,7 @@ package rpcwallet import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // Subsystem defines the logging code for this subsystem. diff --git a/lnwallet/rpcwallet/rpcwallet.go b/lnwallet/rpcwallet/rpcwallet.go index 69e1f25b76..5bb694241b 100644 --- a/lnwallet/rpcwallet/rpcwallet.go +++ b/lnwallet/rpcwallet/rpcwallet.go @@ -22,16 +22,16 @@ import ( "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcwallet/waddrmgr" basewallet "github.com/btcsuite/btcwallet/wallet" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnrpc/signrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/btcwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/macaroons" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lncfg" + "github.com/voltagecloud/lnd/lnrpc/signrpc" + "github.com/voltagecloud/lnd/lnrpc/walletrpc" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/btcwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/macaroons" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/credentials" diff --git a/lnwallet/sigpool.go b/lnwallet/sigpool.go index 2424757f93..d1685a28ae 100644 --- a/lnwallet/sigpool.go +++ b/lnwallet/sigpool.go @@ -6,8 +6,8 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwire" ) const ( diff --git a/lnwallet/test/bitcoind/bitcoind_test.go b/lnwallet/test/bitcoind/bitcoind_test.go index b63ff92582..8a8a3ce184 100644 --- a/lnwallet/test/bitcoind/bitcoind_test.go +++ b/lnwallet/test/bitcoind/bitcoind_test.go @@ -3,7 +3,7 @@ package bitcoind_test import ( "testing" - lnwallettest "github.com/lightningnetwork/lnd/lnwallet/test" + lnwallettest "github.com/voltagecloud/lnd/lnwallet/test" ) // TestLightningWalletBitcoindZMQ tests LightningWallet powered by bitcoind, diff --git a/lnwallet/test/btcd/btcd_test.go b/lnwallet/test/btcd/btcd_test.go index c18b0e5f34..664a204b5f 100644 --- a/lnwallet/test/btcd/btcd_test.go +++ b/lnwallet/test/btcd/btcd_test.go @@ -3,7 +3,7 @@ package btcd_test import ( "testing" - lnwallettest "github.com/lightningnetwork/lnd/lnwallet/test" + lnwallettest "github.com/voltagecloud/lnd/lnwallet/test" ) // TestLightningWallet tests LightningWallet powered by btcd against our suite diff --git a/lnwallet/test/neutrino/neutrino_test.go b/lnwallet/test/neutrino/neutrino_test.go index c3631c830c..18731c209d 100644 --- a/lnwallet/test/neutrino/neutrino_test.go +++ b/lnwallet/test/neutrino/neutrino_test.go @@ -3,7 +3,7 @@ package neutrino_test import ( "testing" - lnwallettest "github.com/lightningnetwork/lnd/lnwallet/test" + lnwallettest "github.com/voltagecloud/lnd/lnwallet/test" ) // TestLightningWallet tests LightningWallet powered by neutrino against our diff --git a/lnwallet/test/test_interface.go b/lnwallet/test/test_interface.go index 563a975f84..468af090f0 100644 --- a/lnwallet/test/test_interface.go +++ b/lnwallet/test/test_interface.go @@ -30,21 +30,21 @@ import ( _ "github.com/btcsuite/btcwallet/walletdb/bdb" "github.com/davecgh/go-spew/spew" "github.com/lightninglabs/neutrino" - "github.com/lightningnetwork/lnd/blockcache" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/chainntnfs/btcdnotify" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/labels" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/btcwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwallet/chanfunding" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/blockcache" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/chainntnfs/btcdnotify" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/labels" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/btcwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwallet/chanfunding" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/lnwallet/test_utils.go b/lnwallet/test_utils.go index e33d563c3f..c36b5de3ae 100644 --- a/lnwallet/test_utils.go +++ b/lnwallet/test_utils.go @@ -13,13 +13,13 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/shachain" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/shachain" ) var ( diff --git a/lnwallet/transactions.go b/lnwallet/transactions.go index 1cf954d3cb..7c2802cda0 100644 --- a/lnwallet/transactions.go +++ b/lnwallet/transactions.go @@ -7,7 +7,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb" ) const ( diff --git a/lnwallet/transactions_test.go b/lnwallet/transactions_test.go index 95a931cf38..07cc822c30 100644 --- a/lnwallet/transactions_test.go +++ b/lnwallet/transactions_test.go @@ -20,14 +20,14 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/shachain" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/shachain" ) /** diff --git a/lnwallet/wallet.go b/lnwallet/wallet.go index b0a59d6036..542c76886e 100644 --- a/lnwallet/wallet.go +++ b/lnwallet/wallet.go @@ -21,14 +21,14 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwallet/chanfunding" - "github.com/lightningnetwork/lnd/lnwallet/chanvalidate" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/shachain" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwallet/chanfunding" + "github.com/voltagecloud/lnd/lnwallet/chanvalidate" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/shachain" ) const ( diff --git a/lnwire/README.md b/lnwire/README.md index e4c8958fdd..9e1b1c31f3 100644 --- a/lnwire/README.md +++ b/lnwire/README.md @@ -1,9 +1,9 @@ lnwire ====== -[![Build Status](http://img.shields.io/travis/lightningnetwork/lnd.svg)](https://travis-ci.org/lightningnetwork/lnd) -[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/lightningnetwork/lnd/blob/master/LICENSE) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/lightningnetwork/lnd/lnwire) +[![Build Status](http://img.shields.io/travis/voltagecloud/lnd.svg)](https://travis-ci.org/voltagecloud/lnd) +[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/voltagecloud/lnd/blob/master/LICENSE) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/voltagecloud/lnd/lnwire) The lnwire package implements the Lightning Network wire protocol. @@ -14,5 +14,5 @@ protocol level. ## Installation and Updating ```shell -$ go get -u github.com/lightningnetwork/lnd/lnwire +$ go get -u github.com/voltagecloud/lnd/lnwire ``` diff --git a/lnwire/accept_channel.go b/lnwire/accept_channel.go index 66dda815c6..91266e13f8 100644 --- a/lnwire/accept_channel.go +++ b/lnwire/accept_channel.go @@ -6,7 +6,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) // AcceptChannel is the message Bob sends to Alice after she initiates the diff --git a/lnwire/channel_ready.go b/lnwire/channel_ready.go index 07872f8006..d788acf543 100644 --- a/lnwire/channel_ready.go +++ b/lnwire/channel_ready.go @@ -5,7 +5,7 @@ import ( "io" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) // ChannelReady is the message that both parties to a new channel creation diff --git a/lnwire/channel_reestablish.go b/lnwire/channel_reestablish.go index 1b6cfdffc3..0a746d78ce 100644 --- a/lnwire/channel_reestablish.go +++ b/lnwire/channel_reestablish.go @@ -5,7 +5,7 @@ import ( "io" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) // ChannelReestablish is a message sent between peers that have an existing diff --git a/lnwire/channel_type.go b/lnwire/channel_type.go index a0696048be..98f522518c 100644 --- a/lnwire/channel_type.go +++ b/lnwire/channel_type.go @@ -3,7 +3,7 @@ package lnwire import ( "io" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) const ( diff --git a/lnwire/closing_signed.go b/lnwire/closing_signed.go index 3e3651964d..57d0083786 100644 --- a/lnwire/closing_signed.go +++ b/lnwire/closing_signed.go @@ -5,7 +5,7 @@ import ( "io" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) // ClosingSigned is sent by both parties to a channel once the channel is clear diff --git a/lnwire/commit_sig.go b/lnwire/commit_sig.go index d25d36a8ad..f2eaca1ff2 100644 --- a/lnwire/commit_sig.go +++ b/lnwire/commit_sig.go @@ -4,7 +4,7 @@ import ( "bytes" "io" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) // CommitSig is sent by either side to stage any pending HTLC's in the diff --git a/lnwire/extra_bytes.go b/lnwire/extra_bytes.go index 200f313ca8..4e5a61037f 100644 --- a/lnwire/extra_bytes.go +++ b/lnwire/extra_bytes.go @@ -6,7 +6,7 @@ import ( "io" "io/ioutil" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) // ExtraOpaqueData is the set of data that was appended to this message, some diff --git a/lnwire/extra_bytes_test.go b/lnwire/extra_bytes_test.go index fd9f28841d..6bc5c5ade3 100644 --- a/lnwire/extra_bytes_test.go +++ b/lnwire/extra_bytes_test.go @@ -7,8 +7,8 @@ import ( "testing" "testing/quick" - "github.com/lightningnetwork/lnd/tlv" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/tlv" ) // TestExtraOpaqueDataEncodeDecode tests that we're able to encode/decode diff --git a/lnwire/funding_created.go b/lnwire/funding_created.go index f8128ff761..91440579a0 100644 --- a/lnwire/funding_created.go +++ b/lnwire/funding_created.go @@ -5,7 +5,7 @@ import ( "io" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) // FundingCreated is sent from Alice (the initiator) to Bob (the responder), diff --git a/lnwire/funding_signed.go b/lnwire/funding_signed.go index c7fb03d155..0f54519553 100644 --- a/lnwire/funding_signed.go +++ b/lnwire/funding_signed.go @@ -4,7 +4,7 @@ import ( "bytes" "io" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) // FundingSigned is sent from Bob (the responder) to Alice (the initiator) diff --git a/lnwire/lnwire.go b/lnwire/lnwire.go index 46257cce51..d4b97a14d2 100644 --- a/lnwire/lnwire.go +++ b/lnwire/lnwire.go @@ -14,7 +14,7 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/tor" + "github.com/voltagecloud/lnd/tor" ) const ( diff --git a/lnwire/lnwire_test.go b/lnwire/lnwire_test.go index f5c028581b..64d3693b81 100644 --- a/lnwire/lnwire_test.go +++ b/lnwire/lnwire_test.go @@ -20,9 +20,9 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/tor" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/tor" ) var ( diff --git a/lnwire/message_test.go b/lnwire/message_test.go index 1df0b5c558..6009a99f78 100644 --- a/lnwire/message_test.go +++ b/lnwire/message_test.go @@ -15,10 +15,10 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/ecdsa" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/tor" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/tor" ) const deliveryAddressMaxSize = 34 diff --git a/lnwire/musig2.go b/lnwire/musig2.go index 6602ee6947..49314a078b 100644 --- a/lnwire/musig2.go +++ b/lnwire/musig2.go @@ -4,7 +4,7 @@ import ( "io" "github.com/btcsuite/btcd/btcec/v2/schnorr/musig2" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) const ( diff --git a/lnwire/onion_error.go b/lnwire/onion_error.go index e6ae7437f5..085bf737e3 100644 --- a/lnwire/onion_error.go +++ b/lnwire/onion_error.go @@ -11,7 +11,7 @@ import ( "github.com/davecgh/go-spew/spew" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) // FailureMessage represents the onion failure object identified by its unique diff --git a/lnwire/open_channel.go b/lnwire/open_channel.go index 9cb4bc41ad..f4651472c1 100644 --- a/lnwire/open_channel.go +++ b/lnwire/open_channel.go @@ -7,7 +7,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) // FundingFlag represents the possible bit mask values for the ChannelFlags diff --git a/lnwire/partial_sig.go b/lnwire/partial_sig.go index e460270f1e..712e4178c5 100644 --- a/lnwire/partial_sig.go +++ b/lnwire/partial_sig.go @@ -5,7 +5,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/schnorr/musig2" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) const ( diff --git a/lnwire/revoke_and_ack.go b/lnwire/revoke_and_ack.go index 6b6b801671..4fc81b0bf0 100644 --- a/lnwire/revoke_and_ack.go +++ b/lnwire/revoke_and_ack.go @@ -5,7 +5,7 @@ import ( "io" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) // RevokeAndAck is sent by either side once a CommitSig message has been diff --git a/lnwire/short_channel_id.go b/lnwire/short_channel_id.go index d4da518b76..8d6874bd8a 100644 --- a/lnwire/short_channel_id.go +++ b/lnwire/short_channel_id.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) const ( diff --git a/lnwire/shutdown.go b/lnwire/shutdown.go index 5b59b47ab1..26bd241cdc 100644 --- a/lnwire/shutdown.go +++ b/lnwire/shutdown.go @@ -5,7 +5,7 @@ import ( "io" "github.com/btcsuite/btcd/btcec/v2/schnorr/musig2" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) const ( diff --git a/lnwire/signature.go b/lnwire/signature.go index db6d59052f..c4133928d6 100644 --- a/lnwire/signature.go +++ b/lnwire/signature.go @@ -6,7 +6,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2/ecdsa" "github.com/btcsuite/btcd/btcec/v2/schnorr" - "github.com/lightningnetwork/lnd/input" + "github.com/voltagecloud/lnd/input" ) var ( diff --git a/lnwire/typed_delivery_addr.go b/lnwire/typed_delivery_addr.go index 90a101b346..a1dbd3bf89 100644 --- a/lnwire/typed_delivery_addr.go +++ b/lnwire/typed_delivery_addr.go @@ -1,7 +1,7 @@ package lnwire import ( - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) const ( diff --git a/lnwire/typed_lease_expiry.go b/lnwire/typed_lease_expiry.go index d1a5609c08..f8e955b7fa 100644 --- a/lnwire/typed_lease_expiry.go +++ b/lnwire/typed_lease_expiry.go @@ -3,7 +3,7 @@ package lnwire import ( "io" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) const ( diff --git a/lnwire/writer.go b/lnwire/writer.go index 671ebfdc00..306fc185da 100644 --- a/lnwire/writer.go +++ b/lnwire/writer.go @@ -12,7 +12,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/tor" + "github.com/voltagecloud/lnd/tor" ) var ( diff --git a/lnwire/writer_test.go b/lnwire/writer_test.go index ccdeabcf62..c057bb4de4 100644 --- a/lnwire/writer_test.go +++ b/lnwire/writer_test.go @@ -11,8 +11,8 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/tor" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/tor" ) func TestWriteBytes(t *testing.T) { diff --git a/log.go b/log.go index f6da0235a9..501018b0b8 100644 --- a/log.go +++ b/log.go @@ -4,49 +4,49 @@ import ( "github.com/btcsuite/btcd/connmgr" "github.com/btcsuite/btclog" "github.com/lightninglabs/neutrino" - sphinx "github.com/lightningnetwork/lightning-onion" - "github.com/lightningnetwork/lnd/autopilot" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/chanacceptor" - "github.com/lightningnetwork/lnd/chanbackup" - "github.com/lightningnetwork/lnd/chanfitness" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channelnotifier" - "github.com/lightningnetwork/lnd/cluster" - "github.com/lightningnetwork/lnd/contractcourt" - "github.com/lightningnetwork/lnd/discovery" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/healthcheck" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/lnrpc/autopilotrpc" - "github.com/lightningnetwork/lnd/lnrpc/chainrpc" - "github.com/lightningnetwork/lnd/lnrpc/devrpc" - "github.com/lightningnetwork/lnd/lnrpc/invoicesrpc" - "github.com/lightningnetwork/lnd/lnrpc/neutrinorpc" - "github.com/lightningnetwork/lnd/lnrpc/peersrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lnrpc/signrpc" - "github.com/lightningnetwork/lnd/lnrpc/verrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/btcwallet" - "github.com/lightningnetwork/lnd/lnwallet/chancloser" - "github.com/lightningnetwork/lnd/lnwallet/chanfunding" - "github.com/lightningnetwork/lnd/lnwallet/rpcwallet" - "github.com/lightningnetwork/lnd/monitoring" - "github.com/lightningnetwork/lnd/netann" - "github.com/lightningnetwork/lnd/peer" - "github.com/lightningnetwork/lnd/peernotifier" - "github.com/lightningnetwork/lnd/routing" - "github.com/lightningnetwork/lnd/rpcperms" - "github.com/lightningnetwork/lnd/signal" - "github.com/lightningnetwork/lnd/sweep" - "github.com/lightningnetwork/lnd/tor" - "github.com/lightningnetwork/lnd/watchtower" - "github.com/lightningnetwork/lnd/watchtower/wtclient" + sphinx "github.com/voltagecloud/lightning-onion" + "github.com/voltagecloud/lnd/autopilot" + "github.com/voltagecloud/lnd/build" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/chainreg" + "github.com/voltagecloud/lnd/chanacceptor" + "github.com/voltagecloud/lnd/chanbackup" + "github.com/voltagecloud/lnd/chanfitness" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channelnotifier" + "github.com/voltagecloud/lnd/cluster" + "github.com/voltagecloud/lnd/contractcourt" + "github.com/voltagecloud/lnd/discovery" + "github.com/voltagecloud/lnd/funding" + "github.com/voltagecloud/lnd/healthcheck" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/invoices" + "github.com/voltagecloud/lnd/lnrpc/autopilotrpc" + "github.com/voltagecloud/lnd/lnrpc/chainrpc" + "github.com/voltagecloud/lnd/lnrpc/devrpc" + "github.com/voltagecloud/lnd/lnrpc/invoicesrpc" + "github.com/voltagecloud/lnd/lnrpc/neutrinorpc" + "github.com/voltagecloud/lnd/lnrpc/peersrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lnrpc/signrpc" + "github.com/voltagecloud/lnd/lnrpc/verrpc" + "github.com/voltagecloud/lnd/lnrpc/walletrpc" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/btcwallet" + "github.com/voltagecloud/lnd/lnwallet/chancloser" + "github.com/voltagecloud/lnd/lnwallet/chanfunding" + "github.com/voltagecloud/lnd/lnwallet/rpcwallet" + "github.com/voltagecloud/lnd/monitoring" + "github.com/voltagecloud/lnd/netann" + "github.com/voltagecloud/lnd/peer" + "github.com/voltagecloud/lnd/peernotifier" + "github.com/voltagecloud/lnd/routing" + "github.com/voltagecloud/lnd/rpcperms" + "github.com/voltagecloud/lnd/signal" + "github.com/voltagecloud/lnd/sweep" + "github.com/voltagecloud/lnd/tor" + "github.com/voltagecloud/lnd/watchtower" + "github.com/voltagecloud/lnd/watchtower/wtclient" ) // replaceableLogger is a thin wrapper around a logger that is used so the diff --git a/macaroons/constraints_test.go b/macaroons/constraints_test.go index 0a758c11d5..5f4923693d 100644 --- a/macaroons/constraints_test.go +++ b/macaroons/constraints_test.go @@ -6,8 +6,8 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/macaroons" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/macaroons" macaroon "gopkg.in/macaroon.v2" ) diff --git a/macaroons/service_test.go b/macaroons/service_test.go index aad8af8db0..cec646ad8d 100644 --- a/macaroons/service_test.go +++ b/macaroons/service_test.go @@ -6,9 +6,9 @@ import ( "path" "testing" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/macaroons" "github.com/stretchr/testify/require" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/lnd/macaroons" "google.golang.org/grpc/metadata" "gopkg.in/macaroon-bakery.v2/bakery" "gopkg.in/macaroon-bakery.v2/bakery/checkers" diff --git a/macaroons/store.go b/macaroons/store.go index cca548d98c..c5c475378c 100644 --- a/macaroons/store.go +++ b/macaroons/store.go @@ -10,7 +10,7 @@ import ( "github.com/btcsuite/btcwallet/snacl" "github.com/btcsuite/btcwallet/walletdb" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) const ( diff --git a/macaroons/store_test.go b/macaroons/store_test.go index ace1e764a1..41ddb9cc1e 100644 --- a/macaroons/store_test.go +++ b/macaroons/store_test.go @@ -7,9 +7,9 @@ import ( "testing" "github.com/btcsuite/btcwallet/snacl" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/macaroons" "github.com/stretchr/testify/require" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/lnd/macaroons" ) var ( diff --git a/mobile/README.md b/mobile/README.md index 4aa0d7e9d5..0fc234d862 100644 --- a/mobile/README.md +++ b/mobile/README.md @@ -14,7 +14,7 @@ To build for Android, you need either ### Go and Go mobile First, follow the instructions to [install -Go](https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md#building-a-development-version-from-source). +Go](https://github.com/voltagecloud/lnd/blob/master/docs/INSTALL.md#building-a-development-version-from-source). ### Docker @@ -35,13 +35,13 @@ point. However, with the introduction of Go modules, the source code files are no longer installed there by default. ```shell -git clone https://github.com/lightningnetwork/lnd.git $GOPATH/src/github.com/lightningnetwork/lnd +git clone https://github.com/voltagecloud/lnd.git $GOPATH/src/github.com/voltagecloud/lnd ``` Finally, let’s change directory to the newly created lnd folder inside `$GOPATH`: ```shell -cd $GOPATH/src/github.com/lightningnetwork/lnd +cd $GOPATH/src/github.com/voltagecloud/lnd ``` It is not recommended building from the master branch for mainnet. To check out diff --git a/mobile/bindings.go b/mobile/bindings.go index e5fe5f71ff..8990485685 100644 --- a/mobile/bindings.go +++ b/mobile/bindings.go @@ -11,8 +11,8 @@ import ( "sync/atomic" flags "github.com/jessevdk/go-flags" - "github.com/lightningnetwork/lnd" - "github.com/lightningnetwork/lnd/signal" + "github.com/voltagecloud/lnd" + "github.com/voltagecloud/lnd/signal" _ "golang.org/x/mobile/bind" "google.golang.org/grpc" ) diff --git a/mobile/gen_bindings.sh b/mobile/gen_bindings.sh index 035cf79bdf..e37a7dc980 100755 --- a/mobile/gen_bindings.sh +++ b/mobile/gen_bindings.sh @@ -29,7 +29,7 @@ fi pkg="lndmobile" # The package where the protobuf definitions originally are found. -target_pkg="github.com/lightningnetwork/lnd/lnrpc" +target_pkg="github.com/voltagecloud/lnd/lnrpc" # A mapping from grpc service to name of the custom listeners. The grpc server # must be configured to listen on these. diff --git a/monitoring/log.go b/monitoring/log.go index a35af85230..7b31ae5066 100644 --- a/monitoring/log.go +++ b/monitoring/log.go @@ -2,7 +2,7 @@ package monitoring import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This means the diff --git a/monitoring/monitoring_off.go b/monitoring/monitoring_off.go index cb8ca45433..cc4c11f4e5 100644 --- a/monitoring/monitoring_off.go +++ b/monitoring/monitoring_off.go @@ -6,7 +6,7 @@ package monitoring import ( "fmt" - "github.com/lightningnetwork/lnd/lncfg" + "github.com/voltagecloud/lnd/lncfg" "google.golang.org/grpc" ) diff --git a/monitoring/monitoring_on.go b/monitoring/monitoring_on.go index aaf2dfd973..53c4710d50 100644 --- a/monitoring/monitoring_on.go +++ b/monitoring/monitoring_on.go @@ -8,8 +8,8 @@ import ( "sync" grpc_prometheus "github.com/grpc-ecosystem/go-grpc-prometheus" - "github.com/lightningnetwork/lnd/lncfg" "github.com/prometheus/client_golang/prometheus/promhttp" + "github.com/voltagecloud/lnd/lncfg" "google.golang.org/grpc" ) diff --git a/netann/chan_status_manager.go b/netann/chan_status_manager.go index 518fd39708..cb263b0a58 100644 --- a/netann/chan_status_manager.go +++ b/netann/chan_status_manager.go @@ -7,10 +7,10 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/keychain" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwire" ) var ( diff --git a/netann/chan_status_manager_test.go b/netann/chan_status_manager_test.go index e068184f89..bd0e16b86e 100644 --- a/netann/chan_status_manager_test.go +++ b/netann/chan_status_manager_test.go @@ -13,11 +13,11 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/netann" "github.com/stretchr/testify/require" + "github.com/voltagecloud/channeldb" + "github.com/voltagecloud/keychain" + "github.com/voltagecloud/lnd/netann" + "github.com/voltagecloud/lnwire" ) var ( diff --git a/netann/channel_announcement.go b/netann/channel_announcement.go index 0ae8d606d4..97d4ad4420 100644 --- a/netann/channel_announcement.go +++ b/netann/channel_announcement.go @@ -3,8 +3,8 @@ package netann import ( "bytes" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnwire" ) // CreateChanAnnouncement is a helper function which creates all channel diff --git a/netann/channel_announcement_test.go b/netann/channel_announcement_test.go index bc2460b9af..ab5085cc62 100644 --- a/netann/channel_announcement_test.go +++ b/netann/channel_announcement_test.go @@ -7,10 +7,10 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/require" ) func TestCreateChanAnnouncement(t *testing.T) { diff --git a/netann/channel_update.go b/netann/channel_update.go index b6555f37b1..f6f9b7052b 100644 --- a/netann/channel_update.go +++ b/netann/channel_update.go @@ -6,10 +6,10 @@ import ( "time" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/keychain" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwire" ) // ErrUnableToExtractChanUpdate is returned when a channel update cannot be diff --git a/netann/channel_update_test.go b/netann/channel_update_test.go index e49e5c65e8..e5edb2a714 100644 --- a/netann/channel_update_test.go +++ b/netann/channel_update_test.go @@ -7,11 +7,11 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/ecdsa" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/netann" - "github.com/lightningnetwork/lnd/routing" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwire" + "github.com/voltagecloud/netann" + "github.com/voltagecloud/routing" ) type mockSigner struct { diff --git a/netann/host_ann.go b/netann/host_ann.go index 767c3089c1..04e9f475c7 100644 --- a/netann/host_ann.go +++ b/netann/host_ann.go @@ -4,8 +4,8 @@ import ( "net" "sync" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/ticker" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/ticker" ) // HostAnnouncerConfig is the main config for the HostAnnouncer. diff --git a/netann/host_ann_test.go b/netann/host_ann_test.go index c8bbcac259..7f28be7a4a 100644 --- a/netann/host_ann_test.go +++ b/netann/host_ann_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/ticker" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/ticker" ) // TestHostAnnouncerUpdates tests that the HostAnnouncer will properly announce diff --git a/netann/interface.go b/netann/interface.go index 79c0c114f2..82e55fc46b 100644 --- a/netann/interface.go +++ b/netann/interface.go @@ -2,7 +2,7 @@ package netann import ( "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb" ) // DB abstracts the required database functionality needed by the diff --git a/netann/log.go b/netann/log.go index 85d8d68c34..794efbfa6f 100644 --- a/netann/log.go +++ b/netann/log.go @@ -2,7 +2,7 @@ package netann import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This means the diff --git a/netann/node_announcement.go b/netann/node_announcement.go index 5b6f7a430e..3c32abeadf 100644 --- a/netann/node_announcement.go +++ b/netann/node_announcement.go @@ -5,9 +5,9 @@ import ( "net" "time" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwire" ) // NodeAnnModifier is a closure that makes in-place modifications to an diff --git a/netann/node_signer.go b/netann/node_signer.go index e0b439b14d..7dd8776e95 100644 --- a/netann/node_signer.go +++ b/netann/node_signer.go @@ -4,8 +4,8 @@ import ( "fmt" "github.com/btcsuite/btcd/btcec/v2/ecdsa" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwallet" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnwallet" ) // NodeSigner is an implementation of the MessageSigner interface backed by the diff --git a/netann/sign.go b/netann/sign.go index 86634f6281..8990f00a3f 100644 --- a/netann/sign.go +++ b/netann/sign.go @@ -3,10 +3,10 @@ package netann import ( "fmt" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/keychain" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwire" ) // SignAnnouncement signs any type of gossip message that is announced on the diff --git a/peer/brontide.go b/peer/brontide.go index ecb3d4d590..400ed8d60c 100644 --- a/peer/brontide.go +++ b/peer/brontide.go @@ -17,33 +17,33 @@ import ( "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btclog" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/buffer" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/channelnotifier" - "github.com/lightningnetwork/lnd/contractcourt" - "github.com/lightningnetwork/lnd/discovery" - "github.com/lightningnetwork/lnd/feature" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/htlcswitch/hodl" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/lnpeer" - "github.com/lightningnetwork/lnd/lnutils" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwallet/chancloser" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/netann" - "github.com/lightningnetwork/lnd/pool" - "github.com/lightningnetwork/lnd/queue" - "github.com/lightningnetwork/lnd/subscribe" - "github.com/lightningnetwork/lnd/ticker" - "github.com/lightningnetwork/lnd/watchtower/wtclient" + "github.com/voltagecloud/lnd/buffer" + "github.com/voltagecloud/lnd/build" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/channelnotifier" + "github.com/voltagecloud/lnd/contractcourt" + "github.com/voltagecloud/lnd/discovery" + "github.com/voltagecloud/lnd/feature" + "github.com/voltagecloud/lnd/funding" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/htlcswitch/hodl" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/invoices" + "github.com/voltagecloud/lnd/lnpeer" + "github.com/voltagecloud/lnd/lnutils" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwallet/chancloser" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/netann" + "github.com/voltagecloud/lnd/pool" + "github.com/voltagecloud/lnd/queue" + "github.com/voltagecloud/lnd/subscribe" + "github.com/voltagecloud/lnd/ticker" + "github.com/voltagecloud/lnd/watchtower/wtclient" ) const ( diff --git a/peer/brontide_test.go b/peer/brontide_test.go index 103b59ea53..d68f503545 100644 --- a/peer/brontide_test.go +++ b/peer/brontide_test.go @@ -10,17 +10,17 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channelnotifier" - "github.com/lightningnetwork/lnd/contractcourt" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/lntest/mock" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chancloser" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/pool" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channelnotifier" + "github.com/voltagecloud/lnd/contractcourt" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/lntest/mock" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chancloser" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/pool" ) var ( @@ -1343,7 +1343,7 @@ func TestHandleRemovePendingChannel(t *testing.T) { // TestStartupWriteMessageRace checks that no data race occurs when starting up // a peer with an existing channel, while an outgoing message is queuing. Such -// a race occurred in https://github.com/lightningnetwork/lnd/issues/8184, where +// a race occurred in https://github.com/voltagecloud/lnd/issues/8184, where // a channel reestablish message raced with another outgoing message. // // Note that races will only be detected with the Go race detector enabled. diff --git a/peer/interfaces.go b/peer/interfaces.go index 562d89723c..5c17fb112b 100644 --- a/peer/interfaces.go +++ b/peer/interfaces.go @@ -4,9 +4,9 @@ import ( "net" "time" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwire" ) // messageSwitch is an interface that abstracts managing the lifecycle of diff --git a/peer/log.go b/peer/log.go index a1f9bda3e1..779a77fc2f 100644 --- a/peer/log.go +++ b/peer/log.go @@ -2,7 +2,7 @@ package peer import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // peerLog is a logger that is initialized with the btclog.Disabled logger. diff --git a/peer/musig_chan_closer.go b/peer/musig_chan_closer.go index 6b05b1e62e..de7835856e 100644 --- a/peer/musig_chan_closer.go +++ b/peer/musig_chan_closer.go @@ -4,10 +4,10 @@ import ( "fmt" "github.com/btcsuite/btcd/btcec/v2/schnorr/musig2" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chancloser" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chancloser" + "github.com/voltagecloud/lnd/lnwire" ) // MusigChanCloser is an adapter over the normal channel state machine that diff --git a/peer/test_utils.go b/peer/test_utils.go index c7509c0c82..e8c0c24c8b 100644 --- a/peer/test_utils.go +++ b/peer/test_utils.go @@ -14,21 +14,21 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channelnotifier" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lntest/channels" - "github.com/lightningnetwork/lnd/lntest/mock" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/netann" - "github.com/lightningnetwork/lnd/queue" - "github.com/lightningnetwork/lnd/shachain" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channelnotifier" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lntest/channels" + "github.com/voltagecloud/lnd/lntest/mock" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/netann" + "github.com/voltagecloud/lnd/queue" + "github.com/voltagecloud/lnd/shachain" ) const ( diff --git a/peernotifier/log.go b/peernotifier/log.go index 1178c0f3df..c610392ab6 100644 --- a/peernotifier/log.go +++ b/peernotifier/log.go @@ -2,7 +2,7 @@ package peernotifier import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This diff --git a/peernotifier/peernotifier.go b/peernotifier/peernotifier.go index d24c2cf928..f8b86ef45f 100644 --- a/peernotifier/peernotifier.go +++ b/peernotifier/peernotifier.go @@ -3,7 +3,7 @@ package peernotifier import ( "sync" - "github.com/lightningnetwork/lnd/subscribe" + "github.com/voltagecloud/lnd/subscribe" ) // PeerNotifier is a subsystem which observes peer offline and online events. diff --git a/pilot.go b/pilot.go index b0bb6d9f80..08687dda2d 100644 --- a/pilot.go +++ b/pilot.go @@ -8,13 +8,13 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/autopilot" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/tor" + "github.com/voltagecloud/lnd/autopilot" + "github.com/voltagecloud/lnd/chainreg" + "github.com/voltagecloud/lnd/funding" + "github.com/voltagecloud/lnd/lncfg" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/tor" ) // validateAtplConfig is a helper method that makes sure the passed diff --git a/pool/read.go b/pool/read.go index 171a0d2a36..62ccd09f7c 100644 --- a/pool/read.go +++ b/pool/read.go @@ -3,7 +3,7 @@ package pool import ( "time" - "github.com/lightningnetwork/lnd/buffer" + "github.com/voltagecloud/lnd/buffer" ) // Read is a worker pool specifically designed for sharing access to buffer.Read diff --git a/pool/read_buffer.go b/pool/read_buffer.go index ded81aa660..d16c1a1cca 100644 --- a/pool/read_buffer.go +++ b/pool/read_buffer.go @@ -3,7 +3,7 @@ package pool import ( "time" - "github.com/lightningnetwork/lnd/buffer" + "github.com/voltagecloud/lnd/buffer" ) const ( diff --git a/pool/recycle.go b/pool/recycle.go index 4d13674b20..fa55be803a 100644 --- a/pool/recycle.go +++ b/pool/recycle.go @@ -3,7 +3,7 @@ package pool import ( "time" - "github.com/lightningnetwork/lnd/queue" + "github.com/voltagecloud/lnd/queue" ) // Recycler is an interface that allows an object to be reclaimed without diff --git a/pool/recycle_test.go b/pool/recycle_test.go index 2750da0043..26fd860e22 100644 --- a/pool/recycle_test.go +++ b/pool/recycle_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/buffer" - "github.com/lightningnetwork/lnd/pool" + "github.com/voltagecloud/lnd/buffer" + "github.com/voltagecloud/lnd/pool" ) type mockRecycler bool diff --git a/pool/worker_test.go b/pool/worker_test.go index 300cb323ca..7ee861a173 100644 --- a/pool/worker_test.go +++ b/pool/worker_test.go @@ -9,9 +9,9 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/buffer" - "github.com/lightningnetwork/lnd/pool" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/buffer" + "github.com/voltagecloud/lnd/pool" ) type workerPoolTest struct { diff --git a/pool/write.go b/pool/write.go index ac335f2649..288fc66034 100644 --- a/pool/write.go +++ b/pool/write.go @@ -4,7 +4,7 @@ import ( "bytes" "time" - "github.com/lightningnetwork/lnd/buffer" + "github.com/voltagecloud/lnd/buffer" ) // Write is a worker pool specifically designed for sharing access to diff --git a/pool/write_buffer.go b/pool/write_buffer.go index 4b1339769b..599724befb 100644 --- a/pool/write_buffer.go +++ b/pool/write_buffer.go @@ -3,7 +3,7 @@ package pool import ( "time" - "github.com/lightningnetwork/lnd/buffer" + "github.com/voltagecloud/lnd/buffer" ) const ( diff --git a/queue/gc_queue.go b/queue/gc_queue.go index 04972b13b0..8b3b0fbb6e 100644 --- a/queue/gc_queue.go +++ b/queue/gc_queue.go @@ -4,7 +4,7 @@ import ( "container/list" "time" - "github.com/lightningnetwork/lnd/ticker" + "github.com/voltagecloud/lnd/ticker" ) // GCQueue is garbage collecting queue, which dynamically grows and contracts diff --git a/queue/gc_queue_test.go b/queue/gc_queue_test.go index 3fc5d3b28f..aac02e32af 100644 --- a/queue/gc_queue_test.go +++ b/queue/gc_queue_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/queue" + "github.com/voltagecloud/lnd/queue" ) // testItem is an item type we'll be using to test the GCQueue. diff --git a/queue/go.mod b/queue/go.mod index 58267e2760..c90fc8a4a6 100644 --- a/queue/go.mod +++ b/queue/go.mod @@ -1,7 +1,7 @@ -module github.com/lightningnetwork/lnd/queue +module github.com/voltagecloud/lnd/queue -require github.com/lightningnetwork/lnd/ticker v1.0.0 +require github.com/voltagecloud/lnd/ticker v1.0.0 -replace github.com/lightningnetwork/lnd/ticker v1.0.0 => ../ticker +replace github.com/voltagecloud/lnd/ticker v1.0.0 => ../ticker go 1.19 diff --git a/queue/queue_test.go b/queue/queue_test.go index 35f007cd54..5bb02ebc4d 100644 --- a/queue/queue_test.go +++ b/queue/queue_test.go @@ -3,7 +3,7 @@ package queue_test import ( "testing" - "github.com/lightningnetwork/lnd/queue" + "github.com/voltagecloud/lnd/queue" ) func testQueueAddDrain(t *testing.T, size, numStart, numStop, numAdd, numDrain int) { diff --git a/record/amp.go b/record/amp.go index eb431fec3f..1d7baae22f 100644 --- a/record/amp.go +++ b/record/amp.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) // AMPOnionType is the type used in the onion to reference the AMP fields: diff --git a/record/hop.go b/record/hop.go index 0611df0437..f7ed78c764 100644 --- a/record/hop.go +++ b/record/hop.go @@ -1,7 +1,7 @@ package record import ( - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) const ( diff --git a/record/mpp.go b/record/mpp.go index a5457e5029..708f6a0ada 100644 --- a/record/mpp.go +++ b/record/mpp.go @@ -4,8 +4,8 @@ import ( "fmt" "io" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/tlv" ) // MPPOnionType is the type used in the onion to reference the MPP fields: diff --git a/record/record_test.go b/record/record_test.go index 45faa9f73d..05593e29ec 100644 --- a/record/record_test.go +++ b/record/record_test.go @@ -4,9 +4,9 @@ import ( "bytes" "testing" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/record" + "github.com/voltagecloud/lnd/tlv" ) type recordEncDecTest struct { diff --git a/routing/README.md b/routing/README.md index 19746b6db7..25db60c8e9 100644 --- a/routing/README.md +++ b/routing/README.md @@ -1,9 +1,9 @@ routing ======= -[![Build Status](http://img.shields.io/travis/lightningnetwork/lnd.svg)](https://travis-ci.org/lightningnetwork/lnd) -[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/lightningnetwork/lnd/blob/master/LICENSE) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/lightningnetwork/lnd/routing) +[![Build Status](http://img.shields.io/travis/voltagecloud/lnd.svg)](https://travis-ci.org/voltagecloud/lnd) +[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/voltagecloud/lnd/blob/master/LICENSE) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/voltagecloud/lnd/routing) The routing package implements authentication+validation of channel announcements, pruning of the channel graph, path finding within the network, @@ -13,5 +13,5 @@ channel graph state. ## Installation and Updating ```shell -$ go get -u github.com/lightningnetwork/lnd/routing +$ go get -u github.com/voltagecloud/lnd/routing ``` diff --git a/routing/ann_validation.go b/routing/ann_validation.go index 35f0afd4d1..80b5b207fe 100644 --- a/routing/ann_validation.go +++ b/routing/ann_validation.go @@ -9,7 +9,7 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/davecgh/go-spew/spew" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) // ValidateChannelAnn validates the channel announcement message and checks diff --git a/routing/bandwidth.go b/routing/bandwidth.go index 19c6087018..4d4aa0e7e6 100644 --- a/routing/bandwidth.go +++ b/routing/bandwidth.go @@ -1,10 +1,10 @@ package routing import ( - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) // bandwidthHints provides hints about the currently available balance in our diff --git a/routing/bandwidth_test.go b/routing/bandwidth_test.go index ef12d69737..3ca5288f0c 100644 --- a/routing/bandwidth_test.go +++ b/routing/bandwidth_test.go @@ -5,9 +5,9 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/lnwire" ) // TestBandwidthManager tests getting of bandwidth hints from a bandwidth diff --git a/routing/chainview/bitcoind.go b/routing/chainview/bitcoind.go index c38c4df8f5..5684b22a24 100644 --- a/routing/chainview/bitcoind.go +++ b/routing/chainview/bitcoind.go @@ -12,8 +12,8 @@ import ( "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcwallet/chain" "github.com/btcsuite/btcwallet/wtxmgr" - "github.com/lightningnetwork/lnd/blockcache" - "github.com/lightningnetwork/lnd/channeldb" + "github.com/voltagecloud/lnd/blockcache" + "github.com/voltagecloud/lnd/channeldb" ) // BitcoindFilteredChainView is an implementation of the FilteredChainView diff --git a/routing/chainview/btcd.go b/routing/chainview/btcd.go index c0234386aa..50f50322a6 100644 --- a/routing/chainview/btcd.go +++ b/routing/chainview/btcd.go @@ -12,8 +12,8 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/rpcclient" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/blockcache" - "github.com/lightningnetwork/lnd/channeldb" + "github.com/voltagecloud/lnd/blockcache" + "github.com/voltagecloud/lnd/channeldb" ) // BtcdFilteredChainView is an implementation of the FilteredChainView diff --git a/routing/chainview/interface.go b/routing/chainview/interface.go index cfa9fccf48..d038905d39 100644 --- a/routing/chainview/interface.go +++ b/routing/chainview/interface.go @@ -3,7 +3,7 @@ package chainview import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb" ) // FilteredChainView represents a subscription to a certain subset of the diff --git a/routing/chainview/interface_test.go b/routing/chainview/interface_test.go index 010f33807c..821742d280 100644 --- a/routing/chainview/interface_test.go +++ b/routing/chainview/interface_test.go @@ -24,11 +24,11 @@ import ( "github.com/btcsuite/btcwallet/walletdb" _ "github.com/btcsuite/btcwallet/walletdb/bdb" // Required to register the boltdb walletdb implementation. "github.com/lightninglabs/neutrino" - "github.com/lightningnetwork/lnd/blockcache" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntest/wait" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/blockcache" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntest/wait" ) var ( diff --git a/routing/chainview/log.go b/routing/chainview/log.go index b411819dd2..b0557264be 100644 --- a/routing/chainview/log.go +++ b/routing/chainview/log.go @@ -2,7 +2,7 @@ package chainview import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This diff --git a/routing/chainview/neutrino.go b/routing/chainview/neutrino.go index 8bba71a7e6..721f1a2cd4 100644 --- a/routing/chainview/neutrino.go +++ b/routing/chainview/neutrino.go @@ -11,9 +11,9 @@ import ( "github.com/btcsuite/btcd/rpcclient" "github.com/btcsuite/btcd/wire" "github.com/lightninglabs/neutrino" - "github.com/lightningnetwork/lnd/blockcache" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lntypes" + "github.com/voltagecloud/lnd/blockcache" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lntypes" ) // CfFilteredChainView is an implementation of the FilteredChainView interface diff --git a/routing/control_tower.go b/routing/control_tower.go index d2cbc6bbf3..f01a3c609d 100644 --- a/routing/control_tower.go +++ b/routing/control_tower.go @@ -3,10 +3,10 @@ package routing import ( "sync" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/multimutex" - "github.com/lightningnetwork/lnd/queue" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/multimutex" + "github.com/voltagecloud/lnd/queue" ) // ControlTower tracks all outgoing payments made, whose primary purpose is to diff --git a/routing/control_tower_test.go b/routing/control_tower_test.go index 05f049fa26..b11a42a30c 100644 --- a/routing/control_tower_test.go +++ b/routing/control_tower_test.go @@ -11,10 +11,10 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/routing/route" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/routing/route" ) var ( diff --git a/routing/graph.go b/routing/graph.go index 23bdd41e28..37f037ec84 100644 --- a/routing/graph.go +++ b/routing/graph.go @@ -4,10 +4,10 @@ import ( "fmt" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) // routingGraph is an abstract interface that provides information about nodes diff --git a/routing/heap.go b/routing/heap.go index 36563bb661..0e36059467 100644 --- a/routing/heap.go +++ b/routing/heap.go @@ -3,9 +3,9 @@ package routing import ( "container/heap" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) // nodeWithDist is a helper struct that couples the distance from the current diff --git a/routing/heap_test.go b/routing/heap_test.go index 659653f708..09c4e94763 100644 --- a/routing/heap_test.go +++ b/routing/heap_test.go @@ -7,7 +7,7 @@ import ( "sort" "testing" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/routing/route" ) // TestHeapOrdering ensures that the items inserted into the heap are properly diff --git a/routing/integrated_routing_context_test.go b/routing/integrated_routing_context_test.go index d939dc16b9..572e316f9d 100644 --- a/routing/integrated_routing_context_test.go +++ b/routing/integrated_routing_context_test.go @@ -7,11 +7,11 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" - "github.com/lightningnetwork/lnd/zpay32" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" + "github.com/voltagecloud/lnd/zpay32" ) const ( diff --git a/routing/integrated_routing_test.go b/routing/integrated_routing_test.go index f4c99a9a11..3d0f5c008a 100644 --- a/routing/integrated_routing_test.go +++ b/routing/integrated_routing_test.go @@ -7,9 +7,9 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/zpay32" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/zpay32" ) // TestProbabilityExtrapolation tests that probabilities for tried channels are diff --git a/routing/localchans/manager.go b/routing/localchans/manager.go index 3a4e2416ab..ead3f8fdf6 100644 --- a/routing/localchans/manager.go +++ b/routing/localchans/manager.go @@ -6,13 +6,13 @@ import ( "sync" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/discovery" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/discovery" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing" ) // Manager manages the node's local channels. The only operation that is diff --git a/routing/localchans/manager_test.go b/routing/localchans/manager_test.go index b14093a01d..de09d2ce03 100644 --- a/routing/localchans/manager_test.go +++ b/routing/localchans/manager_test.go @@ -6,14 +6,14 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/discovery" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/discovery" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing" ) // TestManager tests that the local channel manager properly propagates fee diff --git a/routing/log.go b/routing/log.go index e5c2e7a078..0522601e1a 100644 --- a/routing/log.go +++ b/routing/log.go @@ -2,8 +2,8 @@ package routing import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/routing/chainview" + "github.com/voltagecloud/lnd/build" + "github.com/voltagecloud/lnd/routing/chainview" ) // log is a logger that is initialized with no output filters. This means the diff --git a/routing/missioncontrol.go b/routing/missioncontrol.go index 201777af3b..07006cc1d2 100644 --- a/routing/missioncontrol.go +++ b/routing/missioncontrol.go @@ -7,10 +7,10 @@ import ( "time" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) const ( diff --git a/routing/missioncontrol_state.go b/routing/missioncontrol_state.go index 7d6633f2bd..14bac427f9 100644 --- a/routing/missioncontrol_state.go +++ b/routing/missioncontrol_state.go @@ -3,7 +3,7 @@ package routing import ( "time" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/routing/route" ) // missionControlState is an object that manages the internal mission control diff --git a/routing/missioncontrol_state_test.go b/routing/missioncontrol_state_test.go index 178a9cded2..9a2daeb874 100644 --- a/routing/missioncontrol_state_test.go +++ b/routing/missioncontrol_state_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/routing/route" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/routing/route" ) // TestMissionControlStateSetLastPairResult tests setting mission control state diff --git a/routing/missioncontrol_store.go b/routing/missioncontrol_store.go index a6c98571fd..c9962b97c1 100644 --- a/routing/missioncontrol_store.go +++ b/routing/missioncontrol_store.go @@ -10,9 +10,9 @@ import ( "time" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/routing/missioncontrol_store_test.go b/routing/missioncontrol_store_test.go index 81d1da4b35..47b882c150 100644 --- a/routing/missioncontrol_store_test.go +++ b/routing/missioncontrol_store_test.go @@ -7,10 +7,10 @@ import ( "time" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) const testMaxRecords = 2 diff --git a/routing/missioncontrol_test.go b/routing/missioncontrol_test.go index 27391d53e2..c837ddbf6a 100644 --- a/routing/missioncontrol_test.go +++ b/routing/missioncontrol_test.go @@ -5,10 +5,10 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) var ( diff --git a/routing/mock_graph_test.go b/routing/mock_graph_test.go index dfbfd6abae..911bec40de 100644 --- a/routing/mock_graph_test.go +++ b/routing/mock_graph_test.go @@ -7,9 +7,9 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) // createPubkey return a new test pubkey. diff --git a/routing/mock_test.go b/routing/mock_test.go index 72f037b038..14142cf7cf 100644 --- a/routing/mock_test.go +++ b/routing/mock_test.go @@ -7,12 +7,12 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" "github.com/stretchr/testify/mock" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) type mockPaymentAttemptDispatcherOld struct { diff --git a/routing/nodepair.go b/routing/nodepair.go index 43128e69e6..597a2de61d 100644 --- a/routing/nodepair.go +++ b/routing/nodepair.go @@ -3,7 +3,7 @@ package routing import ( "fmt" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/routing/route" ) // DirectedNodePair stores a directed pair of nodes. diff --git a/routing/notifications.go b/routing/notifications.go index 387bd9126d..84c3d7bbe9 100644 --- a/routing/notifications.go +++ b/routing/notifications.go @@ -11,8 +11,8 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lnwire" ) // TopologyClient represents an intent to receive notifications from the diff --git a/routing/notifications_test.go b/routing/notifications_test.go index 00bc29f6bc..582f63db40 100644 --- a/routing/notifications_test.go +++ b/routing/notifications_test.go @@ -15,14 +15,14 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/btcwallet" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/chainview" - "github.com/lightningnetwork/lnd/routing/route" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/btcwallet" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/chainview" + "github.com/voltagecloud/lnd/routing/route" ) var ( diff --git a/routing/pathfind.go b/routing/pathfind.go index e293d320de..9cee79587a 100644 --- a/routing/pathfind.go +++ b/routing/pathfind.go @@ -8,12 +8,12 @@ import ( "time" "github.com/btcsuite/btcd/btcutil" - sphinx "github.com/lightningnetwork/lightning-onion" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/feature" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" - "github.com/lightningnetwork/lnd/routing/route" + sphinx "github.com/voltagecloud/lightning-onion" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/feature" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/record" + "github.com/voltagecloud/lnd/routing/route" ) const ( diff --git a/routing/pathfind_test.go b/routing/pathfind_test.go index 4224a4f638..dc76a040a5 100644 --- a/routing/pathfind_test.go +++ b/routing/pathfind_test.go @@ -21,13 +21,13 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" - "github.com/lightningnetwork/lnd/routing/route" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/record" + "github.com/voltagecloud/lnd/routing/route" ) const ( diff --git a/routing/payment_lifecycle.go b/routing/payment_lifecycle.go index c6bd7e08e8..f33d391199 100644 --- a/routing/payment_lifecycle.go +++ b/routing/payment_lifecycle.go @@ -7,13 +7,13 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/davecgh/go-spew/spew" - sphinx "github.com/lightningnetwork/lightning-onion" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" - "github.com/lightningnetwork/lnd/routing/shards" + sphinx "github.com/voltagecloud/lightning-onion" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" + "github.com/voltagecloud/lnd/routing/shards" ) // errShardHandlerExiting is returned from the shardHandler when it exits. diff --git a/routing/payment_lifecycle_test.go b/routing/payment_lifecycle_test.go index 16d368d235..7c25ab5e9f 100644 --- a/routing/payment_lifecycle_test.go +++ b/routing/payment_lifecycle_test.go @@ -9,13 +9,13 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/clock" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) const stepTimeout = 5 * time.Second diff --git a/routing/payment_session.go b/routing/payment_session.go index 8b181a04d9..bc907dad85 100644 --- a/routing/payment_session.go +++ b/routing/payment_session.go @@ -6,10 +6,10 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btclog" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/build" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) // BlockPadding is used to increment the finalCltvDelta value for the last hop diff --git a/routing/payment_session_source.go b/routing/payment_session_source.go index 9d42f6a4ae..4b0278c2a7 100644 --- a/routing/payment_session_source.go +++ b/routing/payment_session_source.go @@ -2,10 +2,10 @@ package routing import ( "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" - "github.com/lightningnetwork/lnd/zpay32" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" + "github.com/voltagecloud/lnd/zpay32" ) // A compile time assertion to ensure MissionControl meets the diff --git a/routing/payment_session_test.go b/routing/payment_session_test.go index 18858f1f92..f136c1e21c 100644 --- a/routing/payment_session_test.go +++ b/routing/payment_session_test.go @@ -4,12 +4,12 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" - "github.com/lightningnetwork/lnd/zpay32" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" + "github.com/voltagecloud/lnd/zpay32" ) func TestValidateCLTVLimit(t *testing.T) { diff --git a/routing/probability_apriori.go b/routing/probability_apriori.go index d5d9246e35..8a8f3a6b0a 100644 --- a/routing/probability_apriori.go +++ b/routing/probability_apriori.go @@ -7,8 +7,8 @@ import ( "time" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) const ( diff --git a/routing/probability_apriori_test.go b/routing/probability_apriori_test.go index de69f9bb3b..393d6f2c2f 100644 --- a/routing/probability_apriori_test.go +++ b/routing/probability_apriori_test.go @@ -5,9 +5,9 @@ import ( "time" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) const ( diff --git a/routing/probability_bimodal.go b/routing/probability_bimodal.go index d23b966669..3838c5c343 100644 --- a/routing/probability_bimodal.go +++ b/routing/probability_bimodal.go @@ -7,8 +7,8 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/go-errors/errors" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) const ( @@ -422,7 +422,7 @@ func cannotSend(failAmount, capacity lnwire.MilliSatoshi, now, // the liquidity leaks into the channel. A very low scale assumes completely // unbalanced channels, a very high scale assumes a random distribution. More // details can be found in -// https://github.com/lightningnetwork/lnd/issues/5988#issuecomment-1131234858. +// https://github.com/voltagecloud/lnd/issues/5988#issuecomment-1131234858. func (p *BimodalEstimator) primitive(c, x float64) float64 { s := float64(p.BimodalScaleMsat) diff --git a/routing/probability_bimodal_test.go b/routing/probability_bimodal_test.go index 676fe348fc..c0f066610e 100644 --- a/routing/probability_bimodal_test.go +++ b/routing/probability_bimodal_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) const ( diff --git a/routing/probability_estimator.go b/routing/probability_estimator.go index c110b748d3..f3802d3e7f 100644 --- a/routing/probability_estimator.go +++ b/routing/probability_estimator.go @@ -4,8 +4,8 @@ import ( "time" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) // Estimator estimates the probability to reach a node. diff --git a/routing/probability_estimator_test.go b/routing/probability_estimator_test.go index 3f6fa3511d..0bbd74a816 100644 --- a/routing/probability_estimator_test.go +++ b/routing/probability_estimator_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/routing/route" ) // Create a set of test results. diff --git a/routing/result_interpretation.go b/routing/result_interpretation.go index 8c8829420e..3ded291ced 100644 --- a/routing/result_interpretation.go +++ b/routing/result_interpretation.go @@ -3,9 +3,9 @@ package routing import ( "fmt" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) // Instantiate variables to allow taking a reference from the failure reason. diff --git a/routing/result_interpretation_test.go b/routing/result_interpretation_test.go index b9fcc68d14..d222dbdd89 100644 --- a/routing/result_interpretation_test.go +++ b/routing/result_interpretation_test.go @@ -5,8 +5,8 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) var ( diff --git a/routing/route/route.go b/routing/route/route.go index cac90c097d..8ce9d497d3 100644 --- a/routing/route/route.go +++ b/routing/route/route.go @@ -11,10 +11,10 @@ import ( "strings" "github.com/btcsuite/btcd/btcec/v2" - sphinx "github.com/lightningnetwork/lightning-onion" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" - "github.com/lightningnetwork/lnd/tlv" + sphinx "github.com/voltagecloud/lightning-onion" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/record" + "github.com/voltagecloud/lnd/tlv" ) // VertexSize is the size of the array to store a vertex. diff --git a/routing/route/route_test.go b/routing/route/route_test.go index bf5f5c0f41..fba8d3fd7c 100644 --- a/routing/route/route_test.go +++ b/routing/route/route_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/record" ) var ( diff --git a/routing/router.go b/routing/router.go index 5b52cfb8f0..08ee668ec6 100644 --- a/routing/router.go +++ b/routing/router.go @@ -16,28 +16,28 @@ import ( "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" "github.com/go-errors/errors" - sphinx "github.com/lightningnetwork/lightning-onion" - "github.com/lightningnetwork/lnd/amp" - "github.com/lightningnetwork/lnd/batch" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnutils" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/btcwallet" - "github.com/lightningnetwork/lnd/lnwallet/chanvalidate" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/multimutex" - "github.com/lightningnetwork/lnd/record" - "github.com/lightningnetwork/lnd/routing/chainview" - "github.com/lightningnetwork/lnd/routing/route" - "github.com/lightningnetwork/lnd/routing/shards" - "github.com/lightningnetwork/lnd/ticker" - "github.com/lightningnetwork/lnd/zpay32" + sphinx "github.com/voltagecloud/lightning-onion" + "github.com/voltagecloud/lnd/amp" + "github.com/voltagecloud/lnd/batch" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/clock" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnutils" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/btcwallet" + "github.com/voltagecloud/lnd/lnwallet/chanvalidate" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/multimutex" + "github.com/voltagecloud/lnd/record" + "github.com/voltagecloud/lnd/routing/chainview" + "github.com/voltagecloud/lnd/routing/route" + "github.com/voltagecloud/lnd/routing/shards" + "github.com/voltagecloud/lnd/ticker" + "github.com/voltagecloud/lnd/zpay32" ) const ( @@ -1098,7 +1098,7 @@ func (r *ChannelRouter) networkHandler() { // subsystems or basic rpc calls that rely on calls such as GetBestBlock // will hang due to excessive load. // - // See https://github.com/lightningnetwork/lnd/issues/4892. + // See https://github.com/voltagecloud/lnd/issues/4892. var validationBarrier *ValidationBarrier if r.cfg.AssumeChannelValid { validationBarrier = NewValidationBarrier(1000, r.quit) diff --git a/routing/router_test.go b/routing/router_test.go index 6b80929d87..2c9099063c 100644 --- a/routing/router_test.go +++ b/routing/router_test.go @@ -16,19 +16,19 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/htlcswitch" - lnmock "github.com/lightningnetwork/lnd/lntest/mock" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/record" - "github.com/lightningnetwork/lnd/routing/route" - "github.com/lightningnetwork/lnd/zpay32" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/clock" + "github.com/voltagecloud/lnd/htlcswitch" + lnmock "github.com/voltagecloud/lnd/lntest/mock" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/record" + "github.com/voltagecloud/lnd/routing/route" + "github.com/voltagecloud/lnd/zpay32" ) var uniquePaymentID uint64 = 1 // to be used atomically diff --git a/routing/setup_test.go b/routing/setup_test.go index 544fc3885a..bc598d7f4f 100644 --- a/routing/setup_test.go +++ b/routing/setup_test.go @@ -3,7 +3,7 @@ package routing import ( "testing" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) func TestMain(m *testing.M) { diff --git a/routing/shards/shard_tracker.go b/routing/shards/shard_tracker.go index a7c0e9ea27..5bbb6c6b9b 100644 --- a/routing/shards/shard_tracker.go +++ b/routing/shards/shard_tracker.go @@ -4,8 +4,8 @@ import ( "fmt" "sync" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/record" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/record" ) // PaymentShard is an interface representing a shard tracked by the diff --git a/routing/shards/shard_tracker_test.go b/routing/shards/shard_tracker_test.go index 5515750dc5..9f38a54f95 100644 --- a/routing/shards/shard_tracker_test.go +++ b/routing/shards/shard_tracker_test.go @@ -4,9 +4,9 @@ import ( "crypto/rand" "testing" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/routing/shards" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/routing/shards" ) // TestSimpleShardTracker tests that the simple tracker that keeps a map from diff --git a/routing/unified_edges.go b/routing/unified_edges.go index e8c2a9270c..1a785e44d5 100644 --- a/routing/unified_edges.go +++ b/routing/unified_edges.go @@ -2,10 +2,10 @@ package routing import ( "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) // nodeEdgeUnifier holds all edge unifiers for connections towards a node. diff --git a/routing/unified_edges_test.go b/routing/unified_edges_test.go index 752a797187..6cac9d56c9 100644 --- a/routing/unified_edges_test.go +++ b/routing/unified_edges_test.go @@ -4,10 +4,10 @@ import ( "testing" "github.com/btcsuite/btcd/btcutil" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) // TestNodeEdgeUnifier tests the composition of unified edges for nodes that diff --git a/routing/validation_barrier.go b/routing/validation_barrier.go index a7c6561acd..0957fb9d16 100644 --- a/routing/validation_barrier.go +++ b/routing/validation_barrier.go @@ -4,9 +4,9 @@ import ( "fmt" "sync" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing/route" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing/route" ) // validationSignals contains two signals which allows the ValidationBarrier to diff --git a/routing/validation_barrier_test.go b/routing/validation_barrier_test.go index 2eda0120fc..7db89ee839 100644 --- a/routing/validation_barrier_test.go +++ b/routing/validation_barrier_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/routing" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/routing" ) // TestValidationBarrierSemaphore checks basic properties of the validation diff --git a/rpcperms/interceptor.go b/rpcperms/interceptor.go index cea9670c48..e001eb5404 100644 --- a/rpcperms/interceptor.go +++ b/rpcperms/interceptor.go @@ -9,10 +9,10 @@ import ( "github.com/btcsuite/btclog" grpc_middleware "github.com/grpc-ecosystem/go-grpc-middleware" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/macaroons" - "github.com/lightningnetwork/lnd/monitoring" - "github.com/lightningnetwork/lnd/subscribe" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/macaroons" + "github.com/voltagecloud/monitoring" + "github.com/voltagecloud/subscribe" "google.golang.org/grpc" "gopkg.in/macaroon-bakery.v2/bakery" ) diff --git a/rpcperms/log.go b/rpcperms/log.go index 209aacce58..0ba6b797a4 100644 --- a/rpcperms/log.go +++ b/rpcperms/log.go @@ -2,7 +2,7 @@ package rpcperms import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // Subsystem defines the logging code for this subsystem. diff --git a/rpcperms/middleware_handler.go b/rpcperms/middleware_handler.go index b18fc0d16c..a090f060ee 100644 --- a/rpcperms/middleware_handler.go +++ b/rpcperms/middleware_handler.go @@ -10,8 +10,8 @@ import ( "time" "github.com/btcsuite/btcd/chaincfg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/macaroons" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/macaroons" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" "google.golang.org/protobuf/reflect/protoregistry" diff --git a/rpcperms/middleware_handler_test.go b/rpcperms/middleware_handler_test.go index aa8715bf05..6127dc5f7f 100644 --- a/rpcperms/middleware_handler_test.go +++ b/rpcperms/middleware_handler_test.go @@ -4,8 +4,8 @@ import ( "encoding/json" "testing" - "github.com/lightningnetwork/lnd/lnrpc" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnrpc" ) // TestReplaceProtoMsg makes sure the proto message replacement works as diff --git a/rpcserver.go b/rpcserver.go index 42eb09d22a..2608f1d4af 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -31,50 +31,50 @@ import ( "github.com/btcsuite/btcwallet/wallet/txauthor" "github.com/davecgh/go-spew/spew" proxy "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/lightningnetwork/lnd/autopilot" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/chanacceptor" - "github.com/lightningnetwork/lnd/chanbackup" - "github.com/lightningnetwork/lnd/chanfitness" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channelnotifier" - "github.com/lightningnetwork/lnd/contractcourt" - "github.com/lightningnetwork/lnd/discovery" - "github.com/lightningnetwork/lnd/feature" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/labels" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/invoicesrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/btcwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwallet/chancloser" - "github.com/lightningnetwork/lnd/lnwallet/chanfunding" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/macaroons" - "github.com/lightningnetwork/lnd/peer" - "github.com/lightningnetwork/lnd/peernotifier" - "github.com/lightningnetwork/lnd/record" - "github.com/lightningnetwork/lnd/routing" - "github.com/lightningnetwork/lnd/routing/route" - "github.com/lightningnetwork/lnd/rpcperms" - "github.com/lightningnetwork/lnd/signal" - "github.com/lightningnetwork/lnd/sweep" - "github.com/lightningnetwork/lnd/tlv" - "github.com/lightningnetwork/lnd/watchtower" - "github.com/lightningnetwork/lnd/zpay32" "github.com/tv42/zbase32" + "github.com/voltagecloud/lnd/autopilot" + "github.com/voltagecloud/lnd/build" + "github.com/voltagecloud/lnd/chainreg" + "github.com/voltagecloud/lnd/chanacceptor" + "github.com/voltagecloud/lnd/chanbackup" + "github.com/voltagecloud/lnd/chanfitness" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channelnotifier" + "github.com/voltagecloud/lnd/contractcourt" + "github.com/voltagecloud/lnd/discovery" + "github.com/voltagecloud/lnd/feature" + "github.com/voltagecloud/lnd/funding" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/invoices" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/labels" + "github.com/voltagecloud/lnd/lncfg" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/invoicesrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lnrpc/walletrpc" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/btcwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwallet/chancloser" + "github.com/voltagecloud/lnd/lnwallet/chanfunding" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/macaroons" + "github.com/voltagecloud/lnd/peer" + "github.com/voltagecloud/lnd/peernotifier" + "github.com/voltagecloud/lnd/record" + "github.com/voltagecloud/lnd/routing" + "github.com/voltagecloud/lnd/routing/route" + "github.com/voltagecloud/lnd/rpcperms" + "github.com/voltagecloud/lnd/signal" + "github.com/voltagecloud/lnd/sweep" + "github.com/voltagecloud/lnd/tlv" + "github.com/voltagecloud/lnd/watchtower" + "github.com/voltagecloud/lnd/zpay32" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/scripts/check-sample-lnd-conf.sh b/scripts/check-sample-lnd-conf.sh index 311a0aa944..0b08c33093 100755 --- a/scripts/check-sample-lnd-conf.sh +++ b/scripts/check-sample-lnd-conf.sh @@ -18,13 +18,13 @@ FILE_TMP=$(mktemp) if [ -t 0 ]; then size=($(stty size)) stty cols 240 - go run -tags="$TAGS" github.com/lightningnetwork/lnd/cmd/lnd --help > \ + go run -tags="$TAGS" github.com/voltagecloud/lnd/cmd/lnd --help > \ $FILE_TMP stty cols ${size[1]} else tmux new-session -d -s simulated-terminal -x 240 -y 9999 tmux send-keys -t simulated-terminal.0 "go run -tags=\"$TAGS\" \ - github.com/lightningnetwork/lnd/cmd/lnd --help >"$FILE_TMP"; \ + github.com/voltagecloud/lnd/cmd/lnd --help >"$FILE_TMP"; \ tmux wait -S run" ENTER tmux wait-for run tmux kill-session -t simulated-terminal diff --git a/scripts/release.sh b/scripts/release.sh index 930d680e38..ac3dcacbc7 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -10,7 +10,7 @@ set -e LND_VERSION_REGEX="lnd version (.+) commit" -PKG="github.com/lightningnetwork/lnd" +PKG="github.com/voltagecloud/lnd" PACKAGE=lnd # Needed for setting file timestamps to get reproducible archives. diff --git a/server.go b/server.go index b59f873cf1..29f9e07f5d 100644 --- a/server.go +++ b/server.go @@ -23,55 +23,55 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/go-errors/errors" - sphinx "github.com/lightningnetwork/lightning-onion" - "github.com/lightningnetwork/lnd/aliasmgr" - "github.com/lightningnetwork/lnd/autopilot" - "github.com/lightningnetwork/lnd/brontide" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/chanacceptor" - "github.com/lightningnetwork/lnd/chanbackup" - "github.com/lightningnetwork/lnd/chanfitness" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channelnotifier" - "github.com/lightningnetwork/lnd/clock" - "github.com/lightningnetwork/lnd/contractcourt" - "github.com/lightningnetwork/lnd/discovery" - "github.com/lightningnetwork/lnd/feature" - "github.com/lightningnetwork/lnd/funding" - "github.com/lightningnetwork/lnd/healthcheck" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnencrypt" - "github.com/lightningnetwork/lnd/lnpeer" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwallet/rpcwallet" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/nat" - "github.com/lightningnetwork/lnd/netann" - "github.com/lightningnetwork/lnd/peer" - "github.com/lightningnetwork/lnd/peernotifier" - "github.com/lightningnetwork/lnd/pool" - "github.com/lightningnetwork/lnd/queue" - "github.com/lightningnetwork/lnd/routing" - "github.com/lightningnetwork/lnd/routing/localchans" - "github.com/lightningnetwork/lnd/routing/route" - "github.com/lightningnetwork/lnd/subscribe" - "github.com/lightningnetwork/lnd/sweep" - "github.com/lightningnetwork/lnd/ticker" - "github.com/lightningnetwork/lnd/tor" - "github.com/lightningnetwork/lnd/walletunlocker" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/wtclient" - "github.com/lightningnetwork/lnd/watchtower/wtpolicy" - "github.com/lightningnetwork/lnd/watchtower/wtserver" + sphinx "github.com/voltagecloud/lightning-onion" + "github.com/voltagecloud/lnd/aliasmgr" + "github.com/voltagecloud/lnd/autopilot" + "github.com/voltagecloud/lnd/brontide" + "github.com/voltagecloud/lnd/chainreg" + "github.com/voltagecloud/lnd/chanacceptor" + "github.com/voltagecloud/lnd/chanbackup" + "github.com/voltagecloud/lnd/chanfitness" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channelnotifier" + "github.com/voltagecloud/lnd/clock" + "github.com/voltagecloud/lnd/contractcourt" + "github.com/voltagecloud/lnd/discovery" + "github.com/voltagecloud/lnd/feature" + "github.com/voltagecloud/lnd/funding" + "github.com/voltagecloud/lnd/healthcheck" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/invoices" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lncfg" + "github.com/voltagecloud/lnd/lnencrypt" + "github.com/voltagecloud/lnd/lnpeer" + "github.com/voltagecloud/lnd/lnrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwallet/rpcwallet" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/nat" + "github.com/voltagecloud/lnd/netann" + "github.com/voltagecloud/lnd/peer" + "github.com/voltagecloud/lnd/peernotifier" + "github.com/voltagecloud/lnd/pool" + "github.com/voltagecloud/lnd/queue" + "github.com/voltagecloud/lnd/routing" + "github.com/voltagecloud/lnd/routing/localchans" + "github.com/voltagecloud/lnd/routing/route" + "github.com/voltagecloud/lnd/subscribe" + "github.com/voltagecloud/lnd/sweep" + "github.com/voltagecloud/lnd/ticker" + "github.com/voltagecloud/lnd/tor" + "github.com/voltagecloud/lnd/walletunlocker" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/wtclient" + "github.com/voltagecloud/lnd/watchtower/wtpolicy" + "github.com/voltagecloud/lnd/watchtower/wtserver" ) const ( diff --git a/server_test.go b/server_test.go index 5c4bebca45..fb944c62e8 100644 --- a/server_test.go +++ b/server_test.go @@ -3,7 +3,7 @@ package lnd import ( "testing" - "github.com/lightningnetwork/lnd/lncfg" + "github.com/voltagecloud/lnd/lncfg" ) // TestShouldPeerBootstrap tests that we properly skip network bootstrap for diff --git a/shachain/producer.go b/shachain/producer.go index c633d8994a..bd27b5542b 100644 --- a/shachain/producer.go +++ b/shachain/producer.go @@ -28,7 +28,7 @@ type Producer interface { // original description of shachain can be found here: // https://github.com/rustyrussell/ccan/blob/master/ccan/crypto/shachain/design.txt // with supplementary material here: -// https://github.com/lightningnetwork/lightning-rfc/blob/master/03-transactions.md#per-commitment-secret-requirements +// https://github.com/voltagecloud/lightning-rfc/blob/master/03-transactions.md#per-commitment-secret-requirements type RevocationProducer struct { // root is the element from which we may generate all hashes which // corresponds to the index domain [281474976710655,0]. diff --git a/shachain/store.go b/shachain/store.go index 252abdfeb3..2d36dbc613 100644 --- a/shachain/store.go +++ b/shachain/store.go @@ -38,7 +38,7 @@ type Store interface { // revocation store is able to efficiently store N derived shachain elements in // a space efficient manner with a space complexity of O(log N). The original // description of the storage methodology can be found here: -// https://github.com/lightningnetwork/lightning-rfc/blob/master/03-transactions.md#efficient-per-commitment-secret-storage +// https://github.com/voltagecloud/lightning-rfc/blob/master/03-transactions.md#efficient-per-commitment-secret-storage type RevocationStore struct { // lenBuckets stores the number of currently active buckets. lenBuckets uint8 diff --git a/sqldb/interfaces.go b/sqldb/interfaces.go index 6a7bcb193b..b42fcbfbe3 100644 --- a/sqldb/interfaces.go +++ b/sqldb/interfaces.go @@ -6,7 +6,7 @@ import ( prand "math/rand" "time" - "github.com/lightningnetwork/lnd/sqldb/sqlc" + "github.com/voltagecloud/lnd/sqldb/sqlc" ) var ( diff --git a/sqldb/postgres.go b/sqldb/postgres.go index 3cfa59efc8..f79b8c0204 100644 --- a/sqldb/postgres.go +++ b/sqldb/postgres.go @@ -8,8 +8,8 @@ import ( postgres_migrate "github.com/golang-migrate/migrate/v4/database/postgres" _ "github.com/golang-migrate/migrate/v4/source/file" // Read migrations from files. // nolint:lll - "github.com/lightningnetwork/lnd/sqldb/sqlc" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/sqldb/sqlc" ) const ( diff --git a/sqldb/sqlite.go b/sqldb/sqlite.go index 8ecadd68d8..0f4cdcb935 100644 --- a/sqldb/sqlite.go +++ b/sqldb/sqlite.go @@ -9,8 +9,8 @@ import ( "time" sqlite_migrate "github.com/golang-migrate/migrate/v4/database/sqlite" - "github.com/lightningnetwork/lnd/sqldb/sqlc" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/sqldb/sqlc" _ "modernc.org/sqlite" // Register relevant drivers. ) diff --git a/subrpcserver_config.go b/subrpcserver_config.go index 3e7e77bd96..6c334b017e 100644 --- a/subrpcserver_config.go +++ b/subrpcserver_config.go @@ -7,30 +7,30 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/autopilot" - "github.com/lightningnetwork/lnd/chainreg" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/invoices" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnrpc/autopilotrpc" - "github.com/lightningnetwork/lnd/lnrpc/chainrpc" - "github.com/lightningnetwork/lnd/lnrpc/devrpc" - "github.com/lightningnetwork/lnd/lnrpc/invoicesrpc" - "github.com/lightningnetwork/lnd/lnrpc/neutrinorpc" - "github.com/lightningnetwork/lnd/lnrpc/peersrpc" - "github.com/lightningnetwork/lnd/lnrpc/routerrpc" - "github.com/lightningnetwork/lnd/lnrpc/signrpc" - "github.com/lightningnetwork/lnd/lnrpc/walletrpc" - "github.com/lightningnetwork/lnd/lnrpc/watchtowerrpc" - "github.com/lightningnetwork/lnd/lnrpc/wtclientrpc" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/macaroons" - "github.com/lightningnetwork/lnd/netann" - "github.com/lightningnetwork/lnd/routing" - "github.com/lightningnetwork/lnd/sweep" - "github.com/lightningnetwork/lnd/watchtower" - "github.com/lightningnetwork/lnd/watchtower/wtclient" + "github.com/voltagecloud/lnd/autopilot" + "github.com/voltagecloud/lnd/chainreg" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/invoices" + "github.com/voltagecloud/lnd/lncfg" + "github.com/voltagecloud/lnd/lnrpc/autopilotrpc" + "github.com/voltagecloud/lnd/lnrpc/chainrpc" + "github.com/voltagecloud/lnd/lnrpc/devrpc" + "github.com/voltagecloud/lnd/lnrpc/invoicesrpc" + "github.com/voltagecloud/lnd/lnrpc/neutrinorpc" + "github.com/voltagecloud/lnd/lnrpc/peersrpc" + "github.com/voltagecloud/lnd/lnrpc/routerrpc" + "github.com/voltagecloud/lnd/lnrpc/signrpc" + "github.com/voltagecloud/lnd/lnrpc/walletrpc" + "github.com/voltagecloud/lnd/lnrpc/watchtowerrpc" + "github.com/voltagecloud/lnd/lnrpc/wtclientrpc" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/macaroons" + "github.com/voltagecloud/lnd/netann" + "github.com/voltagecloud/lnd/routing" + "github.com/voltagecloud/lnd/sweep" + "github.com/voltagecloud/lnd/watchtower" + "github.com/voltagecloud/lnd/watchtower/wtclient" ) // subRPCServerConfigs is special sub-config in the main configuration that diff --git a/subscribe/subscribe.go b/subscribe/subscribe.go index f95283ccc7..f45825b20d 100644 --- a/subscribe/subscribe.go +++ b/subscribe/subscribe.go @@ -5,7 +5,7 @@ import ( "sync" "sync/atomic" - "github.com/lightningnetwork/lnd/queue" + "github.com/voltagecloud/lnd/queue" ) // ErrServerShuttingDown is an error returned in case the server is in the diff --git a/subscribe/subscribe_test.go b/subscribe/subscribe_test.go index db42142c89..747a1d8738 100644 --- a/subscribe/subscribe_test.go +++ b/subscribe/subscribe_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/subscribe" + "github.com/voltagecloud/lnd/subscribe" ) // TestSubscribe tests that the subscription clients receive the updates sent diff --git a/sweep/backend_mock_test.go b/sweep/backend_mock_test.go index 9fd79fa035..1921f90945 100644 --- a/sweep/backend_mock_test.go +++ b/sweep/backend_mock_test.go @@ -7,7 +7,7 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet" ) // mockBackend simulates a chain backend for realistic behaviour in unit tests diff --git a/sweep/fee_estimator_mock_test.go b/sweep/fee_estimator_mock_test.go index 4ca89f0c5b..73297c3c7f 100644 --- a/sweep/fee_estimator_mock_test.go +++ b/sweep/fee_estimator_mock_test.go @@ -3,7 +3,7 @@ package sweep import ( "sync" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) // mockFeeEstimator implements a mock fee estimator. It closely resembles diff --git a/sweep/interface.go b/sweep/interface.go index a9de8bc570..a3f0babac9 100644 --- a/sweep/interface.go +++ b/sweep/interface.go @@ -3,7 +3,7 @@ package sweep import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet" ) // Wallet contains all wallet related functionality required by sweeper. diff --git a/sweep/log.go b/sweep/log.go index 9bf48116dc..2722e79cb5 100644 --- a/sweep/log.go +++ b/sweep/log.go @@ -2,7 +2,7 @@ package sweep import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This means the diff --git a/sweep/setup_test.go b/sweep/setup_test.go index e2d22ce3b9..8282a5e68a 100644 --- a/sweep/setup_test.go +++ b/sweep/setup_test.go @@ -3,7 +3,7 @@ package sweep import ( "testing" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) func TestMain(m *testing.M) { diff --git a/sweep/store.go b/sweep/store.go index 916d2fa54f..9c9497738b 100644 --- a/sweep/store.go +++ b/sweep/store.go @@ -7,7 +7,7 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/sweep/store_test.go b/sweep/store_test.go index 60e66b4b04..bf148d27f9 100644 --- a/sweep/store_test.go +++ b/sweep/store_test.go @@ -5,8 +5,8 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" ) // TestStore asserts that the store persists the presented data to disk and is diff --git a/sweep/sweeper.go b/sweep/sweeper.go index 586b901d96..5789a190a0 100644 --- a/sweep/sweeper.go +++ b/sweep/sweeper.go @@ -13,11 +13,11 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/labels" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/labels" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) const ( diff --git a/sweep/sweeper_test.go b/sweep/sweeper_test.go index 13f891857f..706ae202d6 100644 --- a/sweep/sweeper_test.go +++ b/sweep/sweeper_test.go @@ -14,13 +14,13 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lntest/mock" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/build" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lntest/mock" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) var ( diff --git a/sweep/test_utils.go b/sweep/test_utils.go index 86dfd6d2b8..ad49bb6c6f 100644 --- a/sweep/test_utils.go +++ b/sweep/test_utils.go @@ -8,7 +8,7 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" + "github.com/voltagecloud/lnd/chainntnfs" ) var ( diff --git a/sweep/tx_input_set.go b/sweep/tx_input_set.go index bcaa421132..45f9899d71 100644 --- a/sweep/tx_input_set.go +++ b/sweep/tx_input_set.go @@ -8,9 +8,9 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) // addConstraints defines the constraints to apply when adding an input. diff --git a/sweep/tx_input_set_test.go b/sweep/tx_input_set_test.go index c280f9f6a6..e46dd5159b 100644 --- a/sweep/tx_input_set_test.go +++ b/sweep/tx_input_set_test.go @@ -5,9 +5,9 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwallet" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwallet" ) // TestTxInputSet tests adding various sized inputs to the set. diff --git a/sweep/txgenerator.go b/sweep/txgenerator.go index 1881488843..f3ab17bd31 100644 --- a/sweep/txgenerator.go +++ b/sweep/txgenerator.go @@ -10,9 +10,9 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) var ( diff --git a/sweep/txgenerator_test.go b/sweep/txgenerator_test.go index cb575e5a64..578652c3c4 100644 --- a/sweep/txgenerator_test.go +++ b/sweep/txgenerator_test.go @@ -5,8 +5,8 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/input" ) var ( diff --git a/sweep/walletsweep.go b/sweep/walletsweep.go index f806d32764..f17be7c406 100644 --- a/sweep/walletsweep.go +++ b/sweep/walletsweep.go @@ -7,9 +7,9 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) const ( diff --git a/sweep/walletsweep_test.go b/sweep/walletsweep_test.go index f2196fc899..45c0fe7f12 100644 --- a/sweep/walletsweep_test.go +++ b/sweep/walletsweep_test.go @@ -9,10 +9,10 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lntest/mock" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lntest/mock" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) // TestDetermineFeePerKw tests that given a fee preference, the diff --git a/sweep/weight_estimator.go b/sweep/weight_estimator.go index c09adabdc8..f5a1b130c4 100644 --- a/sweep/weight_estimator.go +++ b/sweep/weight_estimator.go @@ -4,8 +4,8 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) // weightEstimator wraps a standard weight estimator instance and adds to that diff --git a/sweep/weight_estimator_test.go b/sweep/weight_estimator_test.go index 1952f531e8..55e05494fb 100644 --- a/sweep/weight_estimator_test.go +++ b/sweep/weight_estimator_test.go @@ -7,9 +7,9 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwallet/chainfee" ) // TestWeightEstimator tests weight estimation for inputs with and without diff --git a/sweeper_wallet.go b/sweeper_wallet.go index 7d429c1352..6fb6736565 100644 --- a/sweeper_wallet.go +++ b/sweeper_wallet.go @@ -2,7 +2,7 @@ package lnd import ( "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet" ) // sweeperWallet is a wrapper around the LightningWallet that implements the diff --git a/ticker/go.mod b/ticker/go.mod index 3017b21397..6b81b27341 100644 --- a/ticker/go.mod +++ b/ticker/go.mod @@ -1,3 +1,3 @@ -module github.com/lightningnetwork/lnd/ticker +module github.com/voltagecloud/lnd/ticker go 1.19 diff --git a/ticker/ticker_test.go b/ticker/ticker_test.go index 81da3d7a2e..bed86a8306 100644 --- a/ticker/ticker_test.go +++ b/ticker/ticker_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/lightningnetwork/lnd/ticker" + "github.com/voltagecloud/lnd/ticker" ) const interval = 50 * time.Millisecond diff --git a/tls_manager.go b/tls_manager.go index ffec7aa6a5..7e75b9ed7f 100644 --- a/tls_manager.go +++ b/tls_manager.go @@ -13,11 +13,11 @@ import ( "os" "time" - "github.com/lightningnetwork/lnd/cert" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lncfg" - "github.com/lightningnetwork/lnd/lnencrypt" - "github.com/lightningnetwork/lnd/lnrpc" + "github.com/voltagecloud/lnd/cert" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lncfg" + "github.com/voltagecloud/lnd/lnencrypt" + "github.com/voltagecloud/lnd/lnrpc" "golang.org/x/crypto/acme/autocert" "google.golang.org/grpc" "google.golang.org/grpc/credentials" diff --git a/tls_manager_test.go b/tls_manager_test.go index 9358349715..a5a719cbef 100644 --- a/tls_manager_test.go +++ b/tls_manager_test.go @@ -16,11 +16,11 @@ import ( "time" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/cert" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnencrypt" - "github.com/lightningnetwork/lnd/lntest/channels" - "github.com/lightningnetwork/lnd/lntest/mock" + "github.com/voltagecloud/lnd/cert" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnencrypt" + "github.com/voltagecloud/lnd/lntest/channels" + "github.com/voltagecloud/lnd/lntest/mock" "github.com/stretchr/testify/require" ) diff --git a/tlv/go.mod b/tlv/go.mod index 341a042d10..fd1eaa46e1 100644 --- a/tlv/go.mod +++ b/tlv/go.mod @@ -1,4 +1,4 @@ -module github.com/lightningnetwork/lnd/tlv +module github.com/voltagecloud/lnd/tlv require ( github.com/btcsuite/btcd v0.23.3 diff --git a/tlv/primitive_test.go b/tlv/primitive_test.go index 7034d4258b..681b325273 100644 --- a/tlv/primitive_test.go +++ b/tlv/primitive_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) var testPK, _ = btcec.ParsePubKey([]byte{0x02, diff --git a/tlv/stream_test.go b/tlv/stream_test.go index 0a74bbf60b..bd79ce00d3 100644 --- a/tlv/stream_test.go +++ b/tlv/stream_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/lightningnetwork/lnd/tlv" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/tlv" ) type parsedTypeTest struct { diff --git a/tlv/tlv_test.go b/tlv/tlv_test.go index 35e23cab72..d5c1394c4f 100644 --- a/tlv/tlv_test.go +++ b/tlv/tlv_test.go @@ -8,7 +8,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2" secp "github.com/decred/dcrd/dcrec/secp256k1/v4" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) type nodeAmts struct { diff --git a/tlv/truncated_test.go b/tlv/truncated_test.go index f530d0b66d..ab0c2c474d 100644 --- a/tlv/truncated_test.go +++ b/tlv/truncated_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) var tuint16Tests = []struct { diff --git a/tlv/varint_test.go b/tlv/varint_test.go index 30a2f8519e..1ba6d8f97b 100644 --- a/tlv/varint_test.go +++ b/tlv/varint_test.go @@ -6,7 +6,7 @@ import ( "math" "testing" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/tlv" ) type varIntTest struct { diff --git a/tools/go.mod b/tools/go.mod index 247f5ca122..375ea261b1 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,4 +1,4 @@ -module github.com/lightningnetwork/lnd/tools +module github.com/voltagecloud/lnd/tools go 1.19 diff --git a/tor/README.md b/tor/README.md index f23ccf6089..506f416567 100644 --- a/tor/README.md +++ b/tor/README.md @@ -17,5 +17,5 @@ onion services, asynchronous messages, etc. ## Installation and Updating ```shell -$ go get -u github.com/lightningnetwork/lnd/tor +$ go get -u github.com/voltagecloud/lnd/tor ``` diff --git a/tor/go.mod b/tor/go.mod index 3eb946e3b1..45a506e487 100644 --- a/tor/go.mod +++ b/tor/go.mod @@ -1,4 +1,4 @@ -module github.com/lightningnetwork/lnd/tor +module github.com/voltagecloud/lnd/tor require ( github.com/btcsuite/btcd v0.23.3 diff --git a/walletunlocker/service.go b/walletunlocker/service.go index d896c2d88a..1c539f16b6 100644 --- a/walletunlocker/service.go +++ b/walletunlocker/service.go @@ -12,14 +12,14 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcwallet/waddrmgr" "github.com/btcsuite/btcwallet/wallet" - "github.com/lightningnetwork/lnd/aezeed" - "github.com/lightningnetwork/lnd/chanbackup" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/btcwallet" - "github.com/lightningnetwork/lnd/macaroons" + "github.com/voltagecloud/chanbackup" + "github.com/voltagecloud/keychain" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/lnd/aezeed" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwallet/btcwallet" + "github.com/voltagecloud/macaroons" ) var ( diff --git a/walletunlocker/service_test.go b/walletunlocker/service_test.go index 13ddb61e5e..59bafc235b 100644 --- a/walletunlocker/service_test.go +++ b/walletunlocker/service_test.go @@ -13,15 +13,15 @@ import ( "github.com/btcsuite/btcwallet/snacl" "github.com/btcsuite/btcwallet/waddrmgr" "github.com/btcsuite/btcwallet/wallet" - "github.com/lightningnetwork/lnd/aezeed" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnrpc" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/btcwallet" - "github.com/lightningnetwork/lnd/macaroons" - "github.com/lightningnetwork/lnd/walletunlocker" "github.com/stretchr/testify/require" + "github.com/voltagecloud/aezeed" + "github.com/voltagecloud/keychain" + "github.com/voltagecloud/kvdb" + "github.com/voltagecloud/lnd/walletunlocker" + "github.com/voltagecloud/lnrpc" + "github.com/voltagecloud/lnwallet" + "github.com/voltagecloud/lnwallet/btcwallet" + "github.com/voltagecloud/macaroons" ) var ( diff --git a/watchtower/blob/justice_kit.go b/watchtower/blob/justice_kit.go index 7b39eeb408..19ee51bc5c 100644 --- a/watchtower/blob/justice_kit.go +++ b/watchtower/blob/justice_kit.go @@ -10,8 +10,8 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/txscript" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwire" "golang.org/x/crypto/chacha20poly1305" ) diff --git a/watchtower/blob/justice_kit_test.go b/watchtower/blob/justice_kit_test.go index 7db8d9a363..9967bd78a6 100644 --- a/watchtower/blob/justice_kit_test.go +++ b/watchtower/blob/justice_kit_test.go @@ -11,10 +11,10 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/ecdsa" "github.com/btcsuite/btcd/txscript" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/watchtower/blob" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/watchtower/blob" ) func makePubKey(i uint64) blob.PubKey { diff --git a/watchtower/blob/type_test.go b/watchtower/blob/type_test.go index 026263df30..e93a862bfc 100644 --- a/watchtower/blob/type_test.go +++ b/watchtower/blob/type_test.go @@ -3,7 +3,7 @@ package blob_test import ( "testing" - "github.com/lightningnetwork/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/blob" ) var unknownFlag = blob.Flag(16) diff --git a/watchtower/config.go b/watchtower/config.go index f79de9cacb..eeb069bdd7 100644 --- a/watchtower/config.go +++ b/watchtower/config.go @@ -8,9 +8,9 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/tor" - "github.com/lightningnetwork/lnd/watchtower/lookout" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/tor" + "github.com/voltagecloud/lnd/watchtower/lookout" ) const ( diff --git a/watchtower/interface.go b/watchtower/interface.go index cc7c08b4e4..434a6055ee 100644 --- a/watchtower/interface.go +++ b/watchtower/interface.go @@ -3,8 +3,8 @@ package watchtower import ( "net" - "github.com/lightningnetwork/lnd/watchtower/lookout" - "github.com/lightningnetwork/lnd/watchtower/wtserver" + "github.com/voltagecloud/lnd/watchtower/lookout" + "github.com/voltagecloud/lnd/watchtower/wtserver" ) // DB abstracts the persistent functionality required to run the watchtower diff --git a/watchtower/log.go b/watchtower/log.go index 8e9062d958..0bbbe6689a 100644 --- a/watchtower/log.go +++ b/watchtower/log.go @@ -2,11 +2,11 @@ package watchtower import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/watchtower/lookout" - "github.com/lightningnetwork/lnd/watchtower/wtclient" - "github.com/lightningnetwork/lnd/watchtower/wtdb" - "github.com/lightningnetwork/lnd/watchtower/wtserver" + "github.com/voltagecloud/lnd/build" + "github.com/voltagecloud/lnd/watchtower/lookout" + "github.com/voltagecloud/lnd/watchtower/wtclient" + "github.com/voltagecloud/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtserver" ) // log is a logger that is initialized with no output filters. This diff --git a/watchtower/lookout/interface.go b/watchtower/lookout/interface.go index a84f22b035..31a5702f80 100644 --- a/watchtower/lookout/interface.go +++ b/watchtower/lookout/interface.go @@ -3,9 +3,9 @@ package lookout import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/wtdb" ) // Service abstracts the lookout functionality, supporting the ability to start diff --git a/watchtower/lookout/justice_descriptor.go b/watchtower/lookout/justice_descriptor.go index a474d5ccb8..9ebe175783 100644 --- a/watchtower/lookout/justice_descriptor.go +++ b/watchtower/lookout/justice_descriptor.go @@ -11,9 +11,9 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/wtdb" ) var ( diff --git a/watchtower/lookout/justice_descriptor_test.go b/watchtower/lookout/justice_descriptor_test.go index c37ed26930..3fb7bb541f 100644 --- a/watchtower/lookout/justice_descriptor_test.go +++ b/watchtower/lookout/justice_descriptor_test.go @@ -10,15 +10,15 @@ import ( "github.com/btcsuite/btcd/btcutil/txsort" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/lookout" - "github.com/lightningnetwork/lnd/watchtower/wtdb" - "github.com/lightningnetwork/lnd/watchtower/wtmock" - "github.com/lightningnetwork/lnd/watchtower/wtpolicy" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/lookout" + "github.com/voltagecloud/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtmock" + "github.com/voltagecloud/lnd/watchtower/wtpolicy" ) const csvDelay uint32 = 144 diff --git a/watchtower/lookout/log.go b/watchtower/lookout/log.go index b569b4ae0a..35f7e276ff 100644 --- a/watchtower/lookout/log.go +++ b/watchtower/lookout/log.go @@ -2,7 +2,7 @@ package lookout import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This diff --git a/watchtower/lookout/lookout.go b/watchtower/lookout/lookout.go index 22966ae93a..4483f277ab 100644 --- a/watchtower/lookout/lookout.go +++ b/watchtower/lookout/lookout.go @@ -5,8 +5,8 @@ import ( "sync/atomic" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/watchtower/blob" ) // Config houses the Lookout's required resources to properly fulfill it's duty, diff --git a/watchtower/lookout/lookout_test.go b/watchtower/lookout/lookout_test.go index c7305d9e08..b249239f65 100644 --- a/watchtower/lookout/lookout_test.go +++ b/watchtower/lookout/lookout_test.go @@ -9,14 +9,14 @@ import ( "time" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/lookout" - "github.com/lightningnetwork/lnd/watchtower/wtdb" - "github.com/lightningnetwork/lnd/watchtower/wtmock" - "github.com/lightningnetwork/lnd/watchtower/wtpolicy" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/lookout" + "github.com/voltagecloud/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtmock" + "github.com/voltagecloud/lnd/watchtower/wtpolicy" ) type mockPunisher struct { diff --git a/watchtower/lookout/mock.go b/watchtower/lookout/mock.go index 84c3a004ff..23de6bc62f 100644 --- a/watchtower/lookout/mock.go +++ b/watchtower/lookout/mock.go @@ -6,7 +6,7 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" + "github.com/voltagecloud/lnd/chainntnfs" ) type MockBackend struct { diff --git a/watchtower/lookout/punisher.go b/watchtower/lookout/punisher.go index 0c8f8bb89f..dd0fefee2f 100644 --- a/watchtower/lookout/punisher.go +++ b/watchtower/lookout/punisher.go @@ -2,7 +2,7 @@ package lookout import ( "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/labels" + "github.com/voltagecloud/lnd/labels" ) // PunisherConfig houses the resources required by the Punisher. diff --git a/watchtower/standalone.go b/watchtower/standalone.go index c652d9c766..b685c80b9c 100644 --- a/watchtower/standalone.go +++ b/watchtower/standalone.go @@ -5,11 +5,11 @@ import ( "sync/atomic" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/brontide" - "github.com/lightningnetwork/lnd/lnencrypt" - "github.com/lightningnetwork/lnd/tor" - "github.com/lightningnetwork/lnd/watchtower/lookout" - "github.com/lightningnetwork/lnd/watchtower/wtserver" + "github.com/voltagecloud/lnd/brontide" + "github.com/voltagecloud/lnd/lnencrypt" + "github.com/voltagecloud/lnd/tor" + "github.com/voltagecloud/lnd/watchtower/lookout" + "github.com/voltagecloud/lnd/watchtower/wtserver" ) // Standalone encapsulates the server-side functionality required by watchtower diff --git a/watchtower/tlv_bench_test.go b/watchtower/tlv_bench_test.go index 5ffabde083..7499b4fcab 100644 --- a/watchtower/tlv_bench_test.go +++ b/watchtower/tlv_bench_test.go @@ -6,11 +6,11 @@ import ( "io/ioutil" "testing" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/tlv" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/wtwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/tlv" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/wtwire" ) // CreateSessionTLV mirrors the wtwire.CreateSession message, but uses TLV for diff --git a/watchtower/wtclient/addr_iterator.go b/watchtower/wtclient/addr_iterator.go index 5ada7d5de5..3ad2514545 100644 --- a/watchtower/wtclient/addr_iterator.go +++ b/watchtower/wtclient/addr_iterator.go @@ -7,7 +7,7 @@ import ( "net" "sync" - "github.com/lightningnetwork/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtdb" ) var ( diff --git a/watchtower/wtclient/addr_iterator_test.go b/watchtower/wtclient/addr_iterator_test.go index a2e49ff903..38c259fa01 100644 --- a/watchtower/wtclient/addr_iterator_test.go +++ b/watchtower/wtclient/addr_iterator_test.go @@ -4,8 +4,8 @@ import ( "net" "testing" - "github.com/lightningnetwork/lnd/watchtower/wtdb" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/watchtower/wtdb" ) // TestAddrIterator tests the behaviour of the addressIterator. diff --git a/watchtower/wtclient/backup_task.go b/watchtower/wtclient/backup_task.go index 62cc3d367b..b4b8e28664 100644 --- a/watchtower/wtclient/backup_task.go +++ b/watchtower/wtclient/backup_task.go @@ -10,11 +10,11 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/wtdb" ) // backupTask is an internal struct for computing the justice transaction for a diff --git a/watchtower/wtclient/backup_task_internal_test.go b/watchtower/wtclient/backup_task_internal_test.go index 4639b8164b..eeb42dc45c 100644 --- a/watchtower/wtclient/backup_task_internal_test.go +++ b/watchtower/wtclient/backup_task_internal_test.go @@ -9,17 +9,17 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/wtdb" - "github.com/lightningnetwork/lnd/watchtower/wtmock" - "github.com/lightningnetwork/lnd/watchtower/wtpolicy" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtmock" + "github.com/voltagecloud/lnd/watchtower/wtpolicy" ) const csvDelay uint32 = 144 diff --git a/watchtower/wtclient/candidate_iterator.go b/watchtower/wtclient/candidate_iterator.go index 29c4719f09..0becd35bd3 100644 --- a/watchtower/wtclient/candidate_iterator.go +++ b/watchtower/wtclient/candidate_iterator.go @@ -5,7 +5,7 @@ import ( "net" "sync" - "github.com/lightningnetwork/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtdb" ) // TowerCandidateIterator provides an abstraction for iterating through possible diff --git a/watchtower/wtclient/candidate_iterator_test.go b/watchtower/wtclient/candidate_iterator_test.go index b4df80f4d0..36dd4ca251 100644 --- a/watchtower/wtclient/candidate_iterator_test.go +++ b/watchtower/wtclient/candidate_iterator_test.go @@ -8,8 +8,8 @@ import ( "time" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/watchtower/wtdb" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/watchtower/wtdb" ) func init() { diff --git a/watchtower/wtclient/client.go b/watchtower/wtclient/client.go index 412412c1e3..b83cfa21c8 100644 --- a/watchtower/wtclient/client.go +++ b/watchtower/wtclient/client.go @@ -13,20 +13,20 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channelnotifier" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/subscribe" - "github.com/lightningnetwork/lnd/tor" - "github.com/lightningnetwork/lnd/watchtower/wtdb" - "github.com/lightningnetwork/lnd/watchtower/wtpolicy" - "github.com/lightningnetwork/lnd/watchtower/wtserver" - "github.com/lightningnetwork/lnd/watchtower/wtwire" + "github.com/voltagecloud/lnd/build" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channelnotifier" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/subscribe" + "github.com/voltagecloud/lnd/tor" + "github.com/voltagecloud/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtpolicy" + "github.com/voltagecloud/lnd/watchtower/wtserver" + "github.com/voltagecloud/lnd/watchtower/wtwire" ) const ( diff --git a/watchtower/wtclient/client_test.go b/watchtower/wtclient/client_test.go index 51dd16e096..ef62578749 100644 --- a/watchtower/wtclient/client_test.go +++ b/watchtower/wtclient/client_test.go @@ -16,24 +16,24 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channelnotifier" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/subscribe" - "github.com/lightningnetwork/lnd/tor" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/wtclient" - "github.com/lightningnetwork/lnd/watchtower/wtdb" - "github.com/lightningnetwork/lnd/watchtower/wtmock" - "github.com/lightningnetwork/lnd/watchtower/wtpolicy" - "github.com/lightningnetwork/lnd/watchtower/wtserver" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channelnotifier" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/subscribe" + "github.com/voltagecloud/lnd/tor" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/wtclient" + "github.com/voltagecloud/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtmock" + "github.com/voltagecloud/lnd/watchtower/wtpolicy" + "github.com/voltagecloud/lnd/watchtower/wtserver" ) const ( diff --git a/watchtower/wtclient/interface.go b/watchtower/wtclient/interface.go index 0f7f1b5391..d4bfbbbc9a 100644 --- a/watchtower/wtclient/interface.go +++ b/watchtower/wtclient/interface.go @@ -4,12 +4,12 @@ import ( "net" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/tor" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/wtdb" - "github.com/lightningnetwork/lnd/watchtower/wtserver" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/tor" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtserver" ) // DB abstracts the required database operations required by the watchtower diff --git a/watchtower/wtclient/log.go b/watchtower/wtclient/log.go index 8d2e37dda3..8fc06d3d72 100644 --- a/watchtower/wtclient/log.go +++ b/watchtower/wtclient/log.go @@ -2,7 +2,7 @@ package wtclient import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This diff --git a/watchtower/wtclient/queue.go b/watchtower/wtclient/queue.go index 262e768d53..6d6d69a244 100644 --- a/watchtower/wtclient/queue.go +++ b/watchtower/wtclient/queue.go @@ -8,7 +8,7 @@ import ( "time" "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtdb" ) const ( diff --git a/watchtower/wtclient/queue_test.go b/watchtower/wtclient/queue_test.go index 529acb49a4..71b24f147b 100644 --- a/watchtower/wtclient/queue_test.go +++ b/watchtower/wtclient/queue_test.go @@ -6,11 +6,11 @@ import ( "time" "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lntest/wait" - "github.com/lightningnetwork/lnd/watchtower/wtdb" - "github.com/lightningnetwork/lnd/watchtower/wtmock" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lntest/wait" + "github.com/voltagecloud/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtmock" ) const ( diff --git a/watchtower/wtclient/sess_close_min_heap.go b/watchtower/wtclient/sess_close_min_heap.go index c5f58ec1af..c94bfe8f38 100644 --- a/watchtower/wtclient/sess_close_min_heap.go +++ b/watchtower/wtclient/sess_close_min_heap.go @@ -3,8 +3,8 @@ package wtclient import ( "sync" - "github.com/lightningnetwork/lnd/queue" - "github.com/lightningnetwork/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/queue" + "github.com/voltagecloud/lnd/watchtower/wtdb" ) // sessionCloseMinHeap is a thread-safe min-heap implementation that stores diff --git a/watchtower/wtclient/session_negotiator.go b/watchtower/wtclient/session_negotiator.go index d137d45e1a..f2101f3b34 100644 --- a/watchtower/wtclient/session_negotiator.go +++ b/watchtower/wtclient/session_negotiator.go @@ -8,13 +8,13 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/wtdb" - "github.com/lightningnetwork/lnd/watchtower/wtpolicy" - "github.com/lightningnetwork/lnd/watchtower/wtserver" - "github.com/lightningnetwork/lnd/watchtower/wtwire" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtpolicy" + "github.com/voltagecloud/lnd/watchtower/wtserver" + "github.com/voltagecloud/lnd/watchtower/wtwire" ) // SessionNegotiator is an interface for asynchronously requesting new sessions. diff --git a/watchtower/wtclient/session_queue.go b/watchtower/wtclient/session_queue.go index 27c36c6fe7..b489262b06 100644 --- a/watchtower/wtclient/session_queue.go +++ b/watchtower/wtclient/session_queue.go @@ -8,12 +8,12 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/watchtower/wtdb" - "github.com/lightningnetwork/lnd/watchtower/wtserver" - "github.com/lightningnetwork/lnd/watchtower/wtwire" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtserver" + "github.com/voltagecloud/lnd/watchtower/wtwire" ) // sessionQueueStatus is an enum that signals how full a particular session is. diff --git a/watchtower/wtdb/client_chan_summary.go b/watchtower/wtdb/client_chan_summary.go index d4b3c3c388..cdc63dfb78 100644 --- a/watchtower/wtdb/client_chan_summary.go +++ b/watchtower/wtdb/client_chan_summary.go @@ -3,7 +3,7 @@ package wtdb import ( "io" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) // ChannelSummaries is a map for a given channel id to it's ClientChanSummary. diff --git a/watchtower/wtdb/client_db.go b/watchtower/wtdb/client_db.go index 084f2dcfe0..e8fdce0459 100644 --- a/watchtower/wtdb/client_db.go +++ b/watchtower/wtdb/client_db.go @@ -9,10 +9,10 @@ import ( "sync" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/tlv" - "github.com/lightningnetwork/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/tlv" + "github.com/voltagecloud/lnd/watchtower/blob" ) var ( diff --git a/watchtower/wtdb/client_db_test.go b/watchtower/wtdb/client_db_test.go index 6d11a69728..871a93890f 100644 --- a/watchtower/wtdb/client_db_test.go +++ b/watchtower/wtdb/client_db_test.go @@ -8,13 +8,13 @@ import ( "testing" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/wtclient" - "github.com/lightningnetwork/lnd/watchtower/wtdb" - "github.com/lightningnetwork/lnd/watchtower/wtpolicy" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/wtclient" + "github.com/voltagecloud/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtpolicy" ) const blobType = blob.TypeAltruistCommit diff --git a/watchtower/wtdb/client_session.go b/watchtower/wtdb/client_session.go index e443310945..46f716c335 100644 --- a/watchtower/wtdb/client_session.go +++ b/watchtower/wtdb/client_session.go @@ -4,9 +4,9 @@ import ( "fmt" "io" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/wtpolicy" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/wtpolicy" ) // CSessionStatus is a bit-field representing the possible statuses of diff --git a/watchtower/wtdb/codec.go b/watchtower/wtdb/codec.go index e6b99db6d4..2459d7f2f3 100644 --- a/watchtower/wtdb/codec.go +++ b/watchtower/wtdb/codec.go @@ -3,10 +3,10 @@ package wtdb import ( "io" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/wtpolicy" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/wtpolicy" ) // UnknownElementType is an alias for channeldb.UnknownElementType. diff --git a/watchtower/wtdb/codec_test.go b/watchtower/wtdb/codec_test.go index 228d2a0ec7..fe0f774c23 100644 --- a/watchtower/wtdb/codec_test.go +++ b/watchtower/wtdb/codec_test.go @@ -11,9 +11,9 @@ import ( "testing/quick" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/tor" - "github.com/lightningnetwork/lnd/watchtower/wtdb" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/tor" + "github.com/voltagecloud/lnd/watchtower/wtdb" ) func randPubKey() (*btcec.PublicKey, error) { diff --git a/watchtower/wtdb/db_common.go b/watchtower/wtdb/db_common.go index 68df963059..af38d9da18 100644 --- a/watchtower/wtdb/db_common.go +++ b/watchtower/wtdb/db_common.go @@ -4,7 +4,7 @@ import ( "encoding/binary" "errors" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/watchtower/wtdb/log.go b/watchtower/wtdb/log.go index 639030631f..b359087018 100644 --- a/watchtower/wtdb/log.go +++ b/watchtower/wtdb/log.go @@ -2,14 +2,14 @@ package wtdb import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" - "github.com/lightningnetwork/lnd/watchtower/wtdb/migration1" - "github.com/lightningnetwork/lnd/watchtower/wtdb/migration2" - "github.com/lightningnetwork/lnd/watchtower/wtdb/migration3" - "github.com/lightningnetwork/lnd/watchtower/wtdb/migration4" - "github.com/lightningnetwork/lnd/watchtower/wtdb/migration5" - "github.com/lightningnetwork/lnd/watchtower/wtdb/migration6" - "github.com/lightningnetwork/lnd/watchtower/wtdb/migration7" + "github.com/voltagecloud/lnd/build" + "github.com/voltagecloud/lnd/watchtower/wtdb/migration1" + "github.com/voltagecloud/lnd/watchtower/wtdb/migration2" + "github.com/voltagecloud/lnd/watchtower/wtdb/migration3" + "github.com/voltagecloud/lnd/watchtower/wtdb/migration4" + "github.com/voltagecloud/lnd/watchtower/wtdb/migration5" + "github.com/voltagecloud/lnd/watchtower/wtdb/migration6" + "github.com/voltagecloud/lnd/watchtower/wtdb/migration7" ) // log is a logger that is initialized with no output filters. This diff --git a/watchtower/wtdb/migration1/client_db.go b/watchtower/wtdb/migration1/client_db.go index d09ef6ef78..42410fa018 100644 --- a/watchtower/wtdb/migration1/client_db.go +++ b/watchtower/wtdb/migration1/client_db.go @@ -5,7 +5,7 @@ import ( "errors" "fmt" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/watchtower/wtdb/migration1/client_db_test.go b/watchtower/wtdb/migration1/client_db_test.go index acae177ada..47fc4dd1d3 100644 --- a/watchtower/wtdb/migration1/client_db_test.go +++ b/watchtower/wtdb/migration1/client_db_test.go @@ -4,8 +4,8 @@ import ( "bytes" "testing" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/watchtower/wtdb/migration1/codec.go b/watchtower/wtdb/migration1/codec.go index 8c5a2299c0..cb77e6e2de 100644 --- a/watchtower/wtdb/migration1/codec.go +++ b/watchtower/wtdb/migration1/codec.go @@ -4,10 +4,10 @@ import ( "encoding/binary" "io" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/wtpolicy" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/wtpolicy" ) // SessionIDSize is 33-bytes; it is a serialized, compressed public key. diff --git a/watchtower/wtdb/migration2/client_db.go b/watchtower/wtdb/migration2/client_db.go index ead2b9ea3d..ca81d02f7b 100644 --- a/watchtower/wtdb/migration2/client_db.go +++ b/watchtower/wtdb/migration2/client_db.go @@ -3,7 +3,7 @@ package migration2 import ( "errors" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/watchtower/wtdb/migration2/client_db_test.go b/watchtower/wtdb/migration2/client_db_test.go index c1436184fc..b11fa71198 100644 --- a/watchtower/wtdb/migration2/client_db_test.go +++ b/watchtower/wtdb/migration2/client_db_test.go @@ -4,9 +4,9 @@ import ( "encoding/binary" "testing" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/watchtower/wtdb/migration3/client_db.go b/watchtower/wtdb/migration3/client_db.go index 334a89abe6..b17b2d44f5 100644 --- a/watchtower/wtdb/migration3/client_db.go +++ b/watchtower/wtdb/migration3/client_db.go @@ -5,8 +5,8 @@ import ( "encoding/binary" "errors" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/tlv" ) var ( diff --git a/watchtower/wtdb/migration3/client_db_test.go b/watchtower/wtdb/migration3/client_db_test.go index a2fc8aedfb..0a5148dd23 100644 --- a/watchtower/wtdb/migration3/client_db_test.go +++ b/watchtower/wtdb/migration3/client_db_test.go @@ -4,9 +4,9 @@ import ( "bytes" "testing" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/tlv" ) var ( diff --git a/watchtower/wtdb/migration4/client_db.go b/watchtower/wtdb/migration4/client_db.go index 9233804905..f6cc44d743 100644 --- a/watchtower/wtdb/migration4/client_db.go +++ b/watchtower/wtdb/migration4/client_db.go @@ -6,8 +6,8 @@ import ( "errors" "fmt" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/tlv" ) var ( diff --git a/watchtower/wtdb/migration4/client_db_test.go b/watchtower/wtdb/migration4/client_db_test.go index 267cfe17d7..be4e8e72d0 100644 --- a/watchtower/wtdb/migration4/client_db_test.go +++ b/watchtower/wtdb/migration4/client_db_test.go @@ -5,8 +5,8 @@ import ( "testing" "github.com/btcsuite/btcwallet/walletdb" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/watchtower/wtdb/migration5/client_db.go b/watchtower/wtdb/migration5/client_db.go index 60d6a20003..5ca6a1dd57 100644 --- a/watchtower/wtdb/migration5/client_db.go +++ b/watchtower/wtdb/migration5/client_db.go @@ -4,7 +4,7 @@ import ( "encoding/binary" "errors" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/watchtower/wtdb/migration5/client_db_test.go b/watchtower/wtdb/migration5/client_db_test.go index a0a67e5f53..53cc7e16cc 100644 --- a/watchtower/wtdb/migration5/client_db_test.go +++ b/watchtower/wtdb/migration5/client_db_test.go @@ -3,8 +3,8 @@ package migration5 import ( "testing" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/watchtower/wtdb/migration6/client_db.go b/watchtower/wtdb/migration6/client_db.go index 8d5ffbc29c..2d90df3df0 100644 --- a/watchtower/wtdb/migration6/client_db.go +++ b/watchtower/wtdb/migration6/client_db.go @@ -5,8 +5,8 @@ import ( "encoding/binary" "errors" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/tlv" ) var ( diff --git a/watchtower/wtdb/migration6/client_db_test.go b/watchtower/wtdb/migration6/client_db_test.go index c4928e2f96..d9da10a9ad 100644 --- a/watchtower/wtdb/migration6/client_db_test.go +++ b/watchtower/wtdb/migration6/client_db_test.go @@ -4,9 +4,9 @@ import ( "bytes" "testing" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/tlv" ) var ( diff --git a/watchtower/wtdb/migration7/client_db.go b/watchtower/wtdb/migration7/client_db.go index 0c3c4be400..7a8b1788be 100644 --- a/watchtower/wtdb/migration7/client_db.go +++ b/watchtower/wtdb/migration7/client_db.go @@ -6,8 +6,8 @@ import ( "errors" "fmt" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/tlv" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/tlv" ) var ( diff --git a/watchtower/wtdb/migration7/client_db_test.go b/watchtower/wtdb/migration7/client_db_test.go index 40eeec5b09..3a85e42ca6 100644 --- a/watchtower/wtdb/migration7/client_db_test.go +++ b/watchtower/wtdb/migration7/client_db_test.go @@ -3,8 +3,8 @@ package migration7 import ( "testing" - "github.com/lightningnetwork/lnd/channeldb/migtest" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/channeldb/migtest" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/watchtower/wtdb/queue.go b/watchtower/wtdb/queue.go index 372765e7cd..218741dfec 100644 --- a/watchtower/wtdb/queue.go +++ b/watchtower/wtdb/queue.go @@ -7,7 +7,7 @@ import ( "io" "github.com/btcsuite/btcwallet/walletdb" - "github.com/lightningnetwork/lnd/kvdb" + "github.com/voltagecloud/lnd/kvdb" ) var ( diff --git a/watchtower/wtdb/queue_test.go b/watchtower/wtdb/queue_test.go index 02c7b272cb..6f00343dd8 100644 --- a/watchtower/wtdb/queue_test.go +++ b/watchtower/wtdb/queue_test.go @@ -3,9 +3,9 @@ package wtdb_test import ( "testing" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/watchtower/wtdb" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/watchtower/wtdb" ) // TestDiskQueue ensures that the ClientDBs disk queue methods behave as is diff --git a/watchtower/wtdb/session_info.go b/watchtower/wtdb/session_info.go index 8361cdf750..fd57b4bf00 100644 --- a/watchtower/wtdb/session_info.go +++ b/watchtower/wtdb/session_info.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/wtpolicy" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/wtpolicy" ) var ( diff --git a/watchtower/wtdb/session_state_update.go b/watchtower/wtdb/session_state_update.go index c5e3131e49..2b27408492 100644 --- a/watchtower/wtdb/session_state_update.go +++ b/watchtower/wtdb/session_state_update.go @@ -3,7 +3,7 @@ package wtdb import ( "io" - "github.com/lightningnetwork/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/blob" ) // SessionStateUpdate holds a state update sent by a client along with its diff --git a/watchtower/wtdb/tower_db.go b/watchtower/wtdb/tower_db.go index 50d491411d..fdf81c7030 100644 --- a/watchtower/wtdb/tower_db.go +++ b/watchtower/wtdb/tower_db.go @@ -5,9 +5,9 @@ import ( "errors" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/watchtower/blob" ) var ( diff --git a/watchtower/wtdb/tower_db_test.go b/watchtower/wtdb/tower_db_test.go index 9459f34d30..5f574a026b 100644 --- a/watchtower/wtdb/tower_db_test.go +++ b/watchtower/wtdb/tower_db_test.go @@ -6,14 +6,14 @@ import ( "testing" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/watchtower" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/wtdb" - "github.com/lightningnetwork/lnd/watchtower/wtmock" - "github.com/lightningnetwork/lnd/watchtower/wtpolicy" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/watchtower" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtmock" + "github.com/voltagecloud/lnd/watchtower/wtpolicy" ) var ( diff --git a/watchtower/wtdb/version.go b/watchtower/wtdb/version.go index b44ed80eb3..f01e7ab0af 100644 --- a/watchtower/wtdb/version.go +++ b/watchtower/wtdb/version.go @@ -3,15 +3,15 @@ package wtdb import ( "fmt" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/kvdb" - "github.com/lightningnetwork/lnd/watchtower/wtdb/migration1" - "github.com/lightningnetwork/lnd/watchtower/wtdb/migration2" - "github.com/lightningnetwork/lnd/watchtower/wtdb/migration3" - "github.com/lightningnetwork/lnd/watchtower/wtdb/migration4" - "github.com/lightningnetwork/lnd/watchtower/wtdb/migration5" - "github.com/lightningnetwork/lnd/watchtower/wtdb/migration6" - "github.com/lightningnetwork/lnd/watchtower/wtdb/migration7" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/kvdb" + "github.com/voltagecloud/lnd/watchtower/wtdb/migration1" + "github.com/voltagecloud/lnd/watchtower/wtdb/migration2" + "github.com/voltagecloud/lnd/watchtower/wtdb/migration3" + "github.com/voltagecloud/lnd/watchtower/wtdb/migration4" + "github.com/voltagecloud/lnd/watchtower/wtdb/migration5" + "github.com/voltagecloud/lnd/watchtower/wtdb/migration6" + "github.com/voltagecloud/lnd/watchtower/wtdb/migration7" ) // txMigration is a function which takes a prior outdated version of the diff --git a/watchtower/wtmock/keyring.go b/watchtower/wtmock/keyring.go index d1ddc204b1..9d45a0ead3 100644 --- a/watchtower/wtmock/keyring.go +++ b/watchtower/wtmock/keyring.go @@ -4,7 +4,7 @@ import ( "sync" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/keychain" + "github.com/voltagecloud/lnd/keychain" ) // SecretKeyRing is a mock, in-memory implementation for deriving private keys. diff --git a/watchtower/wtmock/peer.go b/watchtower/wtmock/peer.go index 636a2f72bc..ce394b1ad3 100644 --- a/watchtower/wtmock/peer.go +++ b/watchtower/wtmock/peer.go @@ -6,7 +6,7 @@ import ( "time" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/watchtower/wtserver" + "github.com/voltagecloud/lnd/watchtower/wtserver" ) // MockPeer emulates a single endpoint of brontide transport. diff --git a/watchtower/wtmock/queue.go b/watchtower/wtmock/queue.go index ba67948b86..01faa04182 100644 --- a/watchtower/wtmock/queue.go +++ b/watchtower/wtmock/queue.go @@ -5,7 +5,7 @@ import ( "fmt" "sync" - "github.com/lightningnetwork/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtdb" ) // DiskQueueDB is an in-memory implementation of the wtclient.Queue interface. diff --git a/watchtower/wtmock/signer.go b/watchtower/wtmock/signer.go index 1cf1f56646..e6b7f6ed6c 100644 --- a/watchtower/wtmock/signer.go +++ b/watchtower/wtmock/signer.go @@ -10,8 +10,8 @@ import ( "github.com/btcsuite/btcd/btcec/v2/schnorr/musig2" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/input" - "github.com/lightningnetwork/lnd/keychain" + "github.com/voltagecloud/lnd/input" + "github.com/voltagecloud/lnd/keychain" ) // MockSigner is an input.Signer that allows one to add arbitrary private keys diff --git a/watchtower/wtmock/tower_db.go b/watchtower/wtmock/tower_db.go index 35c01ab1b0..f8aad5e29f 100644 --- a/watchtower/wtmock/tower_db.go +++ b/watchtower/wtmock/tower_db.go @@ -3,9 +3,9 @@ package wtmock import ( "sync" - "github.com/lightningnetwork/lnd/chainntnfs" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/chainntnfs" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/wtdb" ) // TowerDB is a mock, in-memory implementation of a watchtower.DB. diff --git a/watchtower/wtpolicy/policy.go b/watchtower/wtpolicy/policy.go index 429f1ffb6c..1ce1b3becc 100644 --- a/watchtower/wtpolicy/policy.go +++ b/watchtower/wtpolicy/policy.go @@ -6,9 +6,9 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnwallet" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/lnwallet" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/watchtower/blob" ) const ( diff --git a/watchtower/wtpolicy/policy_test.go b/watchtower/wtpolicy/policy_test.go index b73c484567..cce904b4ff 100644 --- a/watchtower/wtpolicy/policy_test.go +++ b/watchtower/wtpolicy/policy_test.go @@ -3,9 +3,9 @@ package wtpolicy_test import ( "testing" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/wtpolicy" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/wtpolicy" ) var validationTests = []struct { diff --git a/watchtower/wtserver/create_session.go b/watchtower/wtserver/create_session.go index 3fd58dbd2e..b50cfc2d70 100644 --- a/watchtower/wtserver/create_session.go +++ b/watchtower/wtserver/create_session.go @@ -2,10 +2,10 @@ package wtserver import ( "github.com/btcsuite/btcd/txscript" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/wtdb" - "github.com/lightningnetwork/lnd/watchtower/wtpolicy" - "github.com/lightningnetwork/lnd/watchtower/wtwire" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtpolicy" + "github.com/voltagecloud/lnd/watchtower/wtwire" ) // handleCreateSession processes a CreateSession message from the peer, and returns diff --git a/watchtower/wtserver/delete_session.go b/watchtower/wtserver/delete_session.go index 00b9b1658b..f3a1c95bfd 100644 --- a/watchtower/wtserver/delete_session.go +++ b/watchtower/wtserver/delete_session.go @@ -1,8 +1,8 @@ package wtserver import ( - "github.com/lightningnetwork/lnd/watchtower/wtdb" - "github.com/lightningnetwork/lnd/watchtower/wtwire" + "github.com/voltagecloud/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtwire" ) // handleDeleteSession processes a DeleteSession request for a client with given diff --git a/watchtower/wtserver/interface.go b/watchtower/wtserver/interface.go index ec854f6aaa..fe014124c8 100644 --- a/watchtower/wtserver/interface.go +++ b/watchtower/wtserver/interface.go @@ -6,7 +6,7 @@ import ( "time" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lightningnetwork/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtdb" ) // Interface represents a simple, listen-only service that accepts watchtower diff --git a/watchtower/wtserver/log.go b/watchtower/wtserver/log.go index 7939bd97f8..5db3eedeb9 100644 --- a/watchtower/wtserver/log.go +++ b/watchtower/wtserver/log.go @@ -2,7 +2,7 @@ package wtserver import ( "github.com/btcsuite/btclog" - "github.com/lightningnetwork/lnd/build" + "github.com/voltagecloud/lnd/build" ) // log is a logger that is initialized with no output filters. This diff --git a/watchtower/wtserver/server.go b/watchtower/wtserver/server.go index 8f0e803690..b3721bb760 100644 --- a/watchtower/wtserver/server.go +++ b/watchtower/wtserver/server.go @@ -11,10 +11,10 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/connmgr" - "github.com/lightningnetwork/lnd/keychain" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/watchtower/wtdb" - "github.com/lightningnetwork/lnd/watchtower/wtwire" + "github.com/voltagecloud/lnd/keychain" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtwire" ) var ( diff --git a/watchtower/wtserver/server_test.go b/watchtower/wtserver/server_test.go index ab83d4255a..731bf0dbc3 100644 --- a/watchtower/wtserver/server_test.go +++ b/watchtower/wtserver/server_test.go @@ -10,13 +10,13 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/txscript" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/watchtower/blob" - "github.com/lightningnetwork/lnd/watchtower/wtdb" - "github.com/lightningnetwork/lnd/watchtower/wtmock" - "github.com/lightningnetwork/lnd/watchtower/wtserver" - "github.com/lightningnetwork/lnd/watchtower/wtwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtmock" + "github.com/voltagecloud/lnd/watchtower/wtserver" + "github.com/voltagecloud/lnd/watchtower/wtwire" ) var ( diff --git a/watchtower/wtserver/state_update.go b/watchtower/wtserver/state_update.go index 63a0a37d6b..314b3a5c3b 100644 --- a/watchtower/wtserver/state_update.go +++ b/watchtower/wtserver/state_update.go @@ -3,8 +3,8 @@ package wtserver import ( "fmt" - "github.com/lightningnetwork/lnd/watchtower/wtdb" - "github.com/lightningnetwork/lnd/watchtower/wtwire" + "github.com/voltagecloud/lnd/watchtower/wtdb" + "github.com/voltagecloud/lnd/watchtower/wtwire" ) // handleStateUpdates processes a stream of StateUpdate requests from the diff --git a/watchtower/wtwire/create_session.go b/watchtower/wtwire/create_session.go index 7047ce30ed..42e3479b8b 100644 --- a/watchtower/wtwire/create_session.go +++ b/watchtower/wtwire/create_session.go @@ -3,8 +3,8 @@ package wtwire import ( "io" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/watchtower/blob" ) // CreateSession is sent from a client to tower when to negotiate a session, which diff --git a/watchtower/wtwire/features.go b/watchtower/wtwire/features.go index 83ab207f71..e313691146 100644 --- a/watchtower/wtwire/features.go +++ b/watchtower/wtwire/features.go @@ -1,6 +1,6 @@ package wtwire -import "github.com/lightningnetwork/lnd/lnwire" +import "github.com/voltagecloud/lnd/lnwire" // FeatureNames holds a mapping from each feature bit understood by this // implementation to its common name. diff --git a/watchtower/wtwire/init.go b/watchtower/wtwire/init.go index 4d5ec34bdb..a97fcd37d8 100644 --- a/watchtower/wtwire/init.go +++ b/watchtower/wtwire/init.go @@ -5,8 +5,8 @@ import ( "io" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/feature" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/feature" + "github.com/voltagecloud/lnd/lnwire" ) // Init is the first message sent over the watchtower wire protocol, and diff --git a/watchtower/wtwire/init_test.go b/watchtower/wtwire/init_test.go index c0b0fa7511..3d5ef38f36 100644 --- a/watchtower/wtwire/init_test.go +++ b/watchtower/wtwire/init_test.go @@ -5,9 +5,9 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/feature" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/watchtower/wtwire" + "github.com/voltagecloud/lnd/feature" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/watchtower/wtwire" ) var ( diff --git a/watchtower/wtwire/wtwire.go b/watchtower/wtwire/wtwire.go index 5b10fee330..294337a853 100644 --- a/watchtower/wtwire/wtwire.go +++ b/watchtower/wtwire/wtwire.go @@ -8,9 +8,9 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/watchtower/blob" + "github.com/voltagecloud/lnd/lnwallet/chainfee" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/watchtower/blob" ) // WriteElement is a one-stop shop to write the big endian representation of diff --git a/watchtower/wtwire/wtwire_test.go b/watchtower/wtwire/wtwire_test.go index e9b37a5592..668f17a27b 100644 --- a/watchtower/wtwire/wtwire_test.go +++ b/watchtower/wtwire/wtwire_test.go @@ -10,8 +10,8 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/davecgh/go-spew/spew" - "github.com/lightningnetwork/lnd/lnwire" - "github.com/lightningnetwork/lnd/watchtower/wtwire" + "github.com/voltagecloud/lnd/lnwire" + "github.com/voltagecloud/lnd/watchtower/wtwire" ) func randRawFeatureVector(r *rand.Rand) *lnwire.RawFeatureVector { diff --git a/witness_beacon.go b/witness_beacon.go index 4fd44e2837..f4b73002c9 100644 --- a/witness_beacon.go +++ b/witness_beacon.go @@ -4,13 +4,13 @@ import ( "errors" "sync" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/channeldb/models" - "github.com/lightningnetwork/lnd/contractcourt" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/channeldb/models" + "github.com/voltagecloud/lnd/contractcourt" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" ) // preimageSubscriber reprints an active subscription to be notified once the diff --git a/witness_beacon_test.go b/witness_beacon_test.go index d98c276f52..63f0e0a1eb 100644 --- a/witness_beacon_test.go +++ b/witness_beacon_test.go @@ -3,12 +3,12 @@ package lnd import ( "testing" - "github.com/lightningnetwork/lnd/channeldb" - "github.com/lightningnetwork/lnd/htlcswitch" - "github.com/lightningnetwork/lnd/htlcswitch/hop" - "github.com/lightningnetwork/lnd/lntypes" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/channeldb" + "github.com/voltagecloud/lnd/htlcswitch" + "github.com/voltagecloud/lnd/htlcswitch/hop" + "github.com/voltagecloud/lnd/lntypes" + "github.com/voltagecloud/lnd/lnwire" ) // TestWitnessBeaconIntercept tests that the beacon passes on subscriptions to diff --git a/zpay32/README.md b/zpay32/README.md index 34f54a7874..9089f18304 100644 --- a/zpay32/README.md +++ b/zpay32/README.md @@ -1,9 +1,9 @@ zpay32 ======= -[![Build Status](http://img.shields.io/travis/lightningnetwork/lnd.svg)](https://travis-ci.org/lightningnetwork/lnd) -[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/lightningnetwork/lnd/blob/master/LICENSE) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/lightningnetwork/lnd/zpay32) +[![Build Status](http://img.shields.io/travis/voltagecloud/lnd.svg)](https://travis-ci.org/voltagecloud/lnd) +[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/voltagecloud/lnd/blob/master/LICENSE) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/voltagecloud/lnd/zpay32) The zpay32 package implements a basic scheme for the encoding of payment requests between two `lnd` nodes within the Lightning Network. The zpay32 @@ -18,5 +18,5 @@ to send. ## Installation and Updating ```shell -$ go get -u github.com/lightningnetwork/lnd/zpay32 +$ go get -u github.com/voltagecloud/lnd/zpay32 ``` diff --git a/zpay32/amountunits.go b/zpay32/amountunits.go index f53f3ff00e..3ee84bdc2e 100644 --- a/zpay32/amountunits.go +++ b/zpay32/amountunits.go @@ -4,7 +4,7 @@ import ( "fmt" "strconv" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) var ( diff --git a/zpay32/decode.go b/zpay32/decode.go index d37a34cf9d..a25c87f411 100644 --- a/zpay32/decode.go +++ b/zpay32/decode.go @@ -14,7 +14,7 @@ import ( "github.com/btcsuite/btcd/btcutil/bech32" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) // Decode parses the provided encoded invoice and returns a decoded Invoice if @@ -50,7 +50,7 @@ func Decode(invoice string, net *chaincfg.Params) (*Invoice, error) { // an additional "s" to differentiate it from the older testnet3 (Core // devs decided to use the same hrp for signet as for testnet3 which is // not optimal for LN). See - // https://github.com/lightningnetwork/lightning-rfc/pull/844 for more + // https://github.com/voltagecloud/lightning-rfc/pull/844 for more // information. expectedPrefix := net.Bech32HRPSegwit if net.Name == chaincfg.SigNetParams.Name { diff --git a/zpay32/encode.go b/zpay32/encode.go index f8e1795e15..e30b49b86a 100644 --- a/zpay32/encode.go +++ b/zpay32/encode.go @@ -9,7 +9,7 @@ import ( "github.com/btcsuite/btcd/btcutil/bech32" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) // Encode takes the given MessageSigner and returns a string encoding this @@ -56,7 +56,7 @@ func (invoice *Invoice) Encode(signer MessageSigner) (string, error) { // except for signet where we add an additional "s" to differentiate it // from the older testnet3 (Core devs decided to use the same hrp for // signet as for testnet3 which is not optimal for LN). See - // https://github.com/lightningnetwork/lightning-rfc/pull/844 for more + // https://github.com/voltagecloud/lightning-rfc/pull/844 for more // information. hrp := "ln" + invoice.Net.Bech32HRPSegwit if invoice.Net.Name == chaincfg.SigNetParams.Name { diff --git a/zpay32/invoice.go b/zpay32/invoice.go index e0c05efc15..1543e89757 100644 --- a/zpay32/invoice.go +++ b/zpay32/invoice.go @@ -8,7 +8,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg" - "github.com/lightningnetwork/lnd/lnwire" + "github.com/voltagecloud/lnd/lnwire" ) const ( diff --git a/zpay32/invoice_internal_test.go b/zpay32/invoice_internal_test.go index 35091d6a64..13aed37562 100644 --- a/zpay32/invoice_internal_test.go +++ b/zpay32/invoice_internal_test.go @@ -11,8 +11,8 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/btcutil/bech32" "github.com/btcsuite/btcd/chaincfg" - "github.com/lightningnetwork/lnd/lnwire" "github.com/stretchr/testify/require" + "github.com/voltagecloud/lnd/lnwire" ) // TestDecodeAmount ensures that the amount string in the hrp of the Invoice diff --git a/zpay32/invoice_test.go b/zpay32/invoice_test.go index fa77d14c06..c9f53e07b1 100644 --- a/zpay32/invoice_test.go +++ b/zpay32/invoice_test.go @@ -18,8 +18,8 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/lightningnetwork/lnd/lnwire" litecoinCfg "github.com/ltcsuite/ltcd/chaincfg" + "github.com/voltagecloud/lnd/lnwire" ) var (