Skip to content

Commit

Permalink
folder bitcoin->niobiocoin
Browse files Browse the repository at this point in the history
  • Loading branch information
Marconi Pereira Soldate committed Jan 20, 2025
1 parent e48a9a0 commit 11ecf61
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
What is Niobio (NBR)?
=====================================

https://niobiocoin.com.br/

It's a Bitcoin clone with minimal changes. This way, keeping the code updated is easy.
The goal is to create a Brazilian coin against Brazilian CBDC (DREX).
Unlike bitcoin, the idea is to be cash, not a new gold.

So, to build it (or use it) you do the same way as in bitcoin, only the bitcoin folder was renamed to niobiocoin.
Everything else is the same, including the names of the executable files.

All the changes you can check here:
https://github.com/bitcoin/bitcoin/compare/master...soldate:niobiocoin:master

=====================================
BELOW BITCOIN'S README
=====================================

Bitcoin Core integration/staging tree
=====================================

Expand Down
8 changes: 4 additions & 4 deletions src/common/args.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -730,11 +730,11 @@ fs::path GetDefaultDataDir()
#ifdef WIN32
// Windows
// Check for existence of datadir in old location and keep it there
fs::path legacy_path = GetSpecialFolderPath(CSIDL_APPDATA) / "Bitcoin";
fs::path legacy_path = GetSpecialFolderPath(CSIDL_APPDATA) / "Niobiocoin";
if (fs::exists(legacy_path)) return legacy_path;

// Otherwise, fresh installs can start in the new, "proper" location
return GetSpecialFolderPath(CSIDL_LOCAL_APPDATA) / "Bitcoin";
return GetSpecialFolderPath(CSIDL_LOCAL_APPDATA) / "Niobiocoin";
#else
fs::path pathRet;
char* pszHome = getenv("HOME");
Expand All @@ -744,10 +744,10 @@ fs::path GetDefaultDataDir()
pathRet = fs::path(pszHome);
#ifdef __APPLE__
// macOS
return pathRet / "Library/Application Support/Bitcoin";
return pathRet / "Library/Application Support/Niobiocoin";
#else
// Unix-like
return pathRet / ".bitcoin";
return pathRet / ".niobiocoin";
#endif
#endif
}
Expand Down

0 comments on commit 11ecf61

Please sign in to comment.