update wallet api (#554)
This commit is contained in:
parent
16ff779ebc
commit
81d94478f2
|
@ -7,8 +7,8 @@ android {
|
||||||
applicationId "com.m2049r.xmrwallet"
|
applicationId "com.m2049r.xmrwallet"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 28
|
targetSdkVersion 28
|
||||||
versionCode 173
|
versionCode 174
|
||||||
versionName "1.11.3 'Chernushka'"
|
versionName "1.11.4 'Chernushka'"
|
||||||
|
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
|
|
|
@ -574,6 +574,12 @@ struct Wallet
|
||||||
*/
|
*/
|
||||||
virtual uint64_t approximateBlockChainHeight() const = 0;
|
virtual uint64_t approximateBlockChainHeight() const = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief estimateBlockChainHeight - returns estimate blockchain height. More accurate than approximateBlockChainHeight,
|
||||||
|
* uses daemon height and falls back to calculation from date/time
|
||||||
|
* @return
|
||||||
|
**/
|
||||||
|
virtual uint64_t estimateBlockChainHeight() const = 0;
|
||||||
/**
|
/**
|
||||||
* @brief daemonBlockChainHeight - returns daemon blockchain height
|
* @brief daemonBlockChainHeight - returns daemon blockchain height
|
||||||
* @return 0 - in case error communicating with the daemon.
|
* @return 0 - in case error communicating with the daemon.
|
||||||
|
|
Loading…
Reference in New Issue