Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
12 | class Inv extends AbstractInventory |
||
13 | { |
||
14 | 3 | /** |
|
15 | * @see https://en.bitcoin.it/wiki/Protocol_documentation#inv |
||
16 | 3 | * @return string |
|
17 | */ |
||
18 | public function getNetworkCommand(): string |
||
19 | { |
||
20 | return Message::INV; |
||
21 | } |
||
22 | |||
23 | 3 | /** |
|
24 | * {@inheritdoc} |
||
25 | 3 | * @see \BitWasp\Bitcoin\SerializableInterface::getBuffer() |
|
26 | */ |
||
27 | public function getBuffer(): BufferInterface |
||
30 | } |
||
31 | } |
||
32 |