Coder Social home page Coder Social logo

embercoin / ember Goto Github PK

View Code? Open in Web Editor NEW

This project forked from emberproject/ember

25.0 25.0 31.0 439.15 MB

Official Ember Blockchain

Home Page: http://embercoin.io/

License: MIT License

Python 0.93% Shell 0.15% NSIS 0.10% C++ 44.29% C 52.08% Makefile 0.22% Assembly 0.89% QMake 0.29% Batchfile 0.01% HTML 0.87% CSS 0.02% Objective-C 0.03% Objective-C++ 0.12%

ember's People

Contributors

embercoin avatar emberproject avatar konez2k avatar mtetreault avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ember's Issues

Syncing Emberwallet on OSX

hi all, i can not seem to find a proper tutorial on how to sync a wallet on OSX, only for Windows.
Can anyone please help me with that?
Thank you.

1.1.5 update for previous linux .deb installs

Hello, Thanks for the new wallet update.

I have previously installed the .deb package (1.1.4) and have noticed that for this update there is only the linux headless package with Emberd. I was under the assumption that Emberd is the non-gui CLI and that Ember-qt is compiled with Emberd baked in. I did do a system-wide search for Emberd but to no avail.

How do we update the previous Ember-qt install with the Emberd file in the headless download?

After Upgrading to v1.1.5 Wallet Balance became 0

After the upgrade to v1.1.5, the balance of my wallet turned 0 and has not been staking
When I check the balance of my wallet, https://www.coinexplorer.net/EMB/address?address=ePM5xogUNqGAZ99P36Wswpbx8BfELMUavJ
the balance shows: 3,440,615.49476999

Upon checking Transactions, I noticed the following which I never seen before.
This appears to be causing the issue of 0 balance but I don't know how to remove it.
Please help me resolve this so I can see my balance & stake it. Thank you:

Status: conflicted
Date: 10/15/2017 12:50
Source: Generated
Debit: 0.00000000 EMB
Net amount: -1113239.99093151 EMB
Transaction ID: 1713531a5b19781780e17ddc3e662fafb4291e3be4d48cb4c6f0c5c7aa007e0c-000

Generated coins must mature 90 blocks before they can be spent. When you generated this block, it was broadcast to the network to be added to the block chain. If it fails to get into the chain, its state will change to "not accepted" and it won't be spendable. This may occasionally happen if another node generates a block within a few seconds of yours.

macOS wallet progress

Seen a lot of interest in this from a bunch of circles, so would be good to have both this alongside planned Windows update for next mid month.
Shall commit some test builds over next week with LibreSSL.

Stake Rewards Overflow

At around 38 million in coin calculation value, a subsidy value gets overflowed to very low payouts.
Credit for finding this bug goes to @TruthSayer

Mac OSX wallet ERROR

Guys I am still getting the error when trying to open this wallet on my Mac. I am not the only one either. Please tell me how to fix. The error image is attached.
screen shot 2017-12-30 at 5 04 26 pm

My Wallet is Offline

At the bottom the screen, it says my wallet is offline and has 0 active connections. How do i fix this on Mac

Gradual downward sloping of reduction in payouts. Begins Nov. 1st at 0:00 UTC til 3 days later when the rate will be 720%.

i hope you have time to answer, but somehow i couldn't find how this is implemented. In the master branch there is some code

int64_t GetProofOfStakeReward(int64_t nCoinAge, int64_t nFees) {
    int64_t nSubsidy = nCoinAge * 7200 * 1000000 * 33 / (365 * 33 + 8);
    //uint256 nSubsidyFactually =
    int64_t n = GetAdjustedTime();
    time_t past = APPROX(2017, 11, 0, 0, 0, 0);
    time_t future = APPROX(2017, 11, 3, 0, 0, 0);
    time_t far_future = APPROX(2018, 11, 0, 0, 0, 0);

    LogPrint("creation", "GetProofOfStakeReward(): create=%s nCoinAge=%d\n", FormatMoney(nSubsidy), nCoinAge);

    return nSubsidy + nFees;
}

