Browse Source

Remove trailing whitespace

ppa-0.6.1
practicalswift 7 years ago
committed by Rusty Russell
parent
commit
0353ec0983
  1. 6
      README.md
  2. 2
      closingd/Makefile
  3. 2
      contrib/pylightning/lightning/lightning.py
  4. 2
      devtools/bolt11-cli.c
  5. 2
      onchaind/Makefile
  6. 2
      openingd/Makefile
  7. 4
      tools/generate-wire.py
  8. 2
      tools/mockup.sh

6
README.md

@ -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>

2
closingd/Makefile

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

2
contrib/pylightning/lightning/lightning.py

@ -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):

2
devtools/bolt11-cli.c

@ -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);

2
onchaind/Makefile

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

2
openingd/Makefile

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

4
tools/generate-wire.py

@ -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

2
tools/mockup.sh

@ -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…
Cancel
Save