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