Pages:
Author

Topic: [ANN] [LNGC] Longcoin: Empowering Global Collaboration and Innovation (Read 124 times)

?
Activity: -
Merit: -
If its says "Press CTRL+C to stop mining". Am i good?

but nothing is showing after that and there is no load on my PC.

Yes, great job!
newbie
Activity: 30
Merit: 0
If its says "Press CTRL+C to stop mining". Am i good?

but nothing is showing after that and there is no load on my PC.
?
Activity: -
Merit: -
I made it as simple as possible, i moved everything to C drive and just dumped it there.
I pointed to the location and still i get the looping screen.
https://imgur.com/a/f6bNEvU

The looping screen: https://imgur.com/a/05K7eeW

1. **Check the Files**: Make sure `longcoin-cli.exe` is in the same folder as your `mine.bat` file (e.g., `C:\LongCoin`). If it’s not, move it there.

2. **Edit the `.bat` File**: Open `mine.bat` and update the command to include the full path to `longcoin-cli.exe`, like this: 
   
Code:
   "C:\LongCoin\longcoin-cli.exe" generatetoaddress 1 YOUR_WALLET_ADDRESS
   

3. **Open Your Wallet**: Before running the script, make sure your Longcoin wallet is open and fully synced.

4. **Run as Admin**: Right-click `mine.bat` and select "Run as Administrator" to avoid permission issues.

5. **Test the Command**: Open Command Prompt, go to the folder with `longcoin-cli.exe`, and run: 
   
Code:
   longcoin-cli.exe getblockchaininfo
   

newbie
Activity: 30
Merit: 0
I made it as simple as possible, i moved everything to C drive and just dumped it there.
I pointed to the location and still i get the looping screen.
https://imgur.com/a/f6bNEvU

The looping screen: https://imgur.com/a/05K7eeW
newbie
Activity: 51
Merit: 0
It's strange that the explorer does not display full blocks.
?
Activity: -
Merit: -
Progress lol
https://imgur.com/a/CFeVc2Z

Its looping.

The script can't find `longcoin-cli.exe` because it’s either in the wrong location or not properly referenced.

How to Fix It:
1. **Check File Location**: Ensure `longcoin-cli.exe` is in the same folder as your `mine.bat` file. 
2. **Use Full Path**: If it’s in a different folder, edit `mine.bat` to include the full path, like this: 
   
Code:
   "C:\path\to\longcoin-cli.exe" generatetoaddress 1 YOUR_WALLET_ADDRESS
   
3. **Run as Administrator**: Right-click `mine.bat` and select "Run as Administrator." 
4. **Open Wallet First**: Make sure your Longcoin wallet is running before running the script. 

Try this and let me know!
newbie
Activity: 30
Merit: 0
?
Activity: -
Merit: -
This is what i get:
https://imgur.com/a/Ozi9YND

Fixing the "longcoin-cli.exe not recognized" Error

The error means the script can't find `longcoin-cli.exe`. Here's how to fix it:

1. Check Location 
Ensure `longcoin-cli.exe` is in the same folder as your `mine.bat` file.

2. Add Full Path 
If it’s in a different folder, edit `mine.bat` and replace `longcoin-cli.exe` with its full path. For example: 
Code:
"C:\path\to\longcoin-cli.exe" generatetoaddress 1 YOUR_WALLET_ADDRESS

3. Save and Run 
Save the changes and re-run `mine.bat` as Administrator.

That’s it! The issue should now be resolved.
newbie
Activity: 30
Merit: 0
newbie
Activity: 30
Merit: 0
?
Activity: -
Merit: -
Thanks, wallet generated and i am trying to follow up the tutorial on mining but when i launch the .bat file it just loops for me and asks for permission.

I changed the address in both places, do i need to do anything else?

Thanks.

1. Open your wallet and copy your wallet address from the "Receive" tab. 
2. Edit the `mine.bat` file. Replace the line with `getnewaddress` with your actual wallet address: 
Code:
set WALLET_ADDRESS=YOUR_WALLET_ADDRESS
 
