Closed worldmars closed 5 years ago
yes, but No instructions for running
Federation works with any bitcoin-based rpc. You only need to provide rpc connectivity details.
--rpconnect --rpcport: rpc --rpcuser: rpc username --rpcpassword: rpc password?
Yep
There are questions about the interpretation of the parameters in the readme? --rpconnect: rpc host of Ocean node --rpcport: rpc port of Ocean node --rpcuser: rpc username --rpcpassword: rpc password --id: federation node id
What questions?
Is --rpconnect and --rpcpor Ocean node or bitcoin node?
It's for an Ocean or Elements node, as it uses rpc calls specific to these that don't exist in bitcoin.
Can you explain how the code of federation works?
It's an application built to do federated block signing. For a given federation, of say X members, each node takes turns producing a block which it shares with the other nodes via zmq/Kafka, collects these signatures, combines them and produces the block. Each federation member runs an Ocean node and an instance of this application that connects to the node.
There's also added functionality to do federated asset inflation and to use HSMs but these are ignored by default.
Does it not handle transactions that are locked to a federated address?
How do you mean? There's currently no peg-in peg-out functionality in the federation.
I mean about the functions of pegin and pegin-out. Is this function to be done later?
Yep it is not being used yet.
What are you trying to do?