Module: BTC::AssetProcessorSource

Defined in:
lib/btcruby/open_assets/asset_processor.rb

Instance Method Summary collapse

Instance Method Details

#asset_transaction_was_verified(atx) ⇒ Object

Override this to cache verified asset transaction.



366
367
368
# File 'lib/btcruby/open_assets/asset_processor.rb', line 366

def asset_transaction_was_verified(atx)
  nil
end

#transaction_for_hash(hash) ⇒ Object

Override this to provide a transaction with a given hash. If transaction is not found or not available, return nil. This may cause asset transaction remain unverified.



373
374
375
# File 'lib/btcruby/open_assets/asset_processor.rb', line 373

def transaction_for_hash(hash)
  raise "Not Implemented"
end

#verified_asset_transaction_for_hash(hash) ⇒ Object

Override this method if you can provide already verified transaction.



361
362
363
# File 'lib/btcruby/open_assets/asset_processor.rb', line 361

def verified_asset_transaction_for_hash(hash)
  nil
end