Method: Hive::Broadcast.custom
- Defined in:
- lib/hive/broadcast.rb
.custom(options, &block) ⇒ Object
Provides a generic way to add higher level protocols on top of witness consensus.
799 800 801 802 803 804 805 806 807 |
# File 'lib/hive/broadcast.rb', line 799 def self.custom(, &block) required_fields = %i(required_auths id data) params = [:params] check_required_fields(params, *required_fields) ops = [[:custom, params]] process(.merge(ops: ops), &block) end |