Skip to content

Commit

Permalink
Release v1.2.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
denpamusic committed Sep 20, 2018
1 parent a4e0888 commit 36c7871
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
5 changes: 3 additions & 2 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ search_full_content: true

# Author
author:
name : "Denis Paavilainen"
bio : "My PGP key: https://pgp.denpa.pro/ Fingerprint = B371 A23C C449 703F F1BF 0927 9CF6 463C BF75 37E8"
name: "Denis Paavilainen"
avatar: "/assets/images/logo.svg"
bio: "My PGP key: https://pgp.denpa.pro/ Fingerprint = B371 A23C C449 703F F1BF 0927 9CF6 463C BF75 37E8"
links:
- label: "GitHub"
icon: "fab fa-fw fa-github"
Expand Down
7 changes: 7 additions & 0 deletions docs/_posts/2018-09-20-1.2.7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
---
- Updated php-bitcoinrpc to v2.0.10
- Added Auto-Discovery for facade
- Added sequence check for ZeroMQ messages
- Improved tests
- Removed outdated dependencies
1 change: 1 addition & 0 deletions docs/assets/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/ZeroMQ/Listener.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ protected function onSuccess($message)
if ($this->sequence > 0 && (($this->sequence + 1) != $sequence)) {
throw new UnexpectedValueException(
"Broken sequence on sequence number $sequence. ".
"Detected lost notifications."
'Detected lost notifications.'
);
}

Expand Down
6 changes: 3 additions & 3 deletions tests/ZeroMQTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function testSubscribe()
$callback([
'hashblock',
pack('H*', $blockhash),
pack('I', 0x01)
pack('I', 0x01),
]);
}));

Expand Down Expand Up @@ -111,14 +111,14 @@ public function testBrokenSequence()
$callback([
'hashblock',
pack('H', 0x00),
pack('I', 0x01)
pack('I', 0x01),
]);

// sequence number 3
$callback([
'hashblock',
pack('H', 0x00),
pack('I', 0x03)
pack('I', 0x03),
]);
}));

Expand Down

0 comments on commit 36c7871

Please sign in to comment.