Comments (13)
It works in the console if I add a label. If I do it via RPC, it still times out (with or without the label), but if I kill the BlackCoin-qt process and reopen it, it ultimately added it. However, the RPC is still broken :(
from blackcoin-old.
After importprivkey, the wallet will trigger rescan, which will scan the entire blockchain, and the process will take 5 - 15 minutes and even more depending on your processing power.
However you can disable the rescan by importprivkey <blackcoinprivkey> rescan=false
FYI: The syntax for importprivkey is
importprivkey <blackcoinprivkey> [label] [rescan=true]
from blackcoin-old.
The wallet will not respond to the RPC until the rescan is complete, that's why it cause timeout
from blackcoin-old.
rescan is needed if there is fund in the address corresponded to the privkey prior to the import.
However, if the privkey is newly generated, then there is no reason to rescan it. For example, rescan is set to false
in the blackshare project. https://github.com/doetsch/blackshares/blob/master/src/wallet.cpp#L2675
from blackcoin-old.
more information here: bitcoin/bitcoin#1085
from blackcoin-old.
That makes sense. But does the Mac OS X version support setting the rescan
to false
? I just get this response: importprivkey <blackcoinprivkey> [label]
. If I try either importprivkey 69UKv8ib5CNNr9DPjiPCkAHMLeoZMkFi13j9wGPThiDBSwodyQX afafa rescan=false
or importprivkey 69UKv8ib5CNNr9DPjiPCkAHMLeoZMkFi13j9wGPThiDBSwodyQX afafa false
.
from blackcoin-old.
Hmmm, looks like it does... https://github.com/rat4/blackcoin/blob/d7b2fa94ae48812fb7d747f7e48e956996e5b3e5/src/rpcdump.cpp#L110
from blackcoin-old.
It does, however the rescan flag was added in v1.1.2
from blackcoin-old.
The wallet will not respond to the RPC until the rescan is complete, that's why it cause timeout
Actually, the fact that this does this is pretty poor design. I assume this is a relic of an older Bitcoin-qt design?
- Why does the UI lock up if no label is passed?
- @rat4 Can you post the
v1.1.2
Mac OS X client?
Thanks, this functionality is needed for an app I'm writing.
from blackcoin-old.
- Why does the UI lock up if no label is passed?
I've tested this on latest codebase and haven't noticed a difference if
the label is passed or not.
- @rat4 https://github.com/rat4 Can you post the |v1.1.2| Mac OS X
client?
Mac build was provided by a community member, but he's no longer active.
- How long is it expected for the rescan to take?
The bigger (already synchronized part of the) blockchain the longer
rescan takes.
from blackcoin-old.
Mac build was provided by a community member, but he's no longer active.
Does this mean that Mac builds will no longer be provided? i.e. Is Mac no longer supported by BlackCoin?
from blackcoin-old.
I'm working on building the mac client but been working on it on the weekends. So not all hope is lost on mac builds. Any help would be wondervol.
from blackcoin-old.
@jprichardson If you just need the blackcoind, it can be eassily compiled using macports. #39 However, it seems that there is some bugs in macports that prevent the building of QT wallet
from blackcoin-old.
Related Issues (20)
- QR code option is displayed even if not compiled HOT 1
- Menubar is missing in linux QT HOT 7
- build win wallet error HOT 13
- Trying to reach you HOT 1
- compile error HOT 5
- nStakeMinAge still referenced in GetWeight HOT 1
- "misbehaving" false detection and submitblock
- UPNP HOT 2
- Yearly inflation is not 1% as described in whitepaper HOT 2
- watchonly branch is one year out of date HOT 2
- blackcoinclient - windows - not syncing
- blackcoin client 1.2.1 (qt, windows8) crashes on importprivkey HOT 1
- how to make a genesis block?
- How to mine the Genesis Block, who can give some advice?
- Add removeaddress for watchonly branch
- Compile with mxe on Linux a Windows Wallet (.exe) not successfully HOT 1
- harden blackcoin to be post quantum cryptography safe HOT 10
- i reported an exception,when i create a transaction and write OP_RETURN to this transaction , please help me. #11
- DontgoIt created blocks up to a point then stopped. I was able to use the mouse-over display to see what block it was on when it stalled and then restart it. It didn't generate a debug.log and I didn't think to create one. :-( The odd thing was it was 10 days or so out of date. It synced in one try up to 5 days out of date and that's where it stalled. I had unlocked the wallet for staking right off the bat. It also showed a green check mark for staking. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blackcoin-old.