Bitcoin Forum
May 15, 2024, 04:14:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Very easy installation lightning network from sources (with bitcoind and more) on: May 23, 2018, 04:31:00 PM
Hi!
    
I finished the fine tools as i think

I created Makefile utilities for bitcoind & lnd compilation under $HOME directory (no root access!)
This makefile does everything for full bitcoin node and lightning network node. This kit was created for CentOS 6.* but it works in Ubuntu / Linux Mint OSes too and may be will work in 90% Unix systems.

Details:

It compiles from sources under $HOME directory: compilers (gcc 7.1, go, node.js, python2 & python3) and tools (autoconf & autotools and etc), all libraries (boost, openssl and more), bitcoind daemon, lnd daemon , lncli-web client (and node.js for this) and does all configuration for you! You need only create a wallet in lnd. It works fine with UPnP routers (from sources too!) and can define network configuration (real public IP & network interfaces)

So if you want to have bitcoind & lnd node you need only to do:

make i-want-lightning
make set-up-lightning-mainnet

And after you can run:

mainnet-lightning-start

And you have bitcoind full node & lnd node with web interface (lncli-web)

You can setup in one host mainnet & testnet daemons without any conflicts.

Enjoy!

URL:  https://github.com/Perlover/bitcoin-kit-makefile    

Perlover
2  Bitcoin / Development & Technical Discussion / 51% attack + miner censor = permanently control (new idea for sollution) on: November 15, 2017, 10:05:44 AM
Hello Bitcoin developers and miners!

I made screnshot today of last 24 hours stats of miner pools.
https://www.dropbox.com/s/cutgbv884yq55xz/2017-11-15%2007.34.20.png?dl=0

The pools BTC.com & BTC.TOP & ViaBTC & AntPool have more 51% of power.

I saw near time ago these pools in Bitcoin Cash mining... But lets imagine a following situation:

These (or other pools) which have >51% of power decide to censor blocks of other miners. Further we shall call them "bad miners". Other miners will be called as "good miners". It can be made by easy: by filtration of "coinsbase" content. The "bad miners" can use a following algorithm:

To see last block. It mined by our "bad miners" group? If yes, we mine next block based on last block. If no: we ignore this block and mine on last block from our group...

For example first next mined block from "good miners". All nodes follow to PoW strategy. It's OK. But in next time in bitcoin network there appears the block from "bad miners" chained with block earlier (the parent block is from "bad miners" too). It's fork. The "good miners" will flow to both chains. But "bad miners" have >51% so very quickly the their chain will win. And last blocks of this chain will consist only blocks from "bad miners". All nodes will switch to chain of "bad miners". The blocks of "good miners" will be orphans. The "good miners" will loose money from mining and very quickly will have to leave from bitcoin. The "bad miners" will keep turned on censor algorithm and they will have permanently control mining power... Only a sudden arrival of a large miner with a power of more than 50% will defeat them. I see no other idea.

Is it realistic scenario? I think yes and it can happen right now.

What methods of counteraction can this be? Somebody can think about to change hash alogorithm. For example as in Bitcoin Gold. But in any case and there this can happen again in time.

----------------------

Here is idea for bitcoin developers. It's raw idea but very easy one and i think it can be realized. May be through hard fork... It's better to be puzzled about this right now, before it's too late.

Please to see image of https://www.dropbox.com/s/fh7aatme4dwh0st/2017-11-15%2010.13.35.png?dl=0

I suggest to use consensus of "greater nonce in coinbase will win" for last 6 blocks for example.
It's easy. All nodes should must temporarily believe 6 last blocks based on the block that has greater nonce right after fork . And only if after fork not more 6 blocks after. If more 6 blocks after fork nodes and miners should trust chain with cumulative PoW (as now). This requirement is necessary so that the "bad miner group" does not make secretly blocks with a large nonce. And this requirement is necessary for checking of blockchain by new nodes.

