Decred 백서

Decred

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 12쪽 중 12쪽

e to be used for the funding transaction via either the --conf_target or --atoms_per_byte arguments . This is optional. Options Option Info --node_key value The identity public key of the target node/peer serialized in compressed format --connect value (Optional) The host:port of the target node --local_amt value The number of atoms the wallet should commit to the channel (default: 0) --push_amt value The number of atoms to give the remote side as part of the initial commitment state, this is equivalent to first opening a channel and sending the remote party funds, but done all in one step (default: 0) --block Block and wait until the channel is fully open --conf_target value (Optional) The number of blocks that the transaction should confirm in, will be used for fee estimation (default: 0) --atoms_per_byte value (Optional) A manual fee expressed in atom/byte that should be used when crafting the transaction (default: 0) --private Make the channel private, such that it won’t be announced to the greater network, and nodes other than the two channel endpoints must be explicitly told about it to be able to route through it --min_htlc_m_atoms value (Optional) The minimum value we will require for incoming HTLCs on the channel (default: 0) --remote_csv_delay value (Optional) The number of blocks we will require our channel counterparty to wait before accessing its funds in case of unilateral close. If this is not set, we will scale the value according to the channel size (default: 0) --min_confs value (Optional) The minimum number of confirmations each one of your outputs used for the funding transaction must satisfy (default: 1) ## /lightning-network/dcrlncli/closechannel closechannel dcrlncli closechannel - Close an existing channel. Usage dcrlncli closechannel [command options] funding_txid [output_index] Description Close an existing channel. The channel can be closed either cooperatively, or unilaterally --force . A unilateral channel closure means that the latest commitment transaction will be broadcast to the network. As a result, any settled funds will be time locked for a few blocks before they can be spent. In the case of a cooperative closure, One can manually set the fee to be used for the closing transaction via either the --conf_target or --atoms_per_byte arguments. This will be the starting value used during fee negotiation. This is optional. To view which funding_txids or output_indexes can be used for a channel close, see the channel_point values within the listchannels command output. The format for a channel_point is funding_txid:output_index . Options Option Info --funding_txid value The txid of the channel’s funding transaction --output_index value The output index for the funding output of the funding transaction (default: 0) --force Attempt an uncooperative closure --block Block until the channel is closed --conf_target value (Optional) The number of blocks that the transaction should confirm in, will be used for fee estimation (default: 0) --atoms_per_byte value (Optional) A manual fee expressed in atom/byte that should be used when crafting the transaction (default: 0) ## /lightning-network/dcrlncli/closeallchannels closeallchannels dcrlncli closeallchannels - Close all existing channels. Usage dcrlncli closeallchannels [command options] [arguments...] Description Close all existing channels. Channels will be closed either cooperatively or unilaterally, depending on whether the channel is active or not. If the channel is inactive, any settled funds within it will be time locked for a few blocks before they can be spent. One can request to close inactive channels only by using the --inactive_only flag. By default, one is prompted for confirmation every time an inactive channel is requested to be closed. To avoid this, one can set the --force flag, which will only prompt for confirmation once for all inactive channels and proceed to close them. In the case of cooperative closures, one can manually set the fee to be used for the closing transactions via either the --conf_target or --atoms_per_byte arguments. This will be the starting value used during fee negotiation. This is optional. Options Option Info --inactive_only Close inactive channels only --force Ask for confirmation once before attempting to close existing channels --conf_target value (Optional) The number of blocks that the closing transactions should confirm in, will be used for fee estimation (default: 0) --atoms_per_byte value (Optional) A manual fee expressed in atoms/byte that should be used when crafting the closing transactions (default: 0) ## /lightning-network/dcrlncli/abandonchannel abandonchannel dcrlncli abandonchannel - Abandons an existing channel. Usage dcrlncli abandonchannel [command options] funding_txid [output_index] Description Removes all channel state from the database except for a close summary. This method can be used to get rid of permanently unusable channels due to bugs fixed in newer versions of dcrlnd. Only available when dcrlnd is built in debug mode. To view which funding_txids or output_indexes can be used for this command, see the channel_point values within the listchannels command output. The format for a channel_point is funding_txid:output_index . Options Option Info --funding_txid value The txid of the channel’s funding transaction --output_index value The output index for the funding output of the funding transaction (default: 0) ## /lightning-network/dcrlncli/channelbalance channelbalance dcrlncli channelbalance - Returns the sum of the total available channel balance across all open channels. Usage dcrlncli channelbalance [arguments...] ## /lightning-network/dcrlncli/pendingchannels pendingchannels dcrlncli pendingchannels - Display information pertaining to pending channels. Usage dcrlncli pendingchannels [arguments...] ## /lightning-network/dcrlncli/listchannels listchannels dcrlncli listchannels - List all open channels. Usage dcrlncli listchannels [command options] [arguments...] Options Option Info --active_only Only list channels which are currently active --inactive_only Only list channels which are currently inactive --public_only Only list channels which are currently public --private_only Only list channels which are currently private ## /lightning-network/dcrlncli/closedchannels closedchannels dcrlncli closedchannels - List all closed channels. Usage dcrlncli closedchannels [command options] [arguments...] Options Option Info --cooperative List channels that were closed cooperatively --local_force List channels that were force-closed by the local node --remote_force List channels that were force-closed by the remote node --breach List channels for which the remote node attempted to broadcast a prior revoked channel state --funding_canceled List channels that were never fully opened --abandoned List channels that were abandoned by the local node ## /lightning-network/dcrlncli/getnetworkinfo getnetworkinfo dcrlncli getnetworkinfo - Get statistical information about the current state of the network. Usage dcrlncli getnetworkinfo [arguments...] Description Returns a set of statistics pertaining to the known channel graph ## /lightning-network/dcrlncli/feereport feereport dcrlncli feereport - Display the current fee policies of all active channels. Usage dcrlncli feereport [arguments...] Description Returns the current fee policies of all active channels. Fee policies can be updated using the updatechanpolicy command. ## /lightning-network/dcrlncli/updatechanpolicy updatechanpolicy dcrlncli updatechanpolicy - Update the channel policy for all channels, or a single channel. Usage dcrlncli updatechanpolicy [command options] base_fee_m_atoms fee_rate time_lock_delta [--max_htlc_m_atoms=N] [channel_point] Description Updates the channel policy for all channels, or just a particular channel identified by its channel point. The update will be committed, and broadcast to the rest of the network within the next batch. Channel points are encoded as: funding_txid:output_index . Options Option Info --base_fee_m_atoms value The base fee in milli-atoms that will be charged for each forwarded HTLC, regardless of payment size (default: 0) --fee_rate value The fee rate that will be charged proportionally based on the value of each forwarded HTLC, the lowest possible rate is 0 with a granularity of 0.000001 (millionths) --time_lock_delta value The CLTV delta that will be applied to all forwarded HTLCs (default: 0) --max_htlc_m_atoms value If set, the max HTLC size that will be applied to all forwarded HTLCs. If unset, the max HTLC is left unchanged. (default: 0) --chan_point value The channel whose fee policy should be updated, if nil the policies for all channels will be updated. Takes the form of: txid:output_index
프로젝트로 돌아가기