Pages:
Author

Topic: [RELEASED]BitMoney.i2p - Centralized|Const solo POW|Unlimited supply|Instant tx - page 7. (Read 14267 times)

member
Activity: 108
Merit: 10
i had a look at the code, but i don't know how to measure 1hash calculation time.

I guess compile the code to .so or .dll (or get them from BtiMoney's app dir), and try to invoke it repeatedly in some script (i heard Python has easy  interface to native c libs).
Signatures are (c#):

Code:
[DllImport(
    "libscrypt_x86.so",
    EntryPoint = "libscrypt_scrypt",
    CallingConvention = CallingConvention.Cdecl
)]
private static extern int LibscryptScrypt86(
    byte[] passwd,
    uint passwdlen,
    byte[] salt,
    uint saltlen,
    ulong n,
    uint r,
    uint p,
    byte[] buf,
    uint buflen
);

[DllImport(
    "libscrypt_x64.so",
    EntryPoint = "libscrypt_scrypt",
    CallingConvention = CallingConvention.Cdecl
)]
private static extern long LibscryptScrypt64(
    byte[] passwd,
    ulong passwdlen,
    byte[] salt,
    ulong saltlen,
    ulong n,
    uint r,
    uint p,
    byte[] buf,
    ulong buflen
);


[DllImport(
    "ScryptNativeWinDllx86.dll",
    EntryPoint = "crypto_scrypt",
    CallingConvention = CallingConvention.Cdecl
)]
private static extern int WindowsScrypt86(
    byte[] passwd,
    uint passwdlen,
    byte[] salt,
    uint saltlen,
    ulong n,
    uint r,
    uint p,
    byte[] buf,
    uint buflen
);

[DllImport(
    "ScryptNativeWinDllx64.dll",
    EntryPoint = "crypto_scrypt",
    CallingConvention = CallingConvention.Cdecl
)]
private static extern long WindowsScrypt64(
    byte[] passwd,
    ulong passwdlen,
    byte[] salt,
    ulong saltlen,
    ulong n,
    uint r,
    uint p,
    byte[] buf,
    ulong buflen
);

Passwd and salt - 32 length, n = 32768, r = 8, p = 1, buf - 3 length.
newbie
Activity: 38
Merit: 0
ok,works
and how can I get your wallet address?

In the main menu click "Wallet">"Register new". Input information and choose a password. Then "Wallet">"Login".
All the same later with exchange account.
Hope once we'll translate manual into your language.
May be someone wants to help with translations? Smiley
thanks, I figured out everything except exchange
exchange registration I made,and then further until I understand

Here are mini guides about how to use exchange:
https://bitcointalksearch.org/topic/m.12950066
https://bitcointalksearch.org/topic/m.12950816
legendary
Activity: 1027
Merit: 1000
ok,works
and how can I get your wallet address?

In the main menu click "Wallet">"Register new". Input information and choose a password. Then "Wallet">"Login".
All the same later with exchange account.
Hope once we'll translate manual into your language.
May be someone wants to help with translations? Smiley
thanks, I figured out everything except exchange
exchange registration I made,and then further until I understand
newbie
Activity: 38
Merit: 0
ok,works
and how can I get your wallet address?

In the main menu click "Wallet">"Register new". Input information and choose a password. Then "Wallet">"Login".
All the same later with exchange account.
Hope once we'll translate manual into your language.
May be someone wants to help with translations? Smiley
legendary
Activity: 957
Merit: 1006
Just want to note - built-in native miner is not enabled by default, so if you see something much slower than 1btm for 1min, probably it's not turned on. It can be enabled (as and proper thread count) in 'Main' -> 'Local mining' -> 'Settings'. I anticipated different quotes on exchange, probably that's the cause.

Where can i find about the actual Speed of the local miner?

I use https://github.com/technion/libscrypt code. There were some performance tests in the net for the lib but i can't find it now. All parameters were given (except out buflen, it depends on task balanceGain, several bytes (2-3) usually) you can try to test it by yourself. libscrypt_x64(86).so (as and .dll) appears in working dir after the first start of the miner too.

On my cpu i have (1 hash calculation, native vs managed):
1thread: 90ms vs 1200ms
4thread: 37ms vs 474ms

So i can mine with rate 1btm/(37ms*2048) = 1 btm / 75.776s for 4 thread in average.

P.S. On linux you should resize local mining settings window to see 'linux (x86\x64)' option, it's hiding sometimes.

i had a look at the code, but i don't know how to measure 1hash calculation time.
member
Activity: 108
Merit: 10
how to start mining?

If you already have connected client, just input any job name, wishful income and click "add job".
wishful income:what value?

Start with 1 ,2, any job name, add job. And i recommend to use 1 task count, it'll lag otherwise.
legendary
Activity: 1027
Merit: 1000
how to start mining?

If you already have connected client, just input any job name, wishful income and click "add job".
wishful income:what value?
legendary
Activity: 1027
Merit: 1000
click at page 1, read 10 lines, download the manual read the chapter and there you go
I badly know English
more than half don't understand what is written in the instructions
newbie
Activity: 38
Merit: 0
how to start mining?

If you already have connected client, just input any job name, wishful income and click "add job".
legendary
Activity: 957
Merit: 1006
click at page 1, read 10 lines, download the manual read the chapter and there you go
legendary
Activity: 1027
Merit: 1000
member
Activity: 108
Merit: 10
Just want to note - built-in native miner is not enabled by default, so if you see something much slower than 1btm for 1min, probably it's not turned on. It can be enabled (as and proper thread count) in 'Main' -> 'Local mining' -> 'Settings'. I anticipated different quotes on exchange, probably that's the cause.

Where can i find about the actual Speed of the local miner?

I use https://github.com/technion/libscrypt code. There were some performance tests in the net for the lib but i can't find it now. All parameters were given (except out buflen, it depends on task balanceGain, several bytes (2-3) usually) you can try to test it by yourself. libscrypt_x64(86).so (as and .dll) appears in working dir after the first start of the miner too.

On my cpu i have (1 hash calculation, native vs managed):
1thread: 90ms vs 1200ms
4thread: 37ms vs 474ms

So i can mine with rate 1btm/(37ms*2048) = 1 btm / 75.776s for 4 thread in average.
does the common mining diff adjustment apply here? I mean the more miners online more difficul it getw to generate one.. Thanks

No by design, the feature leads to predictable exchange rate in the future, it's important. But if i'll see some alg defect or available asics alg will be changed. Primary targets are stable exchange rate and availability for all to mine.
legendary
Activity: 1232
Merit: 1001
Just want to note - built-in native miner is not enabled by default, so if you see something much slower than 1btm for 1min, probably it's not turned on. It can be enabled (as and proper thread count) in 'Main' -> 'Local mining' -> 'Settings'. I anticipated different quotes on exchange, probably that's the cause.

Where can i find about the actual Speed of the local miner?

I use https://github.com/technion/libscrypt code. There were some performance tests in the net for the lib but i can't find it now. All parameters were given (except out buflen, it depends on task balanceGain, several bytes (2-3) usually) you can try to test it by yourself. libscrypt_x64(86).so (as and .dll) appears in working dir after the first start of the miner too.

On my cpu i have (1 hash calculation, native vs managed):
1thread: 90ms vs 1200ms
4thread: 37ms vs 474ms

So i can mine with rate 1btm/(37ms*2048) = 1 btm / 75.776s for 4 thread in average.
does the common mining diff adjustment apply here? I mean the more miners online more difficul it getw to generate one.. Thanks
member
Activity: 108
Merit: 10
Just want to note - built-in native miner is not enabled by default, so if you see something much slower than 1btm for 1min, probably it's not turned on. It can be enabled (as and proper thread count) in 'Main' -> 'Local mining' -> 'Settings'. I anticipated different quotes on exchange, probably that's the cause.

Where can i find about the actual Speed of the local miner?

I use https://github.com/technion/libscrypt code. There were some performance tests in the net for the lib but i can't find it now. All parameters were given (except out buflen, it depends on task balanceGain, several bytes (2-3) usually) you can try to test it by yourself. libscrypt_x64(86).so (as and .dll) appears in working dir after the first start of the miner too.

On my cpu i have (1 hash calculation, native vs managed):
1thread: 90ms vs 1200ms
4thread: 37ms vs 474ms

So i can mine with rate 1btm/(37ms*2048) = 1 btm / 75.776s for 4 thread in average.

P.S. On linux you should resize local mining settings window to see 'linux (x86\x64)' option, it's hiding sometimes.
legendary
Activity: 957
Merit: 1006
Just want to note - built-in native miner is not enabled by default, so if you see something much slower than 1btm for 1min, probably it's not turned on. It can be enabled (as and proper thread count) in 'Main' -> 'Local mining' -> 'Settings'. I anticipated different quotes on exchange, probably that's the cause.

Where can i find about the actual Speed of the local miner?
newbie
Activity: 38
Merit: 0
And one quest from me. I'll pay 3000btm each first 2 guys who'll implement BitMoney payment receiving on some site (clearnet or .i2p or .onion). Additional 1000 each for sending funds back somehow. Conditions:

1. It must have some sense, not just input box with your wallet GUID and alert box on receiving. Like some game or polls or whatever. No illegal things like drug markets etc.
2. It must work automatically, i.e. has obviously fast response.
3. Service description must be published in this topic and on our forum in 'Related services and products' section.
4. 1 author for 1 project. The author must have bitcointalk account with at least 15 activity.

If you will not be in the first 2 i guess it'll be payed too, but you will have to wait until i sell some btc.

If you have some questions or problems with API i am ready to help.

It's an important thing and I'll add 8000 BTM (upd) from my bought coins to the first two guys with own services.
Also it can be a small additional PR for the services cause we may use this examples to demonstrate BitMoney capabilities.
member
Activity: 108
Merit: 10
Server restart to update software.
member
Activity: 108
Merit: 10
And one quest from me. I'll pay 60000btm each first 2 guys who'll implement BitMoney payment receiving on some site (clearnet or .i2p or .onion) or mobile app (Apple or Android). Additional 41000 each for sending funds back somehow. Conditions:

1. It must have some sense, not just input box with your wallet GUID and alert box on receiving. Like some game or polls or whatever. No illegal things like drug markets etc.
2. It must work automatically, i.e. has obviously fast response.
3. Service description must be published in this topic and on our forum in 'Related services and products' section.
4. 1 author for 1 project. The author must have bitcointalk account with at least 15 activity.

If you will not be in the first i guess it'll be paid too but you will have to wait until i sell some btc.

If you have some questions or problems with API i am ready to help.

ADDED: Another option - I'll send you BTC directly but with current exchange rate +20% discount.
newbie
Activity: 38
Merit: 0
The "quest" reward is up to 500 BTM. I remind its conditions:
 
We'll be glad to see any further opinions and suggestions. That's why I'll send 500 BTM to the first three people, who will reg on our forum (http://bitmoney.i2p.xyz/forum/viewtopic.php?f=5&t=19&p=80#p80) and left a comment about registration process on any clearnet forum.

trader19 was the first who did it, he has received 500 BTM.
We need 2 comments more, don't miss a chance.

upd. You need to have at least 10 forum activity on bitcointalk.org to join the quest.
newbie
Activity: 38
Merit: 0
Just want to note - built-in native miner is not enabled by default, so if you see something much slower than 1btm for 1min, probably it's not turned on. It can be enabled (as and proper thread count) in 'Main' -> 'Local mining' -> 'Settings'. I anticipated different quotes on exchange, probably that's the cause.

For those who didn't read manual, it means:

Quote
To open the local mining settings use Menu >> Local mining >> Settings.
In this window you can set up:
To use native libs or not (recommended, 5 times faster than managed code).
Pages:
Jump to: