Tranz (OP)
Legendary
Offline
Activity: 1540
Merit: 1060
May the force bit with you.
|
|
March 17, 2014, 11:29:08 PM Last edit: March 17, 2014, 11:40:43 PM by Tranz |
|
Any chance of getting a "top 100 address" list for HBN? Sort of what Blackcoin has. I know that the Sci-Fi coins also have a "top 5" address list on their block explorers as well.
It would be a useful tool to see how heavy individual address are invested and the amount of HBN going in/out of the address.
Although I can understand the need/want for this. I won't be participating. It isn't a lot of complex code, basically putting the known addresses into an array/hash and add/subtracting from them to get current balance. But I don't have a ton of extra time for this. I also think this brings up a privacy and security issues. Since most larger holders are going to want to stake, if I am watching for one of these addresses to start up staking. I know they are online. With some cleaver watching I can begin to narrow down the number of IPs these are coming from. Soon enough I can get that IP, and begin looking for holes to exploit.
|
|
|
|
Fermin
|
|
March 17, 2014, 11:36:44 PM |
|
I love the stake!!
Thanks for the different things that makes a really good coin!
|
|
|
|
otila
|
|
March 17, 2014, 11:50:49 PM |
|
latest git does not link g++ -m64 -fstack-protector-all --param ssp-buffer-size=1 -Wl,-O1 -Wl,-z,relro -o HoboNickels-qt build/txdb-leveldb.o build/bitcoin.o build/bitcoingui.o build/transactiontablemodel.o build/addresstablemodel.o build/optionsdialog.o build/sendcoinsdialog.o build/coincontroldialog.o build/coincontroltreewidget.o build/addressbookpage.o build/signverifymessagedialog.o build/aboutdialog.o build/editaddressdialog.o build/bitcoinaddressvalidator.o build/alert.o build/version.o build/sync.o build/util.o build/netbase.o build/key.o build/script.o build/main.o build/init.o build/net.o build/irc.o build/checkpoints.o build/addrman.o build/db.o build/walletdb.o build/clientmodel.o build/guiutil.o build/transactionrecord.o build/optionsmodel.o build/monitoreddatamapper.o build/transactiondesc.o build/transactiondescdialog.o build/bitcoinstrings.o build/bitcoinamountfield.o build/wallet.o build/walletview.o build/walletstack.o build/keystore.o build/transactionfilterproxy.o build/transactionview.o build/walletmodel.o build/bitcoinrpc.o build/rpcdump.o build/rpcnet.o build/rpcmining.o build/rpcwallet.o build/rpcblockchain.o build/rpcrawtransaction.o build/overviewpage.o build/csvmodelwriter.o build/crypter.o build/sendcoinsentry.o build/qvalidatedlineedit.o build/bitcoinunits.o build/qvaluecombobox.o build/askpassphrasedialog.o build/protocol.o build/notificator.o build/qtipcserver.o build/rpcconsole.o build/noui.o build/kernel.o build/scrypt-x86.o build/scrypt-x86_64.o build/scrypt_mine.o build/pbkdf2.o build/timer.o build/qrc_bitcoin.o build/moc_bitcoingui.o build/moc_transactiontablemodel.o build/moc_addresstablemodel.o build/moc_optionsdialog.o build/moc_coincontroldialog.o build/moc_coincontroltreewidget.o build/moc_sendcoinsdialog.o build/moc_addressbookpage.o build/moc_signverifymessagedialog.o build/moc_aboutdialog.o build/moc_editaddressdialog.o build/moc_bitcoinaddressvalidator.o build/moc_clientmodel.o build/moc_guiutil.o build/moc_optionsmodel.o build/moc_monitoreddatamapper.o build/moc_transactiondesc.o build/moc_transactiondescdialog.o build/moc_bitcoinamountfield.o build/moc_transactionfilterproxy.o build/moc_transactionview.o build/moc_walletmodel.o build/moc_walletstack.o build/moc_walletview.o build/moc_overviewpage.o build/moc_csvmodelwriter.o build/moc_sendcoinsentry.o build/moc_qvalidatedlineedit.o build/moc_qvaluecombobox.o build/moc_askpassphrasedialog.o build/moc_notificator.o build/moc_rpcconsole.o -L/usr/X11R6/lib64 -lminiupnpc /x/HoboNickels/src/leveldb/libleveldb.a /x/HoboNickels/src/leveldb/libmemenv.a -lrt -lssl -lcrypto -ldb_cxx -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lboost_regex -lpthread -lQt5Widgets -lQt5Network -lQt5Gui -lQt5Core -lGL build/main.o: In function `operator==<char, std::char_traits<char>, std::allocator<char> >': /usr/include/c++/4.8.2/bits/basic_string.h:2521: undefined reference to `strMintWarning' build/net.o: In function `ThreadStakeMinter(void*)': /x/HoboNickels/src/net.cpp:1317: undefined reference to `BitcoinMiner(CWallet*, bool)' build/net.o: In function `StartNode(void*)': /x/HoboNickels/src/net.cpp:1903: undefined reference to `GenerateBitcoins(bool, CWallet*)' build/rpcmining.o: In function `setgenerate(CWallet*, std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::string> >, std::allocator<json_spirit::Value_impl<json_spirit::Config_vector<std::string> > > > const&, bool)': /x/HoboNickels/src/rpcmining.cpp:48: undefined reference to `GenerateBitcoins(bool, CWallet*)' ...
|
|
|
|
|
otila
|
|
March 18, 2014, 12:44:33 AM |
|
EDIT: Makefile is the one generated by qmake-qt5. hmm, did not. seems src/miner.cpp was not included in .pro. patch also fixes ambiguity with boost::array , see error below (I use boost-1.55.0). diff --git a/HoboNickels-qt.pro b/HoboNickels-qt.pro index 4199600..b9f7811 100644 --- a/HoboNickels-qt.pro +++ b/HoboNickels-qt.pro @@ -266,6 +266,7 @@ SOURCES += src/qt/bitcoin.cpp src/qt/bitcoingui.cpp \ src/net.cpp \ src/irc.cpp \ src/checkpoints.cpp \ + src/miner.cpp \ src/addrman.cpp \ src/db.cpp \ src/walletdb.cpp \ diff --git a/src/net.cpp b/src/net.cpp index 46803f8..e2e24b0 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -57,7 +57,7 @@ static bool vfLimited[NET_MAX] = {}; static CNode* pnodeLocalHost = NULL; CAddress addrSeenByPeer(CService("0.0.0.0", 0), nLocalServices); uint64 nLocalHostNonce = 0; -array<int, THREAD_MAX> vnThreadsRunning; +boost::array<int, THREAD_MAX> vnThreadsRunning; static std::vector<SOCKET> vhListenSocket; CAddrMan addrman;
src/net.cpp:60:1: error: reference to ‘array’ is ambiguous array<int, THREAD_MAX> vnThreadsRunning; ^ In file included from src/net.h:9:0, from src/main.h:10, from src/db.h:8, from src/net.cpp:7: /usr/include/boost/array.hpp:60:11: note: candidates are: template<class T, long unsigned int N> class boost::array class array { ^ In file included from /usr/include/c++/4.8.2/tuple:39:0, from /usr/include/c++/4.8.2/bits/stl_map.h:63, from /usr/include/c++/4.8.2/map:61, from src/util.h:16, from src/bignum.h:12, from src/main.h:8, from src/db.h:8, from src/net.cpp:7: /usr/include/c++/4.8.2/array:81:12: note: template<class _Tp, long unsigned int _Nm> struct std::array struct array ^ src/net.cpp:60:1: error: ‘array’ does not name a type array<int, THREAD_MAX> vnThreadsRunning; ^
|
|
|
|
Tranz (OP)
Legendary
Offline
Activity: 1540
Merit: 1060
May the force bit with you.
|
|
March 18, 2014, 01:10:16 AM Last edit: March 18, 2014, 01:21:31 AM by Tranz |
|
Thanks. I did fail to upload the new .pro file. I updated it now on github.
I am running a production compile test with qt 5.2 and boost 1.54, right now.
edit: All compiled, and currently bootstrapping the blockchain. Let me know if you have any further issues.
|
|
|
|
|
93under93
Member
Offline
Activity: 64
Merit: 10
|
|
March 18, 2014, 06:15:30 AM |
|
I was just about to post that! I just got an email from them, saying they added to voting. All I had to do was send them a report ticket to get it on there. Fancy that, huh?
|
|
|
|
ryanb
Legendary
Offline
Activity: 1148
Merit: 1000
|
|
March 18, 2014, 02:12:56 PM |
|
|
|
|
|
strawie
|
|
March 18, 2014, 04:56:59 PM |
|
Can I lookup coinage in the actual version 1.3?
|
|
|
|
glendall
Legendary
Offline
Activity: 2198
Merit: 1018
Buzz App - Spin wheel, farm rewards
|
|
March 18, 2014, 05:41:58 PM |
|
THat's great to see but lower bets are needed. The minimum bet is 1000 hbn which is over 0.1 btc which seems pretty high for a min bet (to me anyways).
|
|
|
|
|
Tranz (OP)
Legendary
Offline
Activity: 1540
Merit: 1060
May the force bit with you.
|
|
March 18, 2014, 09:10:09 PM |
|
You can also get more information using 1.3.5.0 You can grab a copy here. https://github.com/Tranz5/HoboNickels/releases pass for zip is beta I'll be releasing another beta version 1.3.6.0 here soon as well. Includes click able icons.
|
|
|
|
Tranz (OP)
Legendary
Offline
Activity: 1540
Merit: 1060
May the force bit with you.
|
|
March 18, 2014, 09:31:51 PM |
|
|
|
|
|
samspaces
Legendary
Offline
Activity: 1453
Merit: 1030
|
|
March 18, 2014, 10:42:52 PM |
|
Hi, a stake-question here. I'm seeing generated stake-coins, but they don't add up to the balance. For every 1 HBN stake, the balance only goes up 0,1 or so.
hobonickelsd getbalance:
555.22071300
hobonickelsd listaccounts " { "" : 749.09307500, "account" : 430.66852400,
What am I missing here? Thanks
Not sure I totally understand your questions. But to answer it in other terms. When block(set of coins) goes into the stake balance of the wallet, it is not usable until 25 confirmations, after that time, you are rewarded for your work, by the interest . It starts at 2.7% at 10 days and can go much higher if your coins take longer to stake. So to get .1 out of 1 would mean your 1 coin took 30+ days to stake and you got 10% interest off of that. Does that help? Hi Tranz, thanks for looking into my question. What I meant was, when I call up 'hobonickelsd listtransactions', I often see staked amounts, for example 2.7. I assumed these were coins, but the staked amounts clearly are not adding up to the total balance. So to formulate it more precise: if in 'listtransactions', one sees a stake amount, what exactly is the number in the 'amount'. "subcategory" : "stake", "amount" : 1.07113700, "confirmations" : 2775, "generated" : true, Thanks!
|
|
|
|
Tranz (OP)
Legendary
Offline
Activity: 1540
Merit: 1060
May the force bit with you.
|
|
March 19, 2014, 01:29:58 AM |
|
Hi, a stake-question here. I'm seeing generated stake-coins, but they don't add up to the balance. For every 1 HBN stake, the balance only goes up 0,1 or so.
hobonickelsd getbalance:
555.22071300
hobonickelsd listaccounts " { "" : 749.09307500, "account" : 430.66852400,
What am I missing here? Thanks
Not sure I totally understand your questions. But to answer it in other terms. When block(set of coins) goes into the stake balance of the wallet, it is not usable until 25 confirmations, after that time, you are rewarded for your work, by the interest . It starts at 2.7% at 10 days and can go much higher if your coins take longer to stake. So to get .1 out of 1 would mean your 1 coin took 30+ days to stake and you got 10% interest off of that. Does that help? Hi Tranz, thanks for looking into my question. What I meant was, when I call up 'hobonickelsd listtransactions', I often see staked amounts, for example 2.7. I assumed these were coins, but the staked amounts clearly are not adding up to the total balance. So to formulate it more precise: if in 'listtransactions', one sees a stake amount, what exactly is the number in the 'amount'. "subcategory" : "stake", "amount" : 1.07113700, "confirmations" : 2775, "generated" : true, Thanks! I understand your question now. So let me try to clarify. The subcategory stake was created by another dev to show if a coin block was generated from stake or from mining. What you see is final balance after a block was sent to stake. So for instance, if I set 5 coins to stake the subcat stake might show 5.2. I gained .2 from interest. Here is an example from my own wallet. account" : "", "category" : "generate", "subcategory" : "stake", "amount" : 5.24914900, "confirmations" : 395, "generated" : true, "blockhash" : "241f156df0eceab05a81a60ee7205f965ccd2c4914fa0542bf45abb21c1547f3", "blockindex" : 1, "blocktime" : 1395179522, "txid" : "2fe98864948771ff91e4a3c5095218e59310f80db6c955a1985056df2b3eebee", http://hbn.blockx.info/tx/2fe98864948771ff91e4a3c5095218e59310f80db6c955a1985056df2b3eebeeTotal in: 5 Number of outputs: 3 (Jump to outputs) Total out: 5.249149 It may need a bit of tweaking change the subcat stake to only show the interest. If that is what you are wanting to get at..
|
|
|
|
|
Makitaki
Member
Offline
Activity: 103
Merit: 10
|
|
March 19, 2014, 11:01:24 AM |
|
Something's not quite right there. tokyoghetto's address has about 77,000 HBN - and it's not in the list.
|
|
|
|
unick
|
|
March 19, 2014, 11:20:31 AM |
|
Something's not quite right there. tokyoghetto's address has about 77,000 HBN - and it's not in the list. it's still updating... it might be another 15 minutes or so before it's up to date
|
|
|
|
presstab
Legendary
Offline
Activity: 1330
Merit: 1000
Blockchain Developer
|
|
March 19, 2014, 02:59:57 PM |
|
Unick is there any way to get around the "too many records to display" message. It is essentially blocking some of the wallets from being seen, and I notice this happens on the other explorer as well.
|
|
|
|
|