Remove trailing whitespace

This commit is contained in:
practicalswift
2017-12-10 13:41:10 +01:00
committed by Rusty Russell
parent 7c09b6f478
commit 0353ec0983
8 changed files with 11 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
# c-lightning: A specification compliant Lightning Network implementation in C # 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. 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. 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 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: 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> # Returns an address <address>
cli/lightning-cli newaddr cli/lightning-cli newaddr
# Returns a transaction id <txid> # Returns a transaction id <txid>
bitcoin-cli -testnet sendtoaddress <address> <amount> bitcoin-cli -testnet sendtoaddress <address> <amount>

View File

@@ -79,4 +79,4 @@ clean: closingd-clean
closingd-clean: closingd-clean:
$(RM) $(LIGHTNINGD_CLOSING_OBJS) closingd/gen_* $(RM) $(LIGHTNINGD_CLOSING_OBJS) closingd/gen_*
-include closingd/test/Makefile -include closingd/test/Makefile

View File

@@ -30,7 +30,7 @@ class UnixDomainSocketRpc(object):
objs, _ = self.decoder.raw_decode(buff.decode("UTF-8")) objs, _ = self.decoder.raw_decode(buff.decode("UTF-8"))
return objs return objs
except ValueError: except ValueError:
# Probably didn't read enough # Probably didn't read enough
pass pass
def __getattr__(self, name): def __getattr__(self, name):

View File

@@ -51,7 +51,7 @@ static char *fmt_time(const tal_t *ctx, u64 time)
return tal_fmt(ctx, "%.*s", (int)strcspn(p, "\n"), p); return tal_fmt(ctx, "%.*s", (int)strcspn(p, "\n"), p);
} }
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
const tal_t *ctx = tal(NULL, char); const tal_t *ctx = tal(NULL, char);

View File

@@ -88,4 +88,4 @@ clean: onchaind-clean
onchaind-clean: onchaind-clean:
$(RM) $(LIGHTNINGD_ONCHAIN_OBJS) onchaind/gen_* $(RM) $(LIGHTNINGD_ONCHAIN_OBJS) onchaind/gen_*
-include onchaind/test/Makefile -include onchaind/test/Makefile

View File

@@ -88,4 +88,4 @@ clean: opening-clean
opening-clean: opening-clean:
$(RM) $(LIGHTNINGD_OPENING_OBJS) openingd/gen_* $(RM) $(LIGHTNINGD_OPENING_OBJS) openingd/gen_*
-include openingd/test/Makefile -include openingd/test/Makefile

View File

@@ -163,7 +163,7 @@ class Field(object):
def has_array_helper(self): def has_array_helper(self):
return self.fieldtype.has_array_helper() return self.fieldtype.has_array_helper()
# Returns FieldType # Returns FieldType
@staticmethod @staticmethod
def _guess_type(message, fieldname, base_size): 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 '' ctx_arg = 'const tal_t *ctx, ' if self.has_variable_fields else ''
args = [] args = []
for f in self.fields: for f in self.fields:
if f.is_len_var or f.is_padding(): if f.is_len_var or f.is_padding():
continue continue

View File

@@ -22,7 +22,7 @@ for SYMBOL; do
echo "/* Could not find declaration for $SYMBOL */" echo "/* Could not find declaration for $SYMBOL */"
continue continue
fi fi
echo "/* Generated stub for $SYMBOL */" echo "/* Generated stub for $SYMBOL */"
FILE=${WHERE%%:*} FILE=${WHERE%%:*}
FILE_AND_LINE=${WHERE%:*} FILE_AND_LINE=${WHERE%:*}