This is a random-deterministic algorithm of choice that gives a chance to create a block for any miners, not only with a large hash power. This algorithm should be followed by miners. But it does not require any additional changes in the protocol itself. I think, in this algorithm, first of all, a group of good miners is interested. They could on their side run the algorithm for choosing the best chain after the fork. Also, nodes could implement this algorithm. Perhaps, everything can be done through soft-fork, or simply by updating the software.

Your opinions? I would like to hear the opinion of Bitcoin Core developers.
3  Bitcoin / Development & Technical Discussion / CentOS 6.* + BitcoinCore/UASF/SegWit patch == ready solution here on: June 07, 2017, 01:06:33 PM
Hello!

I wrote and tested Makefile for local-user environment for compiling and installing Bitcoin Core UASF patch (https://github.com/UASF/bitcoin)
It's for CentOS 6.* but i hope it will work in any Linux and *BSD systems

https://github.com/Perlover/bitcoin-uasf-makefile

Please README.txt there (why i did it)

Best regards, Perlover Smiley
4  Local / Барахолка / Продаются две квартиры, Екатеринбург, BTC on: January 24, 2017, 02:33:46 PM
Всем доброго дня!

Выставлены две квартиры на продажу, за биткойн, г. Екатеринбург, Россия

http://homes.e1.ru/view/234621751/

http://homes.e1.ru/view/234615471/

Если кратко - продаются по согласованному (с покупателем) курсу выбранных с ним бирж (1:1), оплатой считается 3 подтверждения сети. На одну из квартир прямо в нотариальной доверенности прописан биткойн адрес. В любом случае, перед приёмом биткойна может быть подписано соглашение с указанием биткойн адреса оплаты и сводом правил между покупателем-продавцом - что и как принимать за оплату.
5  Bitcoin / Bitcoin Discussion / 16 blocks for 60 minutes (and 19 blocks for 90 minutes) on: January 20, 2017, 02:00:01 PM
Hi,

https://www.dropbox.com/s/tvb50nykbhvj7kc/blockchain-speed.png?dl=0

Now is very strange situation - 16 blocks for one hour or 19 blocks for last 90 minutes...
SHA-256 fluctations or very quickly delta speed of miners?

What do you think?
Very strange...
6  Bitcoin / Development & Technical Discussion / Blockchain without PoW == Git repositary on: October 27, 2016, 11:32:56 AM
Hi,

I often listen that blockchain will change world
But 99% who tells it - they don't tell that analog of blockchain exists before Bitcoin - it's Git repositary

Commit ==> Hash of files in commit - it's like block and merkle root
Commits are chained in chain of commit == blockchain w/o PoW (Proof-of-Work)
The master branch for example it looks like main chain of bitcoin
If you change something in commit - you change all hashes of current commit and all commits after

So 'git clone' - it's like start and downloading a full node.

So Git is first blockchain without PoW only in manually distributed mode Smiley

And may be it will be interesting too Smiley
https://en.wikipedia.org/wiki/Kernel.org#2011_attack

And

"Git calculates a cryptographically secure SHA-1 hash for each of the nearly 40,000 files that make up the Linux kernel. The name of each version of the kernel depends on the complete development history leading up to that version, and once it is published, it's not possible to change the old versions without someone noticing. Any changes to the source code would be noticed by anyone updating their personal copy of the code, according to the site's security notification. "

from: http://archive.is/Khq7R


Bye!
7  Economy / Marketplace / Tesla was sold again for Bitcoin :) on: July 07, 2016, 11:57:41 AM
Hi all,

News:

http://themerkle.com/auto-outlet-sells-its-second-tesla-car-for-bitcoin/

and the news from company:

http://www.auto-outlet.fi/en/uutiset/2016/07/we-accept-bitcoins/

I think it will be interested Smiley
8  Bitcoin / Project Development / Shamir scheme backup like BIP39. And the Bitcoin Trezor supporting? on: June 03, 2016, 11:04:40 PM
Hi everybody,

