Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
monero-project
CCS Backend
Commits
a6c8edbe
Commit
a6c8edbe
authored
Jan 27, 2019
by
xiphon
Browse files
monero: add optional 'min_height' argument to incomingTransfers RPC
parent
5d217864
Changes
1
Hide whitespace changes
Inline
Side-by-side
monero/jsonRPCClient.php
View file @
a6c8edbe
...
...
@@ -107,9 +107,9 @@ class jsonRPCClient implements Contracts\WalletManager
*
* @return array
*/
public
function
incomingTransfers
()
:
array
public
function
incomingTransfers
(
$min_height
=
0
)
:
array
{
$response
=
$this
->
request
(
'get_transfers'
,
[
'pool'
=>
true
,
'in'
=>
true
]);
$response
=
$this
->
request
(
'get_transfers'
,
[
'pool'
=>
true
,
'in'
=>
true
,
'min_height'
=>
$min_height
,
'filter_by_height'
=>
$min_height
>
0
?
true
:
false
]);
return
$response
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment