mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
Remove trailing whitespace
This commit is contained in:
parent
7c09b6f478
commit
0353ec0983
@ -1,7 +1,7 @@
|
||||
# c-lightning: A specification compliant Lightning Network implementation in C
|
||||
|
||||
c-lightning is a [standard compliant](https://github.com/lightningnetwork/lightning-rfc) implementation of the Lightning Network protocol.
|
||||
The Lightning Network is a scalability solution for Bitcoin, enabling secure and instant transfer of funds between any two party for any amount.
|
||||
The Lightning Network is a scalability solution for Bitcoin, enabling secure and instant transfer of funds between any two party for any amount.
|
||||
|
||||
For more information about the Lightning Network please refer to http://lightning.network.
|
||||
|
||||
@ -46,7 +46,7 @@ In order to start `lightningd` you will need to have a local `bitcoind` node run
|
||||
bitcoind -daemon -testnet
|
||||
```
|
||||
|
||||
Wait until `bitcoind` has synchronized with the testnet network. In case you use regtest, make sure you generate at least 432 blocks to activate SegWit.
|
||||
Wait until `bitcoind` has synchronized with the testnet network. In case you use regtest, make sure you generate at least 432 blocks to activate SegWit.
|
||||
|
||||
You can start `lightningd` with the following command:
|
||||
|
||||
@ -60,7 +60,7 @@ First you need to transfer some funds to `lightningd` so that it can open a chan
|
||||
|
||||
```
|
||||
# Returns an address <address>
|
||||
cli/lightning-cli newaddr
|
||||
cli/lightning-cli newaddr
|
||||
|
||||
# Returns a transaction id <txid>
|
||||
bitcoin-cli -testnet sendtoaddress <address> <amount>
|
||||
|
@ -79,4 +79,4 @@ clean: closingd-clean
|
||||
closingd-clean:
|
||||
$(RM) $(LIGHTNINGD_CLOSING_OBJS) closingd/gen_*
|
||||
|
||||
-include closingd/test/Makefile
|
||||
-include closingd/test/Makefile
|
||||
|
@ -30,7 +30,7 @@ class UnixDomainSocketRpc(object):
|
||||
objs, _ = self.decoder.raw_decode(buff.decode("UTF-8"))
|
||||
return objs
|
||||
except ValueError:
|
||||
# Probably didn't read enough
|
||||
# Probably didn't read enough
|
||||
pass
|
||||
|
||||
def __getattr__(self, name):
|
||||
|
@ -51,7 +51,7 @@ static char *fmt_time(const tal_t *ctx, u64 time)
|
||||
|
||||
return tal_fmt(ctx, "%.*s", (int)strcspn(p, "\n"), p);
|
||||
}
|
||||
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
const tal_t *ctx = tal(NULL, char);
|
||||
|
@ -88,4 +88,4 @@ clean: onchaind-clean
|
||||
onchaind-clean:
|
||||
$(RM) $(LIGHTNINGD_ONCHAIN_OBJS) onchaind/gen_*
|
||||
|
||||
-include onchaind/test/Makefile
|
||||
-include onchaind/test/Makefile
|
||||
|
@ -88,4 +88,4 @@ clean: opening-clean
|
||||
opening-clean:
|
||||
$(RM) $(LIGHTNINGD_OPENING_OBJS) openingd/gen_*
|
||||
|
||||
-include openingd/test/Makefile
|
||||
-include openingd/test/Makefile
|
||||
|
@ -163,7 +163,7 @@ class Field(object):
|
||||
|
||||
def has_array_helper(self):
|
||||
return self.fieldtype.has_array_helper()
|
||||
|
||||
|
||||
# Returns FieldType
|
||||
@staticmethod
|
||||
def _guess_type(message, fieldname, base_size):
|
||||
@ -267,7 +267,7 @@ class Message(object):
|
||||
ctx_arg = 'const tal_t *ctx, ' if self.has_variable_fields else ''
|
||||
|
||||
args = []
|
||||
|
||||
|
||||
for f in self.fields:
|
||||
if f.is_len_var or f.is_padding():
|
||||
continue
|
||||
|
@ -22,7 +22,7 @@ for SYMBOL; do
|
||||
echo "/* Could not find declaration for $SYMBOL */"
|
||||
continue
|
||||
fi
|
||||
|
||||
|
||||
echo "/* Generated stub for $SYMBOL */"
|
||||
FILE=${WHERE%%:*}
|
||||
FILE_AND_LINE=${WHERE%:*}
|
||||
|
Loading…
Reference in New Issue
Block a user