Docs: Fix capitalization in links
This commit is contained in:
parent
3e1ca2be42
commit
3255cef96b
@ -6,14 +6,14 @@ Represents a bitcoin Address. Addresses are the most popular way to make bitcoin
|
|||||||
|
|
||||||
## Instantiate an Address
|
## Instantiate an Address
|
||||||
|
|
||||||
To be able to receive bitcoins an address is needed, but in order to spend them a private key is necessary. Please take a look at the [`PrivateKey`](PrivateKey.md) docs for more information about exporting and saving a key.
|
To be able to receive bitcoins an address is needed, but in order to spend them a private key is necessary. Please take a look at the [`PrivateKey`](privatekey.md) docs for more information about exporting and saving a key.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
var privateKey = new PrivateKey();
|
var privateKey = new PrivateKey();
|
||||||
var address = privateKey.toAddress();
|
var address = privateKey.toAddress();
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also instantiate an Address from a String, [PublicKey](PublicKey.md), or [HDPublicKey](Hierarchical.md), in case you are not the owner of the private key.
|
You can also instantiate an Address from a String, [PublicKey](publickey.md), or [HDPublicKey](hierarchical.md), in case you are not the owner of the private key.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
// from a string
|
// from a string
|
||||||
|
|||||||
@ -47,7 +47,7 @@ For more information about the specific properties of a block header please visi
|
|||||||
|
|
||||||
## Transactions
|
## Transactions
|
||||||
|
|
||||||
The set of transactions in a block is an array of instances of [Transaction](Transaction.md) and can be explored by iterating on the block's `transactions` member.
|
The set of transactions in a block is an array of instances of [Transaction](transaction.md) and can be explored by iterating on the block's `transactions` member.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
for (var i in block.txs) {
|
for (var i in block.txs) {
|
||||||
|
|||||||
@ -6,7 +6,7 @@ Bitcore provides full support for [BIP32](https://github.com/bitcoin/bips/blob/m
|
|||||||
|
|
||||||
## HDPrivateKey
|
## HDPrivateKey
|
||||||
|
|
||||||
An instance of a [PrivateKey](PrivateKey.md) that also contains information required to derive child keys.
|
An instance of a [PrivateKey](privatekey.md) that also contains information required to derive child keys.
|
||||||
|
|
||||||
Sample usage:
|
Sample usage:
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## Pool
|
## Pool
|
||||||
|
|
||||||
A pool maintains a connection of [Peers](Peer.md). A pool will discover peers via DNS seeds, as well as when peer addresses are announced through the network.
|
A pool maintains a connection of [Peers](peer.md). A pool will discover peers via DNS seeds, as well as when peer addresses are announced through the network.
|
||||||
|
|
||||||
The quickest way to get connected is to run the following:
|
The quickest way to get connected is to run the following:
|
||||||
|
|
||||||
@ -27,4 +27,4 @@ pool.disconnect()
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
For more information about Peer events, please read the [Peer](Peer.md) documentation. Peer events are relayed to the pool, a peer event `inv` in the pool would be `peerinv`. When a peer is disconnected the pool will try to connect to the list of known addresses to maintain connection.
|
For more information about Peer events, please read the [Peer](peer.md) documentation. Peer events are relayed to the pool, a peer event `inv` in the pool would be `peerinv`. When a peer is disconnected the pool will try to connect to the list of known addresses to maintain connection.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
Represents a bitcoin public key and is needed to be able to receive bitcoin, as is usually represented as a bitcoin [Address](Address.md), see the official [Bitcoin Wiki](https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses). A PublicKey in Bitcore is an immutable object and can be instantiated from a [Point](Crypto.md), string, [PrivateKey](PrivateKey.md), Buffer and a [BN](Crypto.md).
|
Represents a bitcoin public key and is needed to be able to receive bitcoin, as is usually represented as a bitcoin [Address](address.md), see the official [Bitcoin Wiki](https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses). A PublicKey in Bitcore is an immutable object and can be instantiated from a [Point](crypto.md), string, [PrivateKey](privatekey.md), Buffer and a [BN](crypto.md).
|
||||||
|
|
||||||
## Instantiate a Public Key
|
## Instantiate a Public Key
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user