kefkius
-
Content Count
7 -
Joined
-
Last visited
-
Days Won
3
Posts posted by kefkius
-
-
https://github.com/Kefkius/electrum-frc
The latest code works; you can send and receive coins. Currently, the displayed balance only adjusts for demurrage on confirmed transactions, but the wallet will still ensure that you actually have the demurrage-adjusted balance you're trying to send before sending a transaction. (e.g. Your balance may show "1 FRC" but you will not be able to send 1 FRC, if you use the shortcut for 'send all balance' (an exclamation point), your demurrage-adjusted balance will be used.)
Also, thanks Bicknellski.
-
-
Hi kefikus,
thx for your effort. Some time ago Fedde offered to host an Electrum based server so maybe he can help you out.
One question, how can the client send something if he is not aware of the demurrage?
Thx,
Martin
Well, the client sends subscriptions to electrum-frc servers saying "these are my addresses, tell me if there are any txs involving them." The client can send txs, like in Bitcoin; if there's something erroneous, like: If demurrage has changed how many coins the client has, and the client tries to send those coins it still thinks that it owns, the transaction will still be transmitted to an electrum-frc server which will use the "sendrawtransaction" RPC command, which will return an error because the tx is invalid. Whether this will be reflected in the client, I'm not sure of ATM.
I need to research exactly how demurrage is implemented in FRC so I can implement that. By the way, you may want to consider re-implementing Freicoin on a fresh fork of Bitcoin, like the Namecoin folks are doing.
-
Thanks a lot for the server!
import electrumImportError: No module named electrum
I get this error on both win and lin. Any clue to overcome it?
Looks like I missed an import statement. Pulling the latest code should fix that.
-
I intend to make an electrum fork for FRC. I'll be working on that actively.
EDIT:
I have a working electrum-frc-server and electrum-frc. It's not quite complete. There are no reliable places that run electrum-frc-server so currently you have to run one on localhost. (Kind of defeats the purpose but hopefully someone with an available server will pop up.)
Currently electrum-frc is incomplete in that:
- 1.) It doesn't know anything about demurrage.
- 2.) It doesn't check the difficulty of headers it's given. (Though honestly, the amount of security that the difficulty check adds is debatable, especially given that there will likely be few servers.)
- 3.) Block explorers are still the old Bitcoin ones.
Anyway, if you have a server to connect to, electrum-frc currently works for sending/receiving FRC. Will finish it as soon as possible.
-
[Developer-Bounty] Freicoin Bounty - Desktop / Online Wallet - 23 Freihours (115.000 Freicoins) - Done
in Ended Projects
Posted
Thanks fedde. The main thing left to do is put in the difficulty target check. Freicoin uses a pretty unique algorithm for that. So what I'm doing is trying to find a balance between
The first option adds the most security at the cost of dramatically increasing resource usage (File read/writes happen for every block header, and the retarget algorithm runs for every block header).
The second option adds no security but adds no overhead.
Since one party controls all servers at the moment, the first option adds substantially less security (if any at all) since if the server operator wanted to be malicious, he could serve any arbitrary chain he wanted to as long as the difficulty checked out on the blocks.