"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const __1 = require("..");
const btc_1 = require("../../providers/chain-state/btc/btc");
const VerificationPeer_1 = require("./VerificationPeer");
const p2p_1 = require("./p2p");
class BitcoinModule extends __1.BaseModule {
    constructor(services, chain, network, _config) {
        super(services);
        services.Libs.register(chain, '@bitpay-labs/bitcore-lib', '@bitpay-labs/bitcore-p2p');
        services.P2P.register(chain, network, p2p_1.BitcoinP2PWorker);
        services.CSP.registerService(chain, network, new btc_1.BTCStateProvider());
        services.Verification.register(chain, network, VerificationPeer_1.VerificationPeer);
    }
}
exports.default = BitcoinModule;
//# sourceMappingURL=index.js.map