bitcoin fix wallet

Skip to content Yesterday I wanted to see how some of my Bitcoins were doing.I use Multibit HD 0.4.1.Suddenly MultibitHD showed the whole wallet being unconfirmed.That means that I couldn’t send any Bitcoins or that Multibit HD has lost its bookkeeping.I find this unacceptable.Who can work with a wallet that can’t do the bookkeeping correctly?So first start to fix the issue and then look for a better wallet.I tried to repair the wallet several times but only a part would become confirmed.So, I still couldn’t get at my money.Even restoring from the seed didn’t help.When you look at the issue tracker on Github, you see that a lot more people have issues.Especially the closed issue tracker, leaves people in the dust without their money.These issues have been popping up since October 2016 and I haven’t seen a warning since.A wallet project should do a good disclosure on any bugs it finds and issue a recommendation to stop using the wallet until the issue is found and dealt with.

/keepkey/multibit-hd/issues I was able to extract my bitcoins by downgrading to Multibit 0.1.1 and do a repair of my wallet.I became skeptical after the Multibit people sold the software to KeepKey.Also I needed to repair my wallet last year, which also scared the bejeezus out of me.Any project that produces a wallet that has a big button called “repair” shoudl do a better job.Those worries are now confirmed.Now getting the heck out of here towards a more sane client like electrum.Photo: used and modified under Creative Commons license thanks to BTCKeychain_ Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top up vote down vote favorite 3 -rescan is a command line argument that is passed to the bitcoin client after restoring wallet.dat from backup.Which files get recalculated?Which files does the rescan command read?Why is it a good practice to first download all the blocks, then rescan, and not the other way around?

(as a comment on this answer suggests) bitcoin-core rescan up vote down vote The bitcoin client stores, in the wallet, the transactions that affect coins it manages.If it sees a new transaction, it checks to see if that transaction affects any accounts stored in the wallet.If so, the wallet is updated.Similarly, if the chain is reorganized, the wallet is updated.However, the client doesn't check to make sure the wallet is synchronized to the current block chain.To fix this, the rescan command can be used.This causes the client, on startup, to go through every single block it has downloaded, search for transactions affecting accounts in the wallet, and update the wallet's transaction store and balances to reflect that transaction.There are a few cases when you definitely need to rescan.For example: If you restore a backed up wallet, it will be missing any transactions in blocks you downloaded after you backed up the wallet.Since the client won't receive those blocks (since it already has them) the normal wallet update logic won't fix this.

You will need to rescan.
ethereum cheapIf you modify your wallet, say by adding keys to it or removing transactions from it, the wallet update logic won't see the transactions.
bitcoin mt gox closeSo if you use a program other than the client to modify your wallet, you will need to rescan.
mt gox found bitcoinsTheoretically, it shouldn't matter whether you download all the blocks and then rescan or vice-versa.
bitcoin bits to usdThe client won't download blocks while it's rescanning.
bitcoin plungeAnd newly-downloaded blocks should update the wallet anyway.
asrock bitcoin edition