but i can't understand how it would act ?
And the source that is attached to the 1.1.3 release looks like to be from the dev branch (though i didn't check exacty), but there the method is different

pre compiled Linux-Binary is mostly unusable because of dynamic libs requirements

The precompiled Linux-Binary is a very bad choice for many peoples...

Reason:

  • It has a dependency for Boost 1.60 instead 1.58
  • It has a dependency for libdb5.3

Acording to the "usual" Ubuntu 14.04 and 16.04 Mining-Users, it makes only sense,
to use the RELEASE=1 or STATIC=1 option for compiling!

Doing so, you always include the libdb and boost related things in a more useful
way. The resulting Binary will then run on nearly all existing Linux-Versions.

Approximation on Stake Time needs improving.

We receive a lot of feedback wondering why the estimated time went up or stalled. We need to calculate the approximation more astutely. Noting here for later once builds get going.

Unusable High CPU Load on Windows and Linux

By using latest daemons, precompiled Windows-QT and self compiled Linux-Version from github
i still have unusual very high cpu utilisation:

core2quad/windows: 3 cores at 30% load avg.
core2duo/linux: 2 cores at >98% load continous, most time 1 core on 100%

The memory consumption instead is in normal range.
I checked with staking on and off, and there is NO difference in the load!

For me, it looks like, that staking is always enabled from the start.
Please can someone check, why there is a so high load, when "doing nothing" ?

I have the continous load, no matter if new blocks received or not. So using the daemon for staking
with other daemons on the same linux machine is useless at the moment, because ember-daemon consumes nearly all available resources. For a blockchain with under 200.000 blocks and a relative
long block time, this is way to much!

get external ip shows 0.0.0.0 in info

i found another bug in the "getinfo":

"connections" : 23,
"proxy" : "",
"ip" : "0.0.0.0",
"difficulty" : {

This is from a ember-daemon behind a nat-router.
It looks like, that the get-external-ip function is not working?
Normaly i know from other daemons, that they made right after startup a call to
a list of stun-servers to get the own external ip. In the ember-log i see no entry for
such a call...

The ip: is correctly shown on a system with a direct internet-connection or a vpn-session
without any NAT.

CheckState Error

ERROR: CheckStake(): Block time check failed, block mined too quickly. Not enough spacing from previous block

Repeated error.
Noticed log entry by @ProjectChaosUK in discord.

IRC connect failed

I can't use Ember Wallet.

OS:Windows10
-----Error-----
irc thread start
ThreadIRCSeed started
updater: Downloading http://www.0xify.com/static/emb/win/x86/_latest_version.txt
IRC connect failed
IRC waiting 71 seconds to reconnect
updater: Error on dl attempt: (2).
updater: Download of http://www.0xify.com/static/emb/win/x86/_latest_version.txt failed: Connection closed
0 addresses found from DNS seeds
dnsseed thread exit
Adding fixed seed nodes as DNS doesn't seem to be available.
IRC connect failed
IRC waiting 138 seconds to reconnect
IRC connect failed
IRC waiting 211 seconds to reconnect
IRC connect failed
IRC waiting 292 seconds to reconnect
IRC connect failed
IRC waiting 381 seconds to reconnect

Input lists , incorrect sort

Hey guys, just noticed that when you are on the input lists, and try to sort by amount, it does not sort by the amount itself, for instance,

1- > 23.306...
2 -> 13mil
3 -> 16mil
4 -> 5 mil
5 -> 5 mil

Build fails with OpenSSL 1.1.0f

bignum.h:57:24: error: invalid use of incomplete type 'BIGNUM {aka struct bignum_st}'
class CBigNum : public BIGNUM
^
In file included from /usr/include/openssl/crypto.h:31:0,
from allocators.h:12,
from serialize.h:22,
from alert.h:9,
from alert.cpp:5:
/usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of 'BIGNUM {aka struct bignum_st}'
typedef struct bignum_st BIGNUM;
^
In file included from chainparams.h:9:0,
from alert.cpp:7:
bignum.h: In constructor 'CBigNum::CBigNum()':
bignum.h:62:21: error: 'BN_init' was not declared in this scope
BN_init(this);
^
bignum.h: In copy constructor 'CBigNum::CBigNum(const CBigNum&)':
bignum.h:67:21: error: 'BN_init' was not declared in this scope
BN_init(this);
^
bignum.h:68:30: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)'
if (!BN_copy(this, &b))
^
bignum.h:70:31: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'void BN_clear_free(BIGNUM*)'
BN_clear_free(this);
^
bignum.h: In member function 'CBigNum& CBigNum::operator=(const CBigNum&)':
bignum.h:77:30: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)'
if (!BN_copy(this, &b))
^
bignum.h: In destructor 'CBigNum::~CBigNum()':
bignum.h:84:27: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'void BN_clear_free(BIGNUM*)'
BN_clear_free(this);
^
bignum.h: In constructor 'CBigNum::CBigNum(signed char)':
bignum.h:88:49: error: 'BN_init' was not declared in this scope
CBigNum(signed char n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^
bignum.h: In constructor 'CBigNum::CBigNum(short int)':
bignum.h:89:49: error: 'BN_init' was not declared in this scope
CBigNum(short n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^
bignum.h: In constructor 'CBigNum::CBigNum(int)':
bignum.h:90:49: error: 'BN_init' was not declared in this scope
CBigNum(int n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^
bignum.h: In constructor 'CBigNum::CBigNum(long int)':
bignum.h:91:49: error: 'BN_init' was not declared in this scope
CBigNum(long n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^
bignum.h: In constructor 'CBigNum::CBigNum(long long int)':
bignum.h:92:49: error: 'BN_init' was not declared in this scope
CBigNum(long long n) { BN_init(this); setint64(n); }
^
bignum.h: In constructor 'CBigNum::CBigNum(unsigned char)':
bignum.h:93:49: error: 'BN_init' was not declared in this scope
CBigNum(unsigned char n) { BN_init(this); setulong(n); }
^
bignum.h: In constructor 'CBigNum::CBigNum(short unsigned int)':
bignum.h:94:49: error: 'BN_init' was not declared in this scope
CBigNum(unsigned short n) { BN_init(this); setulong(n); }
^
bignum.h: In constructor 'CBigNum::CBigNum(unsigned int)':
bignum.h:95:49: error: 'BN_init' was not declared in this scope
CBigNum(unsigned int n) { BN_init(this); setulong(n); }
^
bignum.h: In constructor 'CBigNum::CBigNum(long unsigned int)':
bignum.h:96:49: error: 'BN_init' was not declared in this scope
CBigNum(unsigned long n) { BN_init(this); setulong(n); }
^
bignum.h: In constructor 'CBigNum::CBigNum(long long unsigned int)':
bignum.h:97:49: error: 'BN_init' was not declared in this scope
CBigNum(unsigned long long n) { BN_init(this); setuint64(n); }
^
bignum.h: In constructor 'CBigNum::CBigNum(uint256)':
bignum.h:98:49: error: 'BN_init' was not declared in this scope
explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); }
^
bignum.h: In constructor 'CBigNum::CBigNum(const std::vector&)':
bignum.h:102:21: error: 'BN_init' was not declared in this scope
BN_init(this);
^
bignum.h: In static member function 'static CBigNum CBigNum::randBignum(const CBigNum&)':
bignum.h:113:39: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_rand_range(BIGNUM*, const BIGNUM*)'
if(!BN_rand_range(&ret, &range)){
^
bignum.h: In static member function 'static CBigNum CBigNum::RandKBitBigum(uint32_t)':
bignum.h:125:35: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_rand(BIGNUM*, int, int, int)'
if(!BN_rand(&ret, k, -1, 0)){
^
bignum.h: In member function 'int CBigNum::bitSize() const':
bignum.h:136:33: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_num_bits(const BIGNUM*)'
return BN_num_bits(this);
^
bignum.h: In member function 'void CBigNum::setulong(long unsigned int)':
bignum.h:142:33: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_set_word(BIGNUM*, long unsigned int)'
if (!BN_set_word(this, n))
^
bignum.h: In member function 'long unsigned int CBigNum::getulong() const':
bignum.h:148:32: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'long unsigned int BN_get_word(const BIGNUM*)'
return BN_get_word(this);
^
bignum.h: In member function 'unsigned int CBigNum::getuint() const':
bignum.h:153:32: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'long unsigned int BN_get_word(const BIGNUM*)'
return BN_get_word(this);
^
bignum.h: In member function 'int CBigNum::getint() const':
bignum.h:158:43: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'long unsigned int BN_get_word(const BIGNUM*)'
unsigned long n = BN_get_word(this);
^
bignum.h:159:33: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_is_negative(const BIGNUM*)'
if (!BN_is_negative(this))
^
In file included from chainparams.h:9:0,
from alert.cpp:7:
bignum.h: In member function 'void CBigNum::setint64(int64_t)':
bignum.h:205:37: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '3' to 'BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)'
BN_mpi2bn(pch, p - pch, this);
^
bignum.h: In member function 'uint64_t CBigNum::getuint64()':
bignum.h:210:50: error: cannot convert 'CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_bn2mpi(const BIGNUM*, unsigned char*)'
unsigned int nSize = BN_bn2mpi(this, NULL);
^
bignum.h:214:32: error: cannot convert 'CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_bn2mpi(const BIGNUM*, unsigned char*)'
BN_bn2mpi(this, &vch[0]);
^
bignum.h: In member function 'void CBigNum::setuint64(uint64_t)':
bignum.h:247:37: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '3' to 'BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)'
BN_mpi2bn(pch, p - pch, this);
^
bignum.h: In member function 'void CBigNum::setuint256(uint256)':
bignum.h:275:37: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '3' to 'BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)'
BN_mpi2bn(pch, p - pch, this);
^
bignum.h: In member function 'uint256 CBigNum::getuint256() const':
bignum.h:280:50: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_bn2mpi(const BIGNUM*, unsigned char*)'
unsigned int nSize = BN_bn2mpi(this, NULL);
^
bignum.h:284:32: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_bn2mpi(const BIGNUM*, unsigned char*)'
BN_bn2mpi(this, &vch[0]);
^
bignum.h: In member function 'void CBigNum::setvch(const std::vector&)':
bignum.h:306:46: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '3' to 'BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)'
BN_mpi2bn(&vch2[0], vch2.size(), this);
^
bignum.h: In member function 'std::vector CBigNum::getvch() const':
bignum.h:311:50: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_bn2mpi(const BIGNUM*, unsigned char*)'
unsigned int nSize = BN_bn2mpi(this, NULL);
^
bignum.h:315:32: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_bn2mpi(const BIGNUM*, unsigned char*)'
BN_bn2mpi(this, &vch[0]);
^
bignum.h: In member function 'CBigNum& CBigNum::SetCompact(unsigned int)':
bignum.h:329:44: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '3' to 'BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)'
BN_mpi2bn(&vch[0], vch.size(), this);
^
bignum.h: In member function 'unsigned int CBigNum::GetCompact() const':
bignum.h:335:50: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_bn2mpi(const BIGNUM*, unsigned char*)'
unsigned int nSize = BN_bn2mpi(this, NULL);
^
bignum.h:338:32: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_bn2mpi(const BIGNUM*, unsigned char*)'
BN_bn2mpi(this, &vch[0]);
^
bignum.h: In member function 'std::__cxx11::string CBigNum::ToString(int) const':
bignum.h:383:35: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'void BN_set_negative(BIGNUM*, int)'
BN_set_negative(&bn, false);
^
bignum.h:386:29: error: cannot convert 'CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)'
if (BN_cmp(&bn, &bn0) == 0)
^
bignum.h:388:32: error: cannot convert 'CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)'
while (BN_cmp(&bn, &bn0) > 0)
^
bignum.h:390:54: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)'
if (!BN_div(&dv, &rem, &bn, &bnBase, pctx))
^
bignum.h:396:32: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_is_negative(const BIGNUM*)'
if (BN_is_negative(this))
^
bignum.h: In member function 'CBigNum CBigNum::pow(const CBigNum&) const':
bignum.h:443:41: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_exp(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)'
if (!BN_exp(&ret, this, &e, pctx))
^
bignum.h: In member function 'CBigNum CBigNum::mul_mod(const CBigNum&, const CBigNum&) const':
bignum.h:456:49: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_mod_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)'
if (!BN_mod_mul(&ret, this, &b, &m, pctx))
^
bignum.h: In member function 'CBigNum CBigNum::pow_mod(const CBigNum&, const CBigNum&) const':
bignum.h:474:56: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_mod_exp(BIGNUM*, const BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)'
if (!BN_mod_exp(&ret, &inv, &posE, &m, pctx))
^
bignum.h:477:53: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_mod_exp(BIGNUM*, const BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)'
if (!BN_mod_exp(&ret, this, &e, &m, pctx))
^
bignum.h: In member function 'CBigNum CBigNum::inverse(const CBigNum&) const':
bignum.h:492:49: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'BIGNUM* BN_mod_inverse(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)'
if (!BN_mod_inverse(&ret, this, &m, pctx))
^
bignum.h: In static member function 'static CBigNum CBigNum::generatePrime(unsigned int, bool)':
bignum.h:505:81: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_generate_prime_ex(BIGNUM*, int, int, const BIGNUM*, const BIGNUM*, BN_GENCB*)'
if(!BN_generate_prime_ex(&ret, numBits, (safe == true), NULL, NULL, NULL))
^
bignum.h: In member function 'CBigNum CBigNum::gcd(const CBigNum&) const':
bignum.h:518:41: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_gcd(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)'
if (!BN_gcd(&ret, this, &b, pctx))
^
bignum.h: In member function 'bool CBigNum::isPrime(int) const':
bignum.h:531:19: warning: 'int BN_is_prime(const BIGNUM*, int, void ()(int, int, void), BN_CTX*, void*)' is deprecated [-Wdeprecated-declarations]
int ret = BN_is_prime(this, checks, NULL, pctx, NULL);
^
In file included from /usr/include/openssl/bn.h:31:0,
from bignum.h:13,
from chainparams.h:9,
from alert.cpp:7:
/usr/include/openssl/bn.h:291:1: note: declared here
DEPRECATEDIN_0_9_8(int
^
In file included from chainparams.h:9:0,
from alert.cpp:7:
bignum.h:531:19: warning: 'int BN_is_prime(const BIGNUM*, int, void ()(int, int, void), BN_CTX*, void*)' is deprecated [-Wdeprecated-declarations]
int ret = BN_is_prime(this, checks, NULL, pctx, NULL);
^
In file included from /usr/include/openssl/bn.h:31:0,
from bignum.h:13,
from chainparams.h:9,
from alert.cpp:7:
/usr/include/openssl/bn.h:291:1: note: declared here
DEPRECATEDIN_0_9_8(int
^
In file included from chainparams.h:9:0,
from alert.cpp:7:
bignum.h:531:61: warning: 'int BN_is_prime(const BIGNUM*, int, void ()(int, int, void), BN_CTX*, void*)' is deprecated [-Wdeprecated-declarations]
int ret = BN_is_prime(this, checks, NULL, pctx, NULL);
^
In file included from /usr/include/openssl/bn.h:31:0,
from bignum.h:13,
from chainparams.h:9,
from alert.cpp:7:
/usr/include/openssl/bn.h:291:1: note: declared here
DEPRECATEDIN_0_9_8(int
^
In file included from chainparams.h:9:0,
from alert.cpp:7:
bignum.h:531:61: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_is_prime(const BIGNUM*, int, void ()(int, int, void), BN_CTX*, void*)'
int ret = BN_is_prime(this, checks, NULL, pctx, NULL);
^
bignum.h: In member function 'bool CBigNum::isOne() const':
bignum.h:539:30: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_is_one(const BIGNUM*)'
return BN_is_one(this);
^
bignum.h: In member function 'bool CBigNum::operator!() const':
bignum.h:545:31: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_is_zero(const BIGNUM*)'
return BN_is_zero(this);
^
bignum.h: In member function 'CBigNum& CBigNum::operator+=(const CBigNum&)':
bignum.h:550:35: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)'
if (!BN_add(this, this, &b))
^
bignum.h: In member function 'CBigNum& CBigNum::operator*=(const CBigNum&)':
bignum.h:564:41: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)'
if (!BN_mul(this, this, &b, pctx))
^
bignum.h: In member function 'CBigNum& CBigNum::operator<<=(unsigned int)':
bignum.h:583:41: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_lshift(BIGNUM*, const BIGNUM*, int)'
if (!BN_lshift(this, this, shift))
^
bignum.h: In member function 'CBigNum& CBigNum::operator>>=(unsigned int)':
bignum.h:594:28: error: cannot convert 'CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)'
if (BN_cmp(&a, this) > 0)
^
bignum.h:600:41: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_rshift(BIGNUM*, const BIGNUM*, int)'
if (!BN_rshift(this, this, shift))
^
bignum.h: In member function 'CBigNum& CBigNum::operator++()':
bignum.h:609:47: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)'
if (!BN_add(this, this, BN_value_one()))
^
bignum.h: In member function 'CBigNum& CBigNum::operator--()':
bignum.h:626:45: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_sub(BIGNUM*, const BIGNUM*, const BIGNUM*)'
if (!BN_sub(&r, this, BN_value_one()))
^
bignum.h: In function 'const CBigNum operator+(const CBigNum&, const CBigNum&)':
bignum.h:653:27: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)'
if (!BN_add(&r, &a, &b))
^
bignum.h: In function 'const CBigNum operator-(const CBigNum&, const CBigNum&)':
bignum.h:661:27: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_sub(BIGNUM*, const BIGNUM*, const BIGNUM*)'
if (!BN_sub(&r, &a, &b))
^
bignum.h: In function 'const CBigNum operator-(const CBigNum&)':
bignum.h:669:43: error: cannot convert 'CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_is_negative(const BIGNUM*)'
BN_set_negative(&r, !BN_is_negative(&r));
^
bignum.h: In function 'const CBigNum operator*(const CBigNum&, const CBigNum&)':
bignum.h:677:33: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)'
if (!BN_mul(&r, &a, &b, pctx))
^
bignum.h: In function 'const CBigNum operator/(const CBigNum&, const CBigNum&)':
bignum.h:686:39: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)'
if (!BN_div(&r, NULL, &a, &b, pctx))
^
bignum.h: In function 'const CBigNum operator%(const CBigNum&, const CBigNum&)':
bignum.h:695:35: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_nnmod(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)'
if (!BN_nnmod(&r, &a, &b, pctx))
^
bignum.h: In function 'const CBigNum operator<<(const CBigNum&, unsigned int)':
bignum.h:703:33: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_lshift(BIGNUM*, const BIGNUM*, int)'
if (!BN_lshift(&r, &a, shift))
^
bignum.h: In function 'bool operator==(const CBigNum&, const CBigNum&)':
bignum.h:715:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)'
inline bool operator==(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) == 0); }
^
bignum.h: In function 'bool operator!=(const CBigNum&, const CBigNum&)':
bignum.h:716:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)'
inline bool operator!=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) != 0); }
^
bignum.h: In function 'bool operator<=(const CBigNum&, const CBigNum&)':
bignum.h:717:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)'
inline bool operator<=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) <= 0); }
^
bignum.h: In function 'bool operator>=(const CBigNum&, const CBigNum&)':
bignum.h:718:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)'
inline bool operator>=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) >= 0); }
^
bignum.h: In function 'bool operator<(const CBigNum&, const CBigNum&)':
bignum.h:719:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)'
inline bool operator<(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) < 0); }
^
bignum.h: In function 'bool operator>(const CBigNum&, const CBigNum&)':
bignum.h:720:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)'
inline bool operator>(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) > 0); }
^
In file included from chainparams.h:11:0,
from alert.cpp:7:
util.h: At global scope:
util.h:157:15: warning: 'double quad_ease_io(double)' defined but not used [-Wunused-function]
static double quad_ease_io(double t) {
^
util.h:164:14: warning: 'float lerp(double, double, double)' defined but not used [-Wunused-function]
static float lerp(double a, double b, double f) {
^
makefile.unix:192: recipe for target 'obj/alert.o' failed
make: *** [obj/alert.o] Error 1

Same issue as here:
steemit/steem#1201

To much logspam with default settings

On latest code i noted an enormous logspam from the stake-miner.
Please correct the default-setting to the usual settings and disable the logfile upfilling
stake-miner debug-messages.

High CPU Usage

Hello, I am running the ember wallet on Debian Stretch. Everything is fine except there seems to be a bug causing the wallet CPU usage to fluctuate between 70 - 100%.

Unable to sync on Ubuntu 16.04

I start the node on ubuntu16.04 and stand for several hours, but connection can not be found.
Please give me some advice for sync?

testuser@ember: $
./Emberd getinfo
{
"version" : "v1.1.4.0-gv1.1.4.0",
"protocolversion" : 77777,
"walletversion" : 60000,
"balance" : 0.00000000,
"newmint" : 0.00000000,
"stake" : 0.00000000,
"blocks" : 0,
"timeoffset" : 0,
"moneysupply" : 0.00000000,
"connections" : 0,
"proxy" : "",
"ip" : "xxx.xxx.xxx.xxx",
"difficulty" : {
"proof-of-work" : 0.00024414,
"proof-of-stake" : 0.00024414
},
"testnet" : false,
"keypoololdest" : 1507506600,
"keypoolsize" : 101,
"paytxfee" : 0.00010000,
"mininput" : 0.00000000,
"errors" : ""
}
testuser@ember:~$

rpcuser=xxx
rpcpassword=xxx
server=1
daemon=1
port=10024
rpcport=10022
rpcallowip=*
addnode=54.209.38.230:10024
addnode=27.120.85.170:10024
addnode=173.177.158.73:10024
addnode=65.35.63.8:10024
addnode=103.53.231.85:10024
addnode=104.168.145.223:10024
addnode=104.223.72.159:10024
addnode=105.102.174.173:10024
addnode=108.61.103.22:10024

testuser@ember:$more
/etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"

testuser@ember:$
sudo ufw status
Status: active
To Action From
22 ALLOW Anywhere
10022 ALLOW Anywhere
10024 ALLOW Anywhere
22 (v6) ALLOW Anywhere (v6)
10022 (v6) ALLOW Anywhere (v6)
10024 (v6) ALLOW Anywhere (v6)

maxconnections= still ignored on last version

I noted, that the maxconnection-setting is still ignored.
I set maxconnections=20 - i got 35, i set 15, i got 22, i set 10 and i got 20 after few hours.
same result on linux and windows

Unable to install Ember coin wallet in aws.amazon.com

Unable to install Ember coin wallet in aws.amazon.com , I would like to install Ember coin wallet in aws.amazon.com for POS. Please help provide steps to install Ember coin wallet in aws.amazon.com.

Thanks now I am able to install it.

No network connections (unable to sync)

From debug log...

Ember version v1.1.5.2-gv1.1.5.2 (Nov 30, 2017)
Using OpenSSL version LibreSSL 2.6.3
Startup time: 01/02/18 13:27:57
Default data directory C:\Users\XXXXX\AppData\Roaming\Ember
Used data directory C:\Users\XXXXX\AppData\Roaming\Ember
init message: Verifying database integrity...
dbenv.open LogDir=C:\Users\XXXXX\AppData\Roaming\Ember\database ErrorFile=C:\Users\XXXXX\AppData\Roaming\Ember\db.log
Bound to [::]:10024
Bound to 0.0.0.0:10024
init message: Loading block index...
Opening LevelDB in C:\Users\XXXXX\AppData\Roaming\Ember\txleveldb
Transaction index version is 70509
Opened LevelDB successfully
LoadBlockIndex(): hashBestChain=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX height=0 trust=1048577 date=10/15/16 12:00:00
LoadBlockIndex(): synchronized checkpoint XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Verifying last 0 blocks at level 1
block index 22ms
init message: Loading wallet...
nFileVersion = 1010502
Keys: 0 plaintext, 201 encrypted, 201 w/ metadata, 201 total
wallet 15ms
init message: Loading addresses...
Loaded 0 addresses from peers.dat 32ms
mapBlockIndex.size() = 1
nBestHeight = 0
setKeyPool.size() = 100
mapWallet.size() = 0
mapAddressBook.size() = 1
AddLocal([2001:0:4137:9e76:102e:b1de:b854:8957]:10024,1)
dnsseed thread start
Loading addresses from DNS seeds (could take a while)
net thread start
upnp thread start
msghand thread start
opencon thread start
addcon thread start
dumpaddr thread start
init message: Done loading
UPnP: ExternalIPAddress = 71.XXX.XXX.XXX
AddLocal(771.XXX.XXX.XXX:10024,3)
UPnP Port Mapping successful.
Adding fixed seed nodes as DNS doesn't seem to be available.

maxconnection=x is ignored or wrong checked

With version 1.1.3 "maxconnections=20" don´t connect to the network when maxconnections is smaler then 75. By using Version 1.1.4 i can set maxconnection=25 - but in reality it has more then 50 connections and still counting. So the maxconnection-settings is borked and ignored in the last two releases.

Warning on Startup


Ember - Warning

Warning: error reading wallet.dat! All keys read correctly, but transaction data or address book entries might be missing or incorrect.

OK

Unable to sync wallet

I'm starting using ember wallet just after the update. I downloaded and started it but the status don't change to synchronized. I also tried to deposit some coins there but nothing happened. How do i "turn it on?"

Thanks!

Build Fails

txdb-leveldb.h:15:24: fatal error: leveldb/db.h: No such file or directory
compilation terminated.
makefile.unix:192: recipe for target 'obj/checkpoints.o' failed
make: *** [obj/checkpoints.o] Error 1

Verify the Math

We need to check the math of this entire coin's curve. There are some inconsistencies that result when a dev "gets hit by a bus" and the coin has exceeded planned lifetime.

Error when compiling wallet for Ubuntu

Error when compiling wallet for Ubuntu

When I try to compile with below command

make -f makefile.unix

I got many Error like below

bitcoind.cpp: In function ‘bool AppInit(int, char**)’:
bitcoind.cpp:34:5: error: ‘argv0’ was not declared in this scope
argv0 = argv[0];
^
bitcoind.cpp: In function ‘int main(int, char**)’:
bitcoind.cpp:130:2: error: ‘argv0’ was not declared in this scope
argv0 = argv[0];
^
makefile.unix:192: recipe for target 'obj/bitcoind.o' failed
make: *** [obj/bitcoind.o] Error 1

I deleted two lines and passed......

net.cpp: In member function ‘bool CNode::RecvMsg(char*, int32_t)’:
net.cpp:134:32: error: ‘WSAECONNRESET’ was not declared in this scope
if (!fDisconnect || nErr != WSAECONNRESET) {
^
makefile.unix:192: recipe for target 'obj/net.o' failed
make: *** [obj/net.o] Error 1

deleted || nErr != WSAECONNRESET then passed

obj/init.o: In function boost::_bi::bind_t<void, void (*)(char const*, void (*)()), boost::_bi::list2<boost::_bi::value<char const*>, boost::_bi::value<void (*)()> > >::bind_t(void (*)(char const*, void (*)()), boost::_bi::list2<boost::_bi::value<char const*>, boost::_bi::value<void (*)()> > const&)': /usr/include/boost/bind/bind.hpp:1158: undefined reference to ThreadIRCSeed()'
collect2: error: ld returned 1 exit status
makefile.unix:206: recipe for target 'Emberd' failed
make: *** [Emberd] Error 1

I cannot fix this error

Please help me to build

Still sync-problems on Linux and Windows

Acording to the usual sync-problems on Linux and Windows i have seen,
that the Sync hangs mostly on a Blockchain that is generally up-to-date.
The Sync is starting again often only when a NEW block comes in.
By the actual slow blocktime it results in a few minutes delay to get in sync again.

I monitored Linux and Windows with the same config/peers and blockchain hight
directly after startup and booth daemons are hanging nearly 8 Minutes.
When a new valid block comes in, and booth systems was in sync in only 2 seconds.

By the way, at the time of "waiting for nothing" the load is always nearly 100%

  • when staking is still off! (Problem described in another ticket)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.