I have idea. I don't know - may be there is some draft of BIP. But i will try to write here.

There is BIP39 - mnemonic backup 12-24 words. But there is problem - if somebody will find paper phrases - he will stole all bitcoins.

But Shamir scheme exists. And i don't see normal tools for this. But i am sure that there can be BIP standard for this: mnemonic entropy (seed) to be encrypted in some Shamirs shares (based in seed and type of Shamir's scheme) which are encoded same way as mnemonic sentence (each 11 bit - one word from same list) but for each shares separately. User writes these words (i don't know which length of each share will be) in each share card and keeps them separately.

But my idea for Satoshi Lab too - to realise may be some BIP and to program its in Trezor. Trezor could be suggest to user to choose - plain backup BIP39 or BIPXX (Shamir). If user choose Shamir backup he should be asked scheme (for example 3/5). For this example the Trezor could be show words for each 5 shares separately and even an infected computer will not know which words are. User can write all shares in one time and will put them to some places. In this realisation will not be vulnerable computers/printers. Only code of Trezor, pen of user. So backup will be more better than BIP39. If he will need to restore - he should enter words in Trezor how he do it know with BIP39 (through computer in order known to Trezor only) for only 3 shares for example (if scheme is 3/5). After this Trezor to restore seed.

What do you think?
9  Bitcoin / Bitcoin Discussion / TRADEMARKS: Bitcoin Solutions, Free Bitcoins, The Bitcoin Store - Is it Legal? on: October 15, 2015, 09:20:55 AM
I found this trademark
I think it's not-legal trademark because there common words for Bitcoin world - bitcoin & solutions

Other Bitcoin LIVE trademarks has a like this notice:

"Disclaimer    NO CLAIM IS MADE TO THE EXCLUSIVE RIGHT TO USE "BITCOIN EXCHANGE" APART FROM THE MARK AS SHOWN"
"Disclaimer    NO CLAIM IS MADE TO THE EXCLUSIVE RIGHT TO USE "BITCOIN" APART FROM THE MARK AS SHOWN"

But this doesn't have. I think the Bitcoin Foundation should do something against this. What do you think?

Code:
Word Mark 	BITCOIN SOLUTIONS
Goods and Services IC 036. US 100 101 102. G & S: Cryptocurrency payment processing
Standard Characters Claimed
Mark Drawing Code (4) STANDARD CHARACTER MARK
Serial Number 86604673
Filing Date April 21, 2015
Current Basis 1B
Original Filing Basis 1B
Owner (APPLICANT) Bitcoin Solutions LIMITED LIABILITY COMPANY TEXAS #111 6353 Richmond Avenue Houston TEXAS 77057
Type of Mark SERVICE MARK
Register PRINCIPAL
Live/Dead Indicator LIVE

P.S. I think - these trademarks are created with the expectation to litigate later. They are like time bombs.
10  Local / Новички / Trezor - пост про весь его потенциал on: February 21, 2015, 09:49:18 PM
Всем привет!

Написал статейку
Думаю, окажется полезной большинству, кто использует или хочет использовать биткойн безопасно и легко

http://blog.perlover.com/2015/01/28/trezor-setting-using/

11  Bitcoin / Bitcoin Discussion / [RESOLVED] Dangerous situation with unconfirmed transactions! on: November 21, 2014, 08:30:18 PM
Hi,

I am waiting money from this transaction

https://blockchain.info/tx/7a61556699cf0fa79ce974966f9692cf0dc9a0fc1937ee08e9f1857e3e8cfc15

I got this money as payment
But if you will see - there is (U) output

The reseller with address 1JHif33UQGNkApimhtXaxvNJvwaULLZT1v paid to me. I work with them and they are ok.
But i am sure that they uses blockchain.info wallet and reuse address (i think same because they can comment transactions in blockchain.info)

But there very very dangerous situation.
There is very long chain from unconfirmed transactions:

https://blockchain.info/tx-index/69901819/0
https://blockchain.info/tx-index/69903207/1
https://blockchain.info/tx-index/69900458/1
https://blockchain.info/tx-index/69899816/1
https://blockchain.info/tx-index/69897027/1
https://blockchain.info/tx-index/69898025/1
https://blockchain.info/tx-index/69895266/1
https://blockchain.info/tx-index/69893186/1
https://blockchain.info/tx-index/69893825/1
https://blockchain.info/tx-index/69889516/1
https://blockchain.info/tx-index/69888701/1
https://blockchain.info/tx-index/69888152/1
https://blockchain.info/tx-index/69888148/0
https://blockchain.info/tx-index/69887337/1
https://blockchain.info/tx-index/69887286/0
https://blockchain.info/tx-index/69888019/1
https://blockchain.info/tx-index/69887997/0
https://blockchain.info/tx-index/69887218/0
https://blockchain.info/tx-index/69888019/1
https://blockchain.info/tx-index/69888019/0

But the root of all problems is this transaction:

https://blockchain.info/tx-index/69887997/0

It was sent (6 hours ago!) with very small value with zero comissions and has small value (0.0088)

But somebodies after these transactions spent these money by sending next transactions in bitcoin pool.
Miners don't take this zero-fee transaction for block
But from this small transaction many many other transactions are depended (with sums more more bigger than root transaction)!

If owner of this spent money (https://blockchain.info/tx-index/69887997/0) will want to make now double-spending (now with non-zero fee for example) - IT WILL BE BOOM! It's very easy to make as 'sweep money' for example, if address is cool storage for example.

My reseller thinks that i got money. They pay through blockchain.info wallet.
It's not criminal - to send chain of transactions in pool before includeing these in block.
This allows you to make multiple payments from a mobile wallet without waiting to confirmation.

But if it depends from multiply wallets and resellers - it's very dangerous!

I think a decision may be depend only from miners. But theirs software don't take zero-fee transactions a long time.
Now my money and other ones depend from one very small transaction! And i could not to do something against from this Sad

Partly, i think, it's problem is caused by improving wallet software - to allow spend money from transaction which are in only current pool not in block. It would work fine if only not wishes of miners to take transactions with non-zero fee.
12  Local / Юристы / Биткойн и налоги в государстве - небольшой &# on: November 05, 2014, 12:47:38 PM
Добрый день!

Везде пишут и говорят, что Биткойн может помочь с решением государственных проблем
Но пока нигде не видел, где бы кто-то пытался описать чуть конкретнее - как регулировать и как помочь, например, с налогами
Тут я набросал свою схему, как мог бы выглядеть сбор налогов и регулирование для Биткойна

http://goo.gl/2wuKoV

С уважением, Perlover
13  Local / Новички / Trezor девайс + Electrum 2.0 - как откомпилировать на Ubuntu - инстр& on: October 20, 2014, 10:17:14 AM
Привет всем!

Собрал всё вместе, проверил и написал инструкцию, как откомпилировать из исходников Electrum 2.0 для работы с Trezor девайсом
В результате - девайс Трезор работает без сайта MyTrezor.com, только из Electrum

http://blog.perlover.com/2014/10/20/electrum-2-0-trezor-compiling-driver-usb-ubuntu/

В инструкциях учтены все ошибки, которые публиковались на форумах
14  Bitcoin / Bitcoin Discussion / Fishing malware in future (address changing)? What do you think? on: August 21, 2014, 09:25:57 PM
Hi,

When the Bitcoin will be very popular and may be not when ...
Malwares can appear as malware/viruses which will change any Bitcoin address in web page, in links to hacker's Bitcoin address and any xpub key of BIP32 can be changed easy to xpub key of hacker. All Bitcoins and xpub keys are easy to fit program masks. They easy can be found and changed. There no needs to analyze stream of document - easy s/\b1[a-z1-9]{N,M}/1MyBitcoinAddress/ig can be applied to traffic stream.

One world, one payment details, one easy way to change payment details

What do you think?
What tools can be appear against it?

This malware can be installed in browser plugins, it can be installed in routers and so on.  A web traffic can be changed by this hack code (https can safe partly - middle man attack with certificate changing can be there).

All donations, some internet shops...
Some % of payments can be redirected to hacker addresses.

I think it's serious problem can be in future.

I see salvation only in BIP70 now (certificates)

But now the world of Bitcoin is unprotected from this.

How do you think?
15  Bitcoin / Project Development / Idea for developers - wallets with fiat monitoring loss/win on: August 19, 2014, 11:06:24 PM
Hi,

I have an idea for developers of wallets
It will help people to make decisions in the world where a fiat money have a priority Smiley

Sometime we put bitcoins in wallet and sometime pay by bitcoin.
But we can remember how many bitcoins we put and what rate in our loved fiat currency was there and same for paying by bitcoins.
A wallet can take in account all these parts (bitcoin +rate) and always shows to user he loses fiat money or if not if he will pay some bitcoins.

For example, now user have:
Input in wallet - 0.5 BTC, to be inputted at 2014-05-02 by rate $430 for BTC
Input in wallet - 0.3 BTC, 2014-07-20, $620 for BTC

For example today (2014-08-20) user wants to pay $96, today rate is $480 for one BTC, It's 0.2 BTC (when bitcoin costs $480), the wallet should calculate best sum of losing/winning what happens if user will pay. So wallet take best price and part for best for user side  - $620 and calculate before paying and shows:

0.2 BTC - $96 (480 * 0.2) - you win: $28 (630*0.2-96) [wallet will take a most costed part of bitcoins first]

Ok, the user thinks - super and and he pays. After in database we have two records:
0.5 BTC for $430
0.1 BTC for $620

Tomorrow for example BTC costs $520. The user decides to buy something again.
He opens the wallet, go to site and there price - $280. Now he has 0.6 BTC in wallet to be derived from 0.5*430 + 0.1*620.
The wallet calculate how many BTC he will pay now - 280/520 = 0.53846. Wallet calculate before paying and shows to user a following:

$280, 0.53846 BTC, you win $29.46 (how we got: 280-0.1*620+(0.53846-0.1)*430)

OK, user thinks - it's super, bitcoin is super and press "To pay" button.
Now he has in wallet 0.06154 for $430.

So if then he will go to pay a rest of bitcoins in next payment when the bitcoin will cost $520 he will see:

$32, 0.06154 BTC, you lost $5.54 (32-0.06154*430)
May be he will decide to pay by other payment system by fiat money.

So for this implementation a wallet should keep all parts of bitcoins (pairs as BTC + rate of bitcoin in day when its was put to wallet)

Really i think this will help people to make decisions in the world where a fiat money have a priority!

Thanks!

P.S. If you will realize it you can donate here - 1MtuNUZJ571Bcvre7VDpidDTR884n58rqS (there are 1 mBTC is mine Smiley
I cannot time and possibilities to make it Sad

Perlover
16  Bitcoin / Development & Technical Discussion / Small fee transactions + shops which trust 0 confirmations on: July 28, 2014, 09:20:34 AM
Hi,

I experimented with my wallets and transfered to mine from other wallet 0.008 BTC with fee 0.000001 (1/100 from recommended). Inputs of this transaction refered to outputs of other transaction with only 1 confirmation. So weight of inputs were very low priority. And value of this transaction was < 0.01 BTC which recommended.

I saw my transaction in "memory pool" at blockchain.info. It had not be confirmed very very long time (i waited ~ 2 days) and now there is no this transaction at blockchain.info. I think it was ignored and wiped as dust by nodes. My wallet now thinks that this transaction is pending and doesn't allow to spent this money. Ok, i know if i restore wallet from private keys at other device may be i will be able to spent this money. My question not about this.

I know shops which accepted micropayments after 0 confirmations. I thought it's fine and ok because double spending is very difficult. But after this the case i don't think same.
An attaker can send a micropayment to same shops by way as i did. Shop sees transaction (value < 0.01 BTC) in pool and decides to release a good or a service to buyer. But after this the payment will stay in memory pool long time and after erased because some conditions occurred from default described here: https://en.bitcoin.it/wiki/Transaction_fees

What should shop do for to prevent such instances? Software of shop should see in transaction fee? But if the buyer did not do it intentionally (wallet had fee as 0.000001 BTC for example or there zero fee)? And if this happens, as a shop in advance, fast, can know - will this transaction confirmed (even after 1-2 days) or not?
17  Bitcoin / Development & Technical Discussion / Compressed blocks in blockchain only with unspent TXs on: July 27, 2014, 06:53:58 PM
Hi all,

Sorry for my English if it's not good for understanding Smiley

I am ordinary user if Bitcoin. I am concerned about the increasing size of blockchain. Now in the Bitcoin not so much amount of tansactions but if the Bitcoin will be bery popular the Bitcoin blockchain will be unreal biggest for ordinary users and for using.

I want to suggest an approximate solution fot decrease blockchain of Bitcoin.

As i think now the blockchain to be need for checking all not spent outputs of transactions. Some not spent outputs deeply submerged under blocks. Some transactions with unspent outputs can be in the block number 123, other in the block number 128523 and so on. By this reason a client software needs scan and check all blockchain from up to down for balances of client's addresses and so on. I want to suggest simply solution. Details are skipped. This is a very rough description, sorry for it Smiley

I think the blockchain can have a special block to be mined and to be checked by miners (difficulty can be more strong and to be based from current difficulty). This block can be mined through 2016 blocks for example (every two weeks) as the difficulty to be changed. This will be special block without current live transactions. It will have only transactions with unspent outputs. For example i will call this block "the compressed block". This block should have only unspent outputs of transactions to be happened from previously "the compressed block". Because now the blockchain doesn't have same blocks first block should have all last unspent transactions from genesis block for example. Same special blocks should be checked by miners (miners will have whole blockchain in first time) and to be mined by same algorithms as normal blocks with transactions. I don't know how to use there coinbase. May be the reward for this block same as normal and reward will be devided to two after 210,000 blocks but these blocks take into account in total mined blocks.

When same "compressed blocks" will be there client software can download blockchain from up plain blocks down to first compressed blocks then it can load only old compressed blocks. I think now that this information about unspent transactions could be enough for the normal functioning of the network. But these blocks will resolve main future problem of biggest size of blockchain in future. All made transactions will be eliminated from memory of clients and client's blockains.

What do you think about this?
18  Local / Новички / Банкомат в Праге - личный опыт - продажа и пок on: July 21, 2014, 12:11:15 PM
Привет всем!

Сегодня купил и продал в банкомате типа Robocoin в Праге Биткойны
Кому интересно - можете почитать

http://blog.perlover.com/2014/07/21/bitcoin-%D0%B1%D0%B0%D0%BD%D0%BA%D0%BE%D0%BC%D0%B0%D1%82-%D0%B2-%D0%9F%D1%80%D0%B0%D0%B3%D0%B5-%D0%BB%D0%B8%D1%87%D0%BD%D1%8B%D0%B9-%D0%BE%D0%BF%D1%8B%D1%82/#.U8z_TLFCOUk
19  Other / Beginners & Help / biteasy.com donate address as 1Biteasy... on: May 26, 2014, 02:30:36 PM

Hi,

As i know from docs the bitcoin address formed from private key and no way to get private key from public address
The biteasy.com has donate address as '1Biteasym3p5E4soZq8So6NjkjYugEnz2X'

Question: how did they do it?

They used a 'brute force' generation of private key for getting address ehich begins at 'Biteasy'?
I don't realize other way for it. If yes how could take a time for it? Smiley

Perlover
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!