The logic is basically that this ensures the rescan process sees the blocks containing any missing transactions, rather than the regular block update logic.
ethereum money raised(They should both work.
ethereum payoutBut if you need to rescan, we know something's wrong anyway.)
ethereum payoutup vote down vote This is also useful if you are importing more than 1 private key into your wallet: bitcoind importprivkey 1zbcvs.... "My Label" false bitcoind importprivkey 1zbcvs.... "My Label" false bitcoind importprivkey 1zbcvs.... "My Label" false bitcoind stop # One of the following bitcoind -rescan bitcoin-qt -rescan Your Answer Sign up or log in Sign up using Google Sign up using Email and Password Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged bitcoin-core rescan or ask your own question.Turn your blog into a bank: Let your users deposit, withdraw, and transfer bitcoins and altcoins on your site.At a glance Bitcoin and Altcoin Wallets is a FREE WordPress plugin by dashed-slug.It enables financial transactions on your site via Bitcoins and other cryptocurrencies.Bitcoin and Altcoin Wallets FREE plugin overview This is the core plugin that takes care of basic accounting functionality: Accounting for your users.Data is held on tables in your MySQL database.A financial transaction PHP API: Calls that let the logged in user handle their cryptocurrencies.A JSON API: JSON requests of the above, for logged in users.Simple shortcodes: These let you display frontend UI elements to let logged-in users perform the following common tasks: deposit from the blockchain, withdraw to an external blockchain address, transfer funds to other users (on-site transactions that bypass the blockchain), view a history of past transactions Widgets the same UI elements available via shortcodes can also be used as widgets in your theme.

Configure who has a wallet and who does what using WordPress capabilities.Configure e-mail notifications for users.Configure e-mail confirmations for transactions and optionally confirm transactions via the admin interface.Backup and restore transactions: An import/export functionality to backup transactions to and from CSV files.Extensible architecture Easily install coin adapter plugins to use other cryprocurrencies besides Bitcoin.Easily install extension plugins that talk to the PHP API to provide additional functionality such as payment gateways.Free coin adapter extensions You can extend this plugin to work with other coins if you install coin adapters.Coin adapters are available for free to all subscribers at dashed-slug (you do not have to pay for membership).Feathercoin adapter extension Litecoin Adapter extension Gridcoin Adapter extension block.io Cloud Wallet Adapter extension CoinPayments Adapter extension Premium plugin extensions available today Premium dashed-slug members enjoy unlimited access to all the premium extensions to this plugin (as well as extensions to the SVG Logo and Text Effects FREE WordPress plugin).

Here are all the currently available feature extensions to the Bitcoin and Altcoin Wallets FREE WordPress plugin: Tip the Author extension WooCommerce Cryptocurrency Payment Gateway extension Events Manager Cryptocurrency Payment Gateway extension Premium members also get auto-updates for any installed extensions.Instructions for how to set up auto-updates are here.And here’s a preview of what is to come: A faucet.A way to exchange between various currencies using the CoinPayments API.An interest-paying plugin for investment-type sites.Plugins that reward user engagement.An ad exchange plugin to enable administrators to sell ad spaces and to let advertisers bid for these ad spaces.The dashed-slug.net development is driven by your feedback.Send in your feature requests today.follow the slime The dashed-slug is a social slug: /dashedslug /103549774963556626441 RSS feed: https://www.dashed-slug.net/category/news/feed /channel/UCZ1XhSSWnzvB2B_-Cy1tTjA Donating This is a free plugin.

The dashed-slug is a heroic one-man effort against seemingly insurmountable coding complexities 🙂 Showing your support helps the dashed-slug purchase the necessary coffee for designing, developing, testing, managing and supporting these and more quality WordPress plugins.These are all the ways you can show your support, if you so choose: Become a registered dashed-slug.net member, and enjoy unlimited access to all the premium plugin extensions available, and priority support with any issues.Use the affiliate links that are sprinkled throughout the site and plugins.WordPress is a big software ecosystem.The dashed-slug.net plugins play nicely together with the following awesome products and services: Visual Composer Wordfence block.io CoinPayments.net Report bugs.Spread the word to your friends.If you wish, you may donate any amount via flattr or via Bitcoin at 1DaShEDyeAwEc4snWq14hz5EBQXeHrVBxy.Adapters list - Go to the Wallets menu to see a list of installed coin adapters and their status.Capabilities matrix - Easily control who can do what by assigning WordPress capabilities to your user roles.Confirmation settings - Decide whether internal and external transfers need to be verified by the user over email, an administrator via the admin panel, or both.Cron - Control the recurring background tasks to finetune the plugin's performance.E-mails - Use a simple templating format to edit the email notifications that users receive about their transactions.QR-Codes - Turn on or off the display of QR-codes for deposit addresses.Bitcoin adapter settings - Settings for communicating with the Bitcoin RPC API.

If you install other coin adapters they will have similar panels with settings.Frontend - deposit - The [wallets_deposit] shortcode displays a UI element that lets your users know which address they can send coins to if they wish to deposit to their account.Frontend - move - The [wallets_move] shortcode displays a UI element that lets your users transfer coins to other users on the site.Frontend - withdraw - The [wallets_withdraw] shortcode displays a UI element that lets your users withdraw coins from their account to an external address.Frontend - balance - The [wallets_balance] shortcode displays your users' account balances.Frontend - transactions - The [wallets_transactions] shortcode displays an AJAX-powered table of past transactions affecting the accounts of your users.Overview The installation for the plugin itself is the same as for any WordPress plugin.Additionally, you will have to install and maintain a Bitcoin daemon on your server.This will typically require SSH access and some basic knowledge of UNIX/Linux.

Instructions To Install the plugin and connect it to a Bitcoin full node using the built-in Bitcoin adapter: Make sure that you have the latest WordPress version installed, and that you are running on at least PHP 5.6.Even though the plugin has been tested on WordPress 4.0 and PHP 5.3, for security reasons you are strongly recommended to use the latest version of WordPress and a supported version of PHP.Check to see here if your PHP version is currently supported for security issues.As of 2017, anything below 5.6 has reached its end-of-life and is no longer supported.Install and activate the Wallets plugin.For general information on installing WordPress plugins, you can consult the relevant WordPress documentation.Install a Bitcoin full node on your server.Detailed instructions are available here.Read and follow the instructions carefully.Take note of the memory, disk, and bandwidth requirements and check against the resources available on your server.

If you find that running a full node is too heavy on your server’s resources, please see the FAQ section below for alternative options.Configure the bitcoin adapter on your WordPress installation.Navigate to Wallets → Bitcoin (BTC) in your WordPress admin area.At a minimum you need to enable the adapter and enter the location and credentials to your Bitcoin daemon RPC API.You will need to set the following: IP, Port, User, Password, Path.Configure the bitcoin daemon on your server.You will need to edit your ~/.bitcoin/bitcoin.conf file and make the configuration match what you entered above.The plugin will give you the exact configuration arguments that you need to start the daemon with.For more information on the bitcoin daemon configuration, consult the relevant wiki page.Check that the adapter works.Navigate to the Wallets menu in the admin area.If the Bitcoin Adapter Status reads Responding, then you’re good to go.Note that for a new bitcoind installation, you might have to wait until the entire blockchain downloads first.

This can take a few hours.Again, skip to the FAQ section for other alternatives.Disclaimer By using this free plugin you accept all responsibility for handling the account balances for all your users.Under no circumstances is dashed-slug.net or any of its affiliates responsible for any damages incurred by the use of this plugin.Every effort has been made to harden the security of this plugin, but its safe operation depends on your site being secure overall.You, the site administrator, must take all necessary precautions to secure your WordPress installation before you connect it to any live wallets.You are strongly advised to take the following actions (at a minimum): educate yourself about hardening WordPress security install a security plugin such as Wordfence Enable SSL on your site if you have not already done so.By continuing to use the Bitcoin and Altcoin Wallets plugin, you indicate that you have understood and agreed to this disclaimer.Further reading /Managing_Plugins#Installing_Plugins /en/full-node https://en.bitcoin.it/wiki/Running_Bitcoin Installation Instructions Overview The installation for the plugin itself is the same as for any WordPress plugin.

Further reading /Managing_Plugins#Installing_Plugins /en/full-node https://en.bitcoin.it/wiki/Running_Bitcoin Is it secure?The Bitcoin and Altcoin Wallets plugin is only as secure as your WordPress installation.Regardless of whether you choose to install this plugin, you should have already taken steps to secure your WordPress installation.At a minimum you should do the following: Install a security plugin such as Wordfence.Read the Codex resources on Hardening WordPress.If you are connecting to an RPC API on a different machine than that of your WordPress server over an untrusted network, make sure to tunnel your connection via ssh or stunnel.Do I really need to run a full node?bitcoind is too resource-hungry for my server.Running a full node requires the full blockchain to be downloaded and is best for people who are able to administer a server.Remember that a copy of the blockchain can take tens of GigaBytes on your server, so check your available disk and network resources first.

You currently have the following alternative options: 1.Use the block.io Cloud Wallet Adapter extension 2.Use the CoinPayments Adapter extension 3.Install and configure the bittiraha-walletd wallet.Point your RPC API settings to that wallet.This is a wallet based on bitcoinj and does not store the blockchain locally.How can I integrate the Bitcoin and Altcoin Wallets plugin with my site’s frontend?A number of UI elements are made available for the front-end.Just use the provided widgets in your theme, or insert the following shortcodes in a post or page: deposit funds: wallets_deposit, withdraw funds: wallets_withdraw, transfer funds to other users: wallets_move, view their balance: wallets_balance, view past transactions: wallets_transactions.These shortcodes render knockout.js-enabled forms.The forms only show to users who have the necessary capabilities assigned.I don’t like the built-in forms.Can I provide my own?First of all, the forms can be styled with CSS.

They have convenient HTML classes that you can use.If you wish to create forms with completely different markup, you can provide your own views for these shortcodes.Use the wallets_views_dir filter to override the directory where the views are stored (the default is wallets/includes/views).Most people will not need to do this.I want to do transactions from JavaScript.I don’t want to use the provided shortcodes and their associated forms.The provided built-in forms talk to a JSON API that is available to logged in users.If you choose to build your own front-end UI, you can point your AJAX calls directly to the JSON API.I want to do transactions from the PHP code of my theme or plugin.You can use the PHP API directly.Refer to the documentation for details.How are fees calculated?As a site administrator you set two types of fees for each coin adapter that you enable: transfer fees — These are the fees a user pays when they send funds to other users.These types of transactions do not go on the blockchain, so any fees you set here are subtracted from the sender’s account in addition to the sent amount.

withdrawal fees — This is the amount that is subtracted from a user’s account in addition to the amount that they send to another address on the blockchain.This is NOT the network fee, and you are advised to set the withdrawal fee to an amount that will cover the network fee of a typical transaction, possibly with some slack that will generate a modest profit on your site.To control network fees when running a Bitcoin full node, use the wallet settings in bitcoin.conf: paytxfee, mintxfee, maxtxfee, etc. Refer to the documentation for details.How can I get support or submit feedback? for all issues and inquiries regarding the plugin.For all other communication, please contact info@dashed-slug.net.Work with many Altcoins Very cool plugin.The best are the coin adapters that you can use different coins.Nice good job Read all 3 reviews “Bitcoin and Altcoin Wallets” is open source software.The following people have contributed to this plugin.dashed-slug Translate “Bitcoin and Altcoin Wallets” into your language.Interested in development?Browse the code or subscribe to the development log by RSS.

2.4.1 Fix: When performing actions in transactions admin panel, redirect to that same panel without the action arguments (allows page refresh).Add: PHPdoc for new helper functions introduced in 2.4.0 Add: Text warning about security best practices regarding RPC API communications over untrusted networks.2.4.0 Add: On multisite installs, the plugin can be network-activated.Add: Feature extensions (WooCommerce, EventsManager, Tip the Author, etc) can now place withdrawals or transfers that do not require confirmations.Fix: Broken “Settings” link in plugins list replaced with a working “Wallets” link.2.3.6 Add: When a user requests to withdraw to a known deposit address of another user, an internal move transaction is performed instead.Improve: Frontend transactions in [wallets_transactions] are sorted by descending created time.Improve: Admin transactions list defaults to sorted by descending created time.Add: If a coin adapter does not override the sprintf format for amounts, the format now includes the coin’s symbol letters.

Fix: Uncaught exception when user-unapproving a transaction in admin when it corresponds to a currently disabled adapter.Fix: Uncaught exception when performing wallets_transaction action on a currently disabled adapter.Fix: Suppress a logs warning in Dashed_Slug_Wallets_Coin_Adapter::server_ip().2.3.5 Fix: Withdrawals to addresses that are also deposit addresses on the same system are no longer allowed.Fix: Email notifications for successful withdrawals now correctly report the transaction ID.Fix: Email notifications for failed withdrawals do not report a transaction ID since it does not exist.2.3.4 Improve: Confirmation links can be clicked even if user not logged in.Add: When a transaction is user unaccepted via admin, a new confirmation email is sent.Fix: Unused code cleanup 2.3.3 Fix: Deposit notifications restored after being disabled in 2.3.2 Fix: Only send confirmation emails if DB insert succeeds 2.3.2 Fix: Issue introduced in 2.3.0 where pending (not executed) withdrawals to the same address would fail.

Fix: Unhandled exception when sending a notification email while the corresponding adapter is disabled.Change: CSV import feature only imports transactions with “done” status to maintain DB consistency.2.3.1 Fix: Issue where on some systems MySQL tables were not being updated correctly, resulting in user balances appearing as 0.2.3.0 Add: Administrator panel to show all transactions in the system.Change: The .csv import functionality is now moved to the transactions admin panel.Change: Transaction requests are now decoupled from transaction executions.They are executed by cron jobs in batches of configurable size and frequency.Add: Transactions can require confirmation by an administrator with manage_wallets.Add: Transactions can require the user to click on a link sent by email.Add: Failed transactions are retried a configurable number of times.Add: Transaction retries can be reset by an administrator with manage_wallets.Add: Users can now be notified by email if their transaction fails.

Add: Frontend transactions lists (wallets_transactions UI) now show the TXID.Add: Frontend transaction lists (wallets_transactions UI) are now color coded based on transaction state.Fix: The minimum number of confirmations reported by get_minconf() was always 1 instead of the user-supplied value.Change: Performance improvement in the code that calculates balances for users (function get_balance()).Change: Internal transfers that cause two row inserts are now surrounded by a DB lock and atomic transaction to ensure consistency even in case of an unexpected error.2.2.5 Fix: Administrator capabilities were erroneously being erased in 2.2.4 when editing other role capabilities 2.2.4 Add: User is warned if DISABLE_WP_CRON is set.Fix: Administrator is now unable to remove capabilities from self for safety.Fix: Fees fields were being cleared when the clear button was pressed or after a successful transaction.Fix: Suppress duplicate warnings in logs when inserting existing user address Fix: Moment.js third-party lib was being reminified.

2.2.3 Add: Multisite (aka network) installs now supported Improve: If user does not have wallets capability the frontend is not burdened with wallets scripts or styles Fix: Transactions table has horizontal scrolls (especially useful in the transactions widget) Fix: Added empty index.php files in all directories for added security.2.2.2 Fix: Do not popup error to users who are not logged in 2.2.1 Add: Deposit addresses now also shown as QR-Codes Add: After import show both successful and unsuccessful transaction counts Fix: Users now are not allowed to transfer funds to self Fix: E-mail notifications withdrawals would show timestamps, now show human-readable date/time 2.2.0 Change: Improved coin adapters API.All current adapters need update to the 2.2.0 API.Add: Accompanying PDF documentation now provides instructions for creating a coin adapter (for developers).Fix: Improved front-end error reporting in some cases.Fix: Plugin would not activate on MySQL DBs with collation utf8mb4* Improve: If the PHP cURL module is not installed, any RPC adapters are automatically disabled and the user is warned.

2.1.2 Fix: Errors were not being reported on frontend.(JSON API now always returns status 200 OK even if carrying an error message.)2.1.1 Add: The capabilities matrix is now hookable by extensions Add: Internal transfers can now have unlimited descriptive tags assigned Fix: The get_users_info JSON API now retrieves only users who have capability has_wallets 2.1.0 Add: Capabilities feature lets you assign capabilities to user roles Add: E-mail notifications are now admin-configurable Add: Frontend Widgets Change: Settings tab is now cron tab Change: Better code organisation 2.0.2 Add: Link to homepage and settings page from plugin list Fix: When altering cron duration from admin screens cron job is correctly rescheduled Fix: Cron job is now unscheduled on plugin deactivation Fix: Uninstall script now correctly unschedules cron job Fix: Safer user ID detection (does not depend on wp_load action) Fix: Using sprintf format from adapter in error messages Fix: Typo in error message when insufficient balance for withdraw/move Improve: Better code organisation for admin screens Improve: Safer inserting of new addresses in wallets_address action 2.0.1 Fix: Dates in the [wallets_transactions] UI were not showing correctly in Internet Explorer Improve: Refactored the withdrawal API for compatibility with changes to block.io adapter 1.0.2 2.0.0 Add: Generalised wp_cron mechanism lets coin adapters perform any periodic checks via an optional cron() method.

Improve: Various improvements to the coin adapter API.list_transactions was removed in favor of the generic cron() method.Add: The bitcoind and other RPC API coin adapters do not depend on the notification API to discover deposits.Add: Better admin UI explaining how fees operate.Add: Adapters can now optionally notify the plugin of user-address mappings with the wallets_address action Add: The plugin now warns the admin about using SSL.Fix: The bitcoind built-in adapter now works smoother with the bittiraha lightweight wallet.Fix: Improved user get_balance() in terms of performance and robustness.Fix: Bitcoin RPC API adapter only binds to notification API set to enabled.Fix: Catching an exception when notified about transaction to unknown address.Fix: When transaction tables are locked to perform atomic transactions, the wp_options table is available to coin adapters.1.2.0 Add: Multiple coin adapters per extension and per coin (see release notes) Add: Fail-safe mechanism that periodically checks for deposits that have not been recorded.

Add: New setting panel in admin for settings that are not specific to any coin adapters.Fix: Exceptions thrown during failed deposit notifications are now caught.1.1.0 Add: Compatibility with the prasos/bittiraha-walletd lightweight wallet (see FAQ).Fix: Users who are not logged in are not nagged with an alert box.Shortcode UIs now display “Must be logged in” message instead.Simplified the adapters list.There will be an entire admin panel about the removed information in a future version.Add: Adapters list now gives meaningful errors for unresponsive coin adapters.1.0.6 Made compatible with PHP versions earlier than 5.5 Added warning in readme about running on PHP versions that have reached end-of-life 1.0.5 Deactivate button not shown for built in Bitcoin adapter Added video tutorial to readme 1.0.4 Recommends the configurations needed in your bitcoin.conf Does not recommend command line arguments to bitcoind any more Updated install instructions in readme.txt 1.0.3 Fixed issue where deactivating any plugin would fail due to nonce error 1.0.2 Clearer disclaimer Fixed a broken link 1.0.1 Fixed some string escaping issues 1.0.0 Accounting bitcoind connectivity PHP API JSON API Front-end shortcodes CSV Import/Export