Skip to content

Commit

Permalink
Fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
omahs authored and abdrasulov committed Jun 14, 2023
1 parent 4adf8ca commit 32e948c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ If you restore with a public extended key, then you only will be able to watch t

### Starting and Stopping

*BitcoinKit* require to be started with `start` command. It will be in synced state as long as it is possible. You can call `stop` to stop it
*BitcoinKit* requires to be started with `start` command. It will be in synced state as long as it is possible. You can call `stop` to stop it

```kotlin
bitcoinKit.start()
Expand Down Expand Up @@ -155,7 +155,7 @@ bitcoinKit.transactions().subscribe { transactionInfos ->
```

- `fromUid` and `limit` parameters can be used for pagination.
- `type` parameter enables to filter transactions by coins flow. You can pass *incoming* OR *outgoing* to get filtered transations
- `type` parameter enables to filter transactions by coins flow. You can pass *incoming* OR *outgoing* to get filtered transactions


#### TransactionInfo
Expand Down Expand Up @@ -357,7 +357,7 @@ Dash has some transactions marked `instant`. So, instead of `TransactionInfo` ob

To lock funds we create P2SH output where redeem script has `OP_CSV` OpCode that ensures that the input has a proper Sequence Number(`nSequence`) field and that it enables a relative time-lock.

In [this](https://blockstream.info/tx/1cd11e80d04c82d098f19badb153ea12ec84cda408daaadc566cc129f967a435?input:1&expand) sample transaction the second input unlocks such an output. It has a signature, public key and the following redeem script in it's scriptSig:
In [this](https://blockstream.info/tx/1cd11e80d04c82d098f19badb153ea12ec84cda408daaadc566cc129f967a435?input:1&expand) sample transaction the second input unlocks such an output. It has a signature, public key and the following redeem script in its scriptSig:

`OP_PUSHBYTES_3 070040 OP_CSV OP_DROP OP_DUP OP_HASH160 OP_PUSHBYTES_20 853316620ed93e4ade18f8218f9aa15dc36c768e OP_EQUALVERIFY OP_CHECKSIG`

Expand Down

0 comments on commit 32e948c

Please sign in to comment.