Sha256: 7139e64042d9a8d31d4904d470103c791268a4ab6435cc4a2034567bfde6dc18

Contents?: true

Size: 607 Bytes

Versions: 24

Compression:

Stored size: 607 Bytes

Contents

module Peatio
  module Bitgo
    # TODO: Processing of unconfirmed transactions from mempool isn't supported now.
    class Blockchain < Peatio::Blockchain::Abstract

      DEFAULT_FEATURES = {case_sensitive: true, cash_addr_format: false}.freeze

      def initialize(custom_features = {})
        @features = DEFAULT_FEATURES.merge(custom_features).slice(*SUPPORTED_FEATURES)
        @settings = {}
      end

      def configure(settings = {})
        # Clean client state during configure.
        @client = nil
        @settings.merge!(settings.slice(*SUPPORTED_SETTINGS))
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 3 rubygems

Version Path
ouroboros-peatio-bitgo-3.1.0 lib/peatio/bitgo/blockchain.rb
peatio-bitgo-3.1.0 lib/peatio/bitgo/blockchain.rb
peatio-bitgo-2.6.8 lib/peatio/bitgo/blockchain.rb
peatio-bitgo-2.6.7 lib/peatio/bitgo/blockchain.rb
peatio-bitgo-2.6.6 lib/peatio/bitgo/blockchain.rb
peatio-bitgo-2.6.5 lib/peatio/bitgo/blockchain.rb
peatio-bitgo-2.6.4 lib/peatio/bitgo/blockchain.rb
peatio-bitgo-2.5.2 lib/peatio/bitgo/blockchain.rb
peatio-bitgo-jruby-2.5.1 lib/peatio/bitgo/blockchain.rb
peatio-bitgo-2.6.3 lib/peatio/bitgo/blockchain.rb
peatio-bitgo-2.5.1 lib/peatio/bitgo/blockchain.rb
peatio-bitgo-2.5.0 lib/peatio/bitgo/blockchain.rb
peatio-bitgo-2.6.2 lib/peatio/bitgo/blockchain.rb
peatio-bitgo-2.6.1 lib/peatio/bitgo/blockchain.rb
peatio-bitgo-1.1.6 lib/peatio/bitgo/blockchain.rb
peatio-bitgo-1.1.5 lib/peatio/bitgo/blockchain.rb
peatio-bitgo-2.6.0 lib/peatio/bitgo/blockchain.rb
peatio-bitgo-1.1.4 lib/peatio/bitgo/blockchain.rb
peatio-bitgo-1.1.3 lib/peatio/bitgo/blockchain.rb
peatio-bitgo-1.1.2 lib/peatio/bitgo/blockchain.rb