The Windows version of mmap was mentioned in the message to which you replied: CreateFileMapping In my earlier message, I mentioned how to use this from boost: Boost::Iostreams already has a mapped_file Source. Sorry, I’ve been so busy lately I’ve been skimming messages and I still can’t keep up. We […]
Read moreRe: auto backing up of wallet.dat
I think you misunderstand what mmap does? mmap / CreateFileMapping does not read a file into heap memory: http://en.wikipedia.org/wiki/Mmap I doubt there’s an mmap(2) on Windows. I’d rather call an existing file copy function than make and test my own. Quote from: nelisky on August 27, 2010, 01:21:09 But if you […]
Read moreRe: auto backing up of wallet.dat
mmap(2) + memcpy(3) ? Boost::Iostreams already has a mapped_file Source. If you read it into memory and write it out, it could fail in tight memory situations. I’m looking for something like copyfile(const char* from, const char* to) or copyfile(path from, path to), preferably something in Boost if it has […]
Read moreRe: Gentoo Linux Ebuild
bitcoin ebuilds for gentoo linux 2011.03.02: bitcoin-git-9999 ebuild updated outdated Come to #bitcoin-gentoo on Freenode for latest Try -datadir= Last time I tried $(shell /usr/bin/wx-config), there was immediate hollering about build problems with it. There wasn’t time to investigate at the time. One problem with $(shell /usr/bin/wx-config) is it will […]
Read moreRe: auto backing up of wallet.dat
So, as many others, I need to backup wallet.dat. And since this one is on a server, I need it to happen unattended. And because this server is being used by the lottery, I must not shutdown bitcoind. So far I just copy the file over, and do it often […]
Read moreRe: Need a post writing up some things users should know
[…] Quote from: satoshi on August 19, 2010, 20:14:01 – Warning not to mess around with your wallet.dat file. It’s a database file, it’s not as simple as you think. In this Beta version, we haven’t had time to try and tinker-proof it yet. It may not work as expected […]
Read moreRe: RFC: remove DB_PRIVATE flag
Wallet backups and other DB examination are easily possible in a safe, atomic, transactional fashion… if and only if DB_PRIVATE flag is removed. Code: — a/db.cpp +++ b/db.cpp @@ -77,7 +77,6 @@ CDB::CDB(const char* pszFile, const char* pszMode) : pdb(NULL) DB_INIT_MPOOL | DB_INIT_TXN | DB_THREAD | – DB_PRIVATE | DB_RECOVER, […]
Read moreRe: Development of alert system
Quote from: BioMike on August 25, 2010, 18:23:45 I’ve never objected this change/idea, just asking if this was possible and to what extent. What’s wrong with getting informed? 😉 My apologies, your post was indeed a question not a statement. Related posts: Re: Development of alert system Quote from: BioMike […]
Read moreRe: Development of alert system
Quote from: nelisky on August 25, 2010, 01:28:32 So what kind of warning do admins get from bitcoind? Is there something we can grep from debug.log? Or will rpc calls raise some specific error? Is there a way to locally force this to happen, for unittesting services? getinfo has a […]
Read moreRe: Development of alert system
Quote from: BioMike on August 23, 2010, 05:15:43 @mizerydearia, I think the quote button is easier to find then the reply one. So, theoretical this is a first control system where <some goverment> can arrest satoshi and demand that he hands over his key (or get it from his computer) […]
Read more