CryptoCoinsInfoClub.com

Geth Change Blockchain Directory

Change Blockchain Directory To Second Hdd? : Ethereum

Change Blockchain Directory To Second Hdd? : Ethereum

Welcome to r/Ethereum , the front page of the Web 3. No inappropriate behavior. This includes, but is not limited to: personal attacks, threats of violence, gossip, slurs of any kind, posting people's private information. Keep price discussion and market talk, memes & exchanges to subreddits such as /r/ethtrader Keep plain ICO advertisements to subreddits such as r/ethinvestor . Keep mining discussion to subreddits such as /r/EtherMining . No creating multiple accounts to get around Reddit rules. English language only. Please provide accurate translations where appropriate. Posts and comments must be made from an account at least 10 days old with a minimum of 20 comment karma. Exceptions may be made on a discretionary basis. Continue reading >>

How To: Create Your Own Private Ethereum Blockchain

How To: Create Your Own Private Ethereum Blockchain

How To: Create Your Own Private Ethereum Blockchain Releasing a Dust Server update today to include client local time zone based login rewards Android and iOS client updates are currently in QA and will release next week including promoted blasts now marked as promoted, legacy Dusters will now get rewards, and other performance enhancements and bug fixes. Designing analytics of rewards in preparation for switching to mainnet Developing method of paying Ethereum gas costs with an ERC-20 token Researching different mechanisms for storing content on the blockchain This post marks the first in a new How To series were starting in an effort to provide some easy to read instructions covering topics our developers found particularly ill-documented online. As we move beyond the token sale, our focus now is helping other developer teams interested in integrating GMT into their apps. To that end, were ramping up our technical content production to make it easier to onboard new developers looking to try their hand with blockchain technology. If you have a particular topic youd like to see detailed in a How To post, wed love to hear from you at [email protected] This is a guide for starting your own custom Ethereum blockchain on Mac, not to be confused with starting a node on the main Ethereum blockchain. Here we are starting an entirely new and separate blockchain that cannot interact with Ethereum mainnet. Starting your own Ethereum blockchain is useful, educational, and safer than the public testnet. Learning to set up a private testnet provides tangibility to otherwise abstract concepts such as mining, network peers, and even the geth datadir. ruby -e $(curl -fsSL chainId this is your chains identifier, and is used in replay protection. homesteadBlock, eip155Block, eip Continue reading >>

How To Backup Your Ethereum Wallet And The Blockchain

How To Backup Your Ethereum Wallet And The Blockchain

All About BTC, LTC, ETH mining as well as other alternative crypto currencies How to Backup Your Ethereum Wallet and the Blockchain Just like with Bitcoins wallet.dat file that contains your wallet address and keys and that you need to backup for safety reasons, Ethereum also has a similar wallet file that you should have a spare copy of. With Ethereum the wallet file has a bit weird name and is not just called wallet.dat, but it has essentially the same purpose and the file works essentially the same way as the wallet.dat with Bitcoin and many other alternative crypto coins. Ethereums wallet file is stored in the data directory used by the client to store the blockchain and other files, the default locations for the datadir on different operating systems are listed below. Windows: %USERPROFILE%\AppData\Roaming\Ethereum To get the full path of the data directory on your specific system you can run the geth console and type admin.datadir and you will see a result like on the screenshot above with the full path. Note that the wallet file is not stored in the main datadir folder, but is instead placed in a separate folder under it called keystore. Inside that folder you should see a file with a long name starting with UTC--2015..., this is the wallet file you need to backup. Do note that aside from the wallet file itself you will also need to remember the password (or also back it up along the wallet) that you set when creating your account, without the password needed to unlock it the wallet file wont be of much use. If you are moving your Ethereum installation over to a different computer or want to have a copy on another system for solo mining for example, aside from a copy of the wallet file you may also want to make a copy of the blockchain, so that the geth client w Continue reading >>

Devchain

Devchain

Private Ethereum blockchain creator and development geth server With devchain you can easily create your own private Ethereum blockchains and private networks. The setup needed is abstracted away, and you can create multiple private blockchains in seconds! devchain is great for development because you can adjust mining difficulty and keep your blockchain state over multiple sessions, Plus, since you're using a real geth node, production release on geth will be a breeze! You can also quickly set up your own private networks to test on. Additionally, a Javascript file is preloaded into geth that gives you a ton of useful features. It automates account creation, distributing Ether to your accounts, and mining for transactions. It also displays transaction info and contains an object (dev) containing helper methods such as showing account balances and transferring Ether between your accounts. The first time you use the command it will initialize devchain. In your current directory this will create a folder called devchain/, a file called devgenesis.json, and a file called devconfig.js. The folder will contain your Ethereum blockchain data such as blocks and accounts. The file devgenesis.json is your blockchain's genesis file, which contains the data for the blockchain's first block. Go here to learn more about the genesis file. The genesis file's most useful property is the "difficulty". The difficulty refers to how fast new blocks can be mined. You can set a low difficulty for development purposes or a high difficulty to mimic actual production. The file devconfig.js lets you adjust the options of the geth preload script and the geth server options. The default options are shown below. All command options will overwrite the config file's expect staticNodes, which gets add Continue reading >>

Ethereum: Using The Wallet With A Private Geth Node

Ethereum: Using The Wallet With A Private Geth Node

Ethereum: Deploying to a Private Blockchain This step may be optional depending on your situation. If youve had geth running in a dev environment for a while then its worth checking if a newer version is available. Check your current geth version by opening a terminal and typing: GethVersion: 1.5.9-stableGit Commit: a07539fb88db7231d18db918ed7a6a4e32f97450Protocol Versions: [63 62]Network Id: 1Go Version: go1.7.3OS: linuxGOPATH=GOROOT=/usr/lib/go-1.7 The stable version available at time of writing is 1.6.7. StackExchange has a nice answer on updating Mist on Ubuntu which helped me with the next part: sudo apt-get install software-properties-commonsudo add-apt-repository -y ppa:ethereum/ethereumsudo apt-get update && sudo apt-get upgrade Lastly, validate that geth was updated successfully: You should see output similar to below confirming the version installed as 1.6.7-stable GethVersion: 1.6.7-stableGit Commit: ab5646c532292b51e319f290afccf6a44f874372Architecture: amd64Protocol Versions: [63 62]Network Id: 1Go Version: go1.8.1Operating System: linuxGOPATH=GOROOT=/usr/lib/go-1.8 Next youll need to download the Ethereum Wallet if its not already installed on your machine. wget Wait until the download is complete and youll see something like this: .HTTP request sent, awaiting response... 200 OKLength: 57229019 (55M) [application/octet-stream]Saving to: 'Ethereum-Wallet-linux64-0-9-0.zipEthereum-Wallet-lin 100%[===================>] 54.58M 794KB/s in 2m 12s 2017-08-18 23:12:42 (425 KB/s) - 'Ethereum-Wallet-linux64-0-9-0.zip saved [57229019/57229019] Unzip the downloaded file and cd into the newly created directory: unzip Ethereum-Wallet-linux64-0-9-0.zipcd linux-unpacked The new directory named /linux-unpacked should contain several files, including the ethereumwallet exec Continue reading >>

How To Fix Ethereum Mist Wallet Never Ends Syncing

How To Fix Ethereum Mist Wallet Never Ends Syncing

How To Fix Ethereum Mist Wallet Never Ends Syncing I had an issue with the Ethereum Mist wallet never finishing syncing the blockchain. Mist just kept downloading chain structure for two days, always stuck a couple of hundred blocks behind the most current one. Download the latest version of Geth and extract it to somewhere like C:\Geth ( ) Run CMD.exe (Command Prompt, the black terminal window in Windows) as Administrator (right-click -> Run as Administrator) Change directory to where you extracted Geth: Run the following command to start syncing the blockchain using the light syncmode: It should now start syncing. After a while (how long varies), you will notice it reaches the current block and becomes less active. You should now be able to run the Mist wallet without issues again. Download and run the latest Mist wallet to avoid other bugs/issues ( ) Hope this helps someone out there with the same annoying issue! Continue reading >>

Ethereum Data Directory Path Hardwired To C:\users\user\appdata\roaming\ethereum #2828

Ethereum Data Directory Path Hardwired To C:\users\user\appdata\roaming\ethereum #2828

Geth should respect the correct OS roaming path and not default to the C: drive. Ethereum blockchain data is being written to C:\Users\user\AppData\Roaming\Ethereum even when the OS location had moved. The blockchain data was taking a lot of room on my C: drive so I changed the location of the path C:\Users\user\AppData\Roaming (which contains the Ethereum data folder for the blockchain data) to D:\Roaming. When I start the wallet there is a error message that it cannot find the node and so it begins to download the whole blockchain again to the path C:\Users\user\AppData\Roaming\Ethereum As the blockchain will get bigger and bigger a lot of people will want to move the data folder to a bigger drive as the C drive is to small and has all the OS programs and data. Continue reading >>

Ethereum Wallet Syncing Problems

Ethereum Wallet Syncing Problems

One of the most common problems with the Ethereum Wallet application is keeping the blockchain in sync with the Ethereum network. This page describes some of the common issues users may encounter while trying to sync the blockchain and potential methods to work around the problems. Note that Ethereum Wallet will not display your account balance correctly when it is not synced fully or correctly. Check that your the clock on your computer is close to real time. Change your system settings so that your system clock is synced to an NTP (Network Time Protocol) server. Slow Syncing Between Blocks 2,283,397 And 2,717,576 You may be encountering some problems syncing Ethereum Wallet (or Mist) to the Mainnet blockchain. A common problem when syncing Ethereum Wallet's blockchain data is that the syncing slows down between blocks 2,283,397 and 2,620,384 due to the attack on the Ethereum network (reference Why is my node synchronization stuck/extremely slow at block 2,306,843? ). The syncing also slows down between blocks 2,675,055 and 2,717,576 due to the state clearing process to remove the 20 million empty accounts created by the network attack. If you have a problem with slow syncing, the easiest way to recover from this slowdown is to remove your blockchain data and restart Ethereum Wallet. Ethereum Wallet will then perform a fast sync which skips over these attack blocks. WARNING: Make sure you back up your keystore directory so you don't accidentally delete your account information. Depending on your operating system, you will find the chaindata subdirectory in: Alternatively, you can run geth removedb to remove the blockchain data. Start Ethereum Wallet. It should now start fast syncing the blockchain data. Alternatively, run geth --syncmode "fast" --cache 1024 console an Continue reading >>

Tutorial How To Run A Full Ethereum Node On Windows

Tutorial How To Run A Full Ethereum Node On Windows

Initiate ether transactions from an address to the other 1. All Geths versions are available for download at: For every version, an archive (.zip file) as well as an installer (.exe) package are available for download. The installer package will put geth automatically into your PATH, while the archive includes the command .exe files, so that they can be used without installation. For the purpose of this tutorial, we will install the Geth 1.6.1 release. Press on the Geth 1.6.1 installer link, as shown on the below screenshot and download the .exe file. 2. Press I Agree to accept the license agreement and start the installation process. 3. You will be prompted to choose whether or not to install Ethereums development tools in addition to Geth. For the purpose of this tutorial, we will install only Geth, so keep the box of Development tools unchecked. 4. You will then be prompted to choose the destination folder for your installation. By default, the program will be installed under C:\Program Files\Geth 5. The installation process will be completed, press close to exit the installation window. 6. Now, open a command prompt instance, via pressing the Windows button and typing command prompt. Press on the programs icon that will appear. 7. Now, change the directory to the directory where Geth is installed , via the chdir command, so as we installed Geth onto the Program Files directory, we will type the following onto the command prompts instance: 8. Now, type Geth onto the command prompt instance, after changing the directory and the client will start up and begin connecting to peers, as shown on the below screenshot: Congratulations, you are now running a full ethereum node, and receiving blocks as shown on the above screenshot. Running an Ethereum Node via Installing and Continue reading >>

Build Your First Ethereum Smart Contract With Soliditytutorial

Build Your First Ethereum Smart Contract With Soliditytutorial

Finance & Tech Nerd, Investor, Blockchain & Crypto Enthusiast, Wannabe Polymath, Master of Discipline in Training, Laissez Faire. Talk Is Cheap. Build Your First Ethereum Smart Contract with Solidity Tutorial So you wanna build a smart contract? Perhaps you want to understand how they work, maybe you want to build your own Dapp, maybe you want to launch the very first billion dollar ICO (sarcasm)... Regardless of your intentions, learning how smart contracts work is invaluable. The Ethereum platform possesses enormous potential to create Dapps that could change the way we interact on the web in the decades to come. While Ethereum deploys smart contracts that work much like a standard blockchain transaction, they yield a conditional statement that must be met before a function(s) is executed. Smart contracts can be used for voting, crowdfunding, blind auctions, multi-signature wallets and MUCH more. Bob has his own scrap metal depot business in the United States, Eric is his iron scrap supplier. Eric is based out of China. Bob and Eric have a GREAT business relationship. They trust each other and have been doing business for a long time. Both have booming businesses, and Bob in particular sells out of iron scrap on a routine basis. Bob deploys a contract where once his iron scrap inventory reaches a certain range, he automatically sends an order out to Eric for X lbs of iron scrap at Y ether per ton. Eric agrees to the arrangement and accepts Bobs payment in ether right away. Eric gets to work right away and starts fulfilling Bobs order. Eric can exchange his ether at a local exchange online for Yuan for a tiny fee and itll be processed instantaneously. Whether Eric decides to hold ether or convert to Yuan is his choice, but either way he can now put this capital to wor Continue reading >>

Speeding Up Ethereum-wallet Initial Sync On Macos X

Speeding Up Ethereum-wallet Initial Sync On Macos X

Speeding up Ethereum-Wallet initial sync on MacOS X After experimenting with the Ethereum Wallet client on a linux machine I decided to install on my MacPro with OS X 10.11.5. I installed the latest Ethereum-Wallet 0.8.1 app from github and launched the app. I soon noticed that the sync would appear to freeze at various points and never achieved a full sync. This despite multiple force quits and restarts. After some poking around I found a nice summary of the problem and a workaround I wanted to share. StackEchange is my goto source when I have any problem and it paid off again today. Under the topic Help with slow mist sync I found several good answers and things to try. Caveat: what Im about the describe worked for me, but I am hardly a knowledgable expert and this may be wrong from a technical perspective. It turns out that, using the command line interface Ethereum client called geth, you can initiatea fast sync by setting certain flags when the program is run. Details are here . This will only work, however, if its the first attempt at a sync. I had made dozens of attempts, so I needed to delete all these files. The first thing I tried worked: I went to my user Library folder (Finder>Go>Go To Folder, then type ~/Library and select Go). Once there, locate the Ethereum folder and open it. Delete the folder called chaindata. (Dont worry. This folder will be recreated when you do the faster sync.) To be able to initiate a fast sync using the command line interface tool, we need to know where the geth program is located. What follows is the description for how to do this by user tayvano at the Ethereum StackExchange: Right click on the ethereum-wallet.app and select show package contents Open contents, then frameworks, then node, then geth Then you should right click o Continue reading >>

How To Change The Blockchain Dir? #572

How To Change The Blockchain Dir? #572

Actually in Windows there's JUNCTION and, just like Linux, you can create a link of the existing data folder to another one (even in another drive) as you see fit. You can download junction from microsoft technet here: . No installation required. So, in this case, you just need to stop geth, move the data folder to another drive/folder/path and create a junction from the original path to the new one. Move the contents of "%USERPROFILE%\AppData\Roaming\Etherium\Geth" to "G:\Data\Geth" and wait for it to finish. Then execute (on a cmd prompt): cd "%USERPROFILE%\AppData\Roaming\Etherium" If you list the contents (dir) it will show something like: 05/11/2017 20:52 Geth [??\G:\Data\geth] Continue reading >>

Exceptionally Large Ethereum Blockchain Size

Exceptionally Large Ethereum Blockchain Size

Exceptionally Large Ethereum Blockchain Size I came to notice that my hard drive which is dedicated to blockchains reached maximum capacity and after a little investigation, I discovered that my "blocks" folder in my Ethereum directory weighs 74.5 GB (80,050,787,860 bytes) for 840,984 Files which seems extremely odd. There's also an "extra" & "state" folder which additionally weigh ~3.5 GB and ~13GB respectively. Cryptominingblog created a post a few hours ago stating that Ethereum's directory is about 16 GB so this only adds to my confusion. I invoke the following command to launch eth via a batfile [start eth -d Q:\the.MlNE\Ethereum] within Mist's subdirectories followed by Mist a few seconds later which is of the latest build. Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here. My Ethereum folder (C:\Users\\AppData\Roaming\Ethereum) is 10.4 GB, using the Mist wallet in win7. Almost all of it comes from the chaindata folder from inside. Wow, that's already messed up in itself. But it's even crazier when you consider Ethereum's launch wasn't even 10 months ago . Dash was released over 2 years ago and its blockchain is only 1.8 GB as of this writing. Just sayin'. Guess distributing a glorified calculator all over the world is taking its toll. Nonetheless ETH is gonna have a future on one datacenter or the other... Quote from: ICOcountdown.com on May 10, 2016, 09:48:56 PM It is because all smart contracts are stored in the blockchain. I did recently create a wallet which to my knowledge is a contract of very basic form. I do however remain a little reluctant to believe that my wallet accounts for over 70 GB of data. damn i need to download the wallet but if ur saying its so Continue reading >>

Command Line Interface And Options | Ethereum Frontier Guide

Command Line Interface And Options | Ethereum Frontier Guide

geth [global options] command [command options] [arguments...]VERSION: 1.0.0COMMANDS: recover attempts to recover a corrupted database by setting a new block by number or hash. See help recover. blocktest loads a block test file import import a blockchain file export export blockchain into file upgradedb upgrade chainblock database removedb Remove blockchain and state databases dump dump a specific block from storage monitor Geth Monitor: node metrics monitoring and visualization makedag generate ethash dag (for testing) version print ethereum version numbers wallet ethereum presale wallet account manage accounts console Geth Console: interactive JavaScript environment attach Geth Console: interactive JavaScript environment (connect to node) js executes the given JavaScript files in the Geth JavaScript VM help Shows a list of commands or help for one commandGLOBAL OPTIONS: --identity Custom node name --unlock Unlock the account given until this program exits (prompts for password). '--unlock n' unlocks the n-th account in order or creation. --password Path to password file to use with options and subcommands needing a password --genesis Inserts/Overwrites the genesis block (json format) --bootnodes Space-separated enode URLs for p2p discovery bootstrap --datadir "/Users/tron/Library/Ethereum" Data directory to be used --blockchainversion "3" Blockchain version (integer) --jspath "." JS library path to be used with console and js subcommands --port "30303" Network listening port --maxpeers "25" Maximum number of network peers (network disabled if set to 0) --maxpendpeers "0" Maximum number of pending connection attempts (defaults used if set to 0) --etherbase "0" Public address for block mining rewards. By default the address first created is used --gasprice "1000000000 Continue reading >>

Change Path For Ethereum Wallet Folder

Change Path For Ethereum Wallet Folder "chaindata"

Hello, I just started out with Ethereum by downloading/installing the Ethereum Wallet from the Website. (Win7 64bit) First of all I am not sure about the category this question falls into, so I am sorry if I am in the wrong section of the forum... I need to know how to change the standard path to the 'chaindata' folder for my wallet since I do not have enough free space on my system partition (C:) and could not find any (obvious) settings/options/... in the UI of the wallet. I need to move the regular main folder (C:/ ... 'User'/Appdata/Roaming/Ethereum) or just the chaindata folder (?) to another drive since these (blockchain) files would just fill up my system partition. Any ideas on how to do that? I would appreciate any help or tips. Thank you. Continue reading >>

More in ethereum