3. Save the file and run it as Administrator.

That’s it! The script will now mine directly to your wallet without looping.
newbie
Activity: 30
Merit: 0
Thanks, wallet generated and i am trying to follow up the tutorial on mining but when i launch the .bat file it just loops for me and asks for permission.

I changed the address in both places, do i need to do anything else?

Thanks.
?
Activity: -
Merit: -
This is me trying to open the wallet for the first time, I cannot even get to the wallet settings.

Is it because i have 30GB left on my drive?

Fixing the Prune Mode and Blockfilterindex Error in Longcoin Wallet



1. Close Your Wallet 
Before making any changes, make sure your Longcoin wallet is completely closed.



2. Find the Configuration File 
- Press WinKey + R to open the Run dialog box. 
- Type `%appdata%\Longcoin` and press Enter. 
- Inside this folder, you’ll see a file named `longcoin.conf`. This is your wallet’s settings file.



3. Edit the Configuration File 
- Right-click on `longcoin.conf` and open it with Notepad. 
- Depending on what you want to fix: 
  - To disable prune mode (and keep all blockchain data): 
   
Code:
    prune=0
   
  - To disable blockfilterindex (and save disk space): 
   
Code:
    blockfilterindex=0
   



4. Save and Restart 
- Once you’ve made the change, save the file and close Notepad. 
- Restart your wallet, and the error should no longer appear. 

If you still have issues, feel free to reach out for help!
newbie
Activity: 30
Merit: 0
This is me trying to open the wallet for the first time, I cannot even get to the wallet settings.

Is it because i have 30GB left on my drive?
?
Activity: -
Merit: -
I get this when opening the wallet:
https://imgur.com/a/AjsuxOk

This error happens because prune mode (which saves disk space) and blockfilterindex (which requires full blockchain data) can’t work together. To fix it, disable either prune mode to keep all blockchain data or blockfilterindex to save space. Restart your wallet after making the change.
newbie
Activity: 30
Merit: 0
I get this when opening the wallet:
https://imgur.com/a/AjsuxOk
?
Activity: -
Merit: -
how to mine?

Simple Guide to Set Up Longcoin Wallet and Mine Your First Block



1. Extract the Wallet Files
- Open File Explorer and navigate to your Downloads directory.
- Extract the file longcoin-qt-windows.zip to a folder.

2. Create the Configuration File
- Open "Run" using WinKey + R.
- Type notepad and press OK.
- Paste the following into Notepad:
Code:
rpcuser=rpc_longcoin
rpcpassword=dR2oBQ3K1zYMZQtJFZeAerhWxaJ5Lqeq9J2
rpcbind=127.0.0.1
rpcallowip=127.0.0.1
listen=1
server=1
addnode=77.105.161.236
- Click File -> Save As....
- Choose Save as type: All Files (*.*).
- Save the file as longcoin.conf in:
  %appdata%\Longcoin (create the "Longcoin" folder if it doesn’t exist).

3. Create the Mining Script
- Open a new Notepad window (Ctrl + N).
- Paste the following into Notepad:
Code:
@echo off
set SCRIPT_PATH=%cd%
cd %SCRIPT_PATH%
echo Press [CTRL+C] to stop mining.
:begin
 for /f %%i in ('longcoin-cli.exe getnewaddress') do set WALLET_ADDRESS=%%i
 longcoin-cli.exe generatetoaddress 1 %WALLET_ADDRESS%
goto begin
- Click File -> Save As....
- Choose Save as type: All Files (*.*).
- Save the file as mine.bat in the folder where you extracted longcoin-qt-windows.zip.

4. Start Mining
- Open your Longcoin wallet.
- Run mine.bat to start mining your first block.



You’re now set up to mine Longcoin. Enjoy your first steps into decentralized finance!
brand new
Activity: 0
Merit: 0
?
Activity: -
Merit: -
Pages:
Jump to: