Author

Topic: [do not delete pls] (Read 580 times)

hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
September 11, 2024, 09:22:44 AM
#23
Deleted.
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
June 21, 2024, 09:12:40 PM
#22
.
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
May 27, 2024, 05:13:26 PM
#21
.
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
March 18, 2024, 05:25:08 PM
#20
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
March 15, 2024, 08:09:25 PM
#19
1 Background

An important indicator of bitcoin mining is power-consumption ratio,
higher power-consumption ratio, higher income.

 This document introduces multi midstate mode, A scheme to Improve the power-consumption ratio of Mining:

Solution: change the value of the block version.
The feasibility of the scheme is based on: In the bitcoin protocol, the
bitcoin network (bitcoind nodes) allows at least two version(or even
higher version of block). Some bits of the version fields can be
redefined to identify the midstate.

This document is based on bitmain chip protocol, but the principle of
scheme is the same throughout.
2 Scheme principle analysis
2.1.1 The basic principle of bitcoin mining
Necessary parameter:
 Block version: version
 Hash value of the previous block : prev_hash
 The value of the hash tree for the transaction to be
packaged: merkle_hash
 Update time: ntime
 Current difficulty: nbits
The length of each parameter is as follows:
Version
(4 bytes)
Prev_has
h
(32
bytes)
Merkle_ha
sh
(32 bytes)
Ntime
(4 bytes)
Nbits
(4 bytes)
Nonce
(4 bytes)
2.1.2 Mining operation formula
The mining process is to find a suitable nonce value, makes the
following formula was established:
SHA256(SHA256(version + prev_hash + merkle_hash + ntime +
nbits + nonce)) < TARGET
 The range of nonce values is 0~2^32
 TARGET can be calculated according to the current
difficulty=current difficulty/(2^32)。
 Because of the discrete random characteristics of hash
algorithm, to find such a nonce value meets the formula,
traversal search is the only way.
2.1.3 operation process
 Generate midstate:
version + prev_hash + high 28 bytes of merkle_hash:make an hash
to generate midstate。
 Generate work:
Low 4 bytes Merkle_hash + ntime + nbits = data2。
Midstate + 20 bytes 0x0 + data2 = work。
2.2Principle of multi midstate
2.2.1 Mining process
The operation process of bitcoin mining chip as below:
The design ideas are as follows:
1) In N cycles, date2 remains unchanged. In those cycles, the
extended circuit can be closed. N=The number of midstate.
2) By changing version to generate N midstate.
3) Each midstate can make an operation with data2.
As you can see, in 1) turning off the extended circuit periodically can
save the power consumption.
2.2.2 parameter analysis
We know that prev_hash can not be arbitrarily changed, the hash
Merkle_hash is divided for two parts are used in the midstate and
Data
+
constant
midstate
Second hash
extend
compress
First hash
W0 W1 W2 ...... W63
data2 in the, to find a midstate correspond to the same data2, the
only way is changing the version. in the bitcoin protocol, the bitcoin
network (bitcoind nodes) allows at least two version(or even higher
version of block), So proposed this scheme.
Because more than one midstate shared the same data2, so in the
theory when the number of midstate is N, the expansion of the
circuit part of the power consumption will be 1/N.
3 Adaptation of pool
3.1Reason
Change version to generate mulit midstate is completely done by miner. So
Pool need to know the version of nonce which submitted by multi
midstate miner. Then pool can be based on the version information
to restore the complete, correct block data and broadcast out
3.2API definition
Pool customization requirements:
1. Added multi midstate mode query instruction:
In the authentication stage miner will be sent to the pool: {"id": id,
"method": "mining.multi_midstate", "params": midstate_num } if
pool supported multi-midstate mode reply : {"id": id, "method":
"mining.midstate_change", "params": ["0x00000004",
"0x04000004","0x08000004","0x0C000004"]}, Doesn't relay or
replay error means doesn't support this mode.
2. Pool side only send the current version of the job, miner
change the version itself.
3. Submit protocol need to add version information :{"params":
["worker_name", "job_id", "nonce2", "ntime", "nonce",
"version"], "id": 6, "method": "mining.submit"}.
4 Recommendations to bitcoin
community
According to the development of bitcoin, the 4 byte (32bits) width of
the version field is completely redundant. , This multi midstate
scheme can be used as a kind of open universal technology scheme,
can improve the efficiency of the whole network.
This scheme will submit multiple versions of block to the
network , In order to avoid the forks risk , we wish to make the
following proposals.:
1. Select N bits from version as midstate mask ,Use only in check,
not as a real version number. suggest N=2。
2. Definition version mask : 0x0C000000 ( N=2 ) , Used for block
block version number extraction 。(Note: in the Classic version,
version has used some bits as other uses)
3. Base on stratum protocol add or change the following
instructions:
 Multi midstate query instruction:{"id": id, "method":
"mining.multi_midstate", "params": midstate_num } miner volunteer
to submit the number of midstate.
 Multi midstate query instruction response:{"id": id,
"method": "mining.midstate_change", "params": ["0x00000004",
"0x04000004","0x08000004","0x0C000004"]} Pool decides which
version to use in the end.
 Multi midstate submit nonce instruction :{"params":
["worker_name", "job_id", "nonce2", "ntime", "nonce", "version"],
"id": id, "method": "mining.submit"}
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
March 04, 2024, 03:34:09 PM
#18
.
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
February 26, 2024, 04:49:26 PM
#17
.
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
February 20, 2024, 02:32:50 PM
#16
.
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
February 12, 2024, 01:26:29 PM
#15
.
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
February 09, 2024, 12:01:51 PM
#14
.
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
January 26, 2024, 03:27:48 PM
#13
.
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
January 10, 2024, 07:47:10 PM
#12
.
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
January 05, 2024, 09:58:30 AM
#11
[INFO] Updated Summary of malpractices and abuses of exchanges

It would be useful to have a thread that aggregates all legitimate reports of various abuses and bad practices of crypto exchanges: as KYC shotguns from "Non-KYC exchanges", frozen funds / accounts for reasons not specified in the conditions of use, frozen funds due to the use of risk-scoring tools that give dubious/false AML scores (like AMLBot for example), KYC requested by a non-registered company and so on...

The goal here is to keep track of reports, posts and threads published on the Internet on this subject, as they are too often deleted and poorly indexed. For a complaint post to be credible/added to this table, there must be sufficient indication of the nature of the problem, and evidence that the situation cited is real.

The table below classifies the various incidents by date. I'll continue to add to this table as I find new information, and with the new incidents that appear regularly.

Date       |
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
January 01, 2024, 03:49:05 PM
#10
.
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
December 27, 2023, 10:16:26 PM
#9
.
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
December 18, 2023, 08:25:31 PM
#8
.
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
November 30, 2023, 09:45:57 PM
#7
.
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
November 20, 2023, 03:12:27 AM
#6
.
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
October 29, 2023, 09:43:26 AM
#4
.
sr. member
Activity: 1344
Merit: 335
#SWGT PRE-SALE IS LIVE
October 29, 2023, 09:35:35 AM
#3
Del
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
October 29, 2023, 06:04:30 AM
#2
.
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
Jump to:
© 2020, Bitcointalksearch.org