Bitcoin Forum
May 25, 2024, 06:48:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 [18] 19 20 21 22 23 24 25 26 »
341  Economy / Computer hardware / Re: [WTS] CHEAP Power Supply (6 pcs available) + FREE MINER on: August 24, 2015, 09:30:28 AM
bump.

with escrow.
(price is very cheap now because i did not adapt to actual btc-rates)
342  Bitcoin / Electrum / Re: First post and i am a wreck on: August 24, 2015, 09:07:13 AM
I used coinbase and trasferered $5 into my electrum account as a test. Everything worked fine so i sent a semi large $400 deposit and now my electrum says not connected, i am new to bitcoin i found it very interesting and i am love all the new tech stuff. But this is a lot of bitcoin and i haven't the slightest idea how to handle this. Can somebody please lend me a hand i just started learning ubuntu so its linux that i run. Can somebody with expertise walk a noob through this? I am up at 3;30 am stressing this. Ughhh

Like RustyNomad said this is only a sync (connection) problem. Do not worry.


1. Click on the red dot (eventually its a syncing symbol)


2. Now activate the auto-connect:


You should connect to network now.

regards,
ca333


#EDIT: Enzyme (the poster below) dropped a good clue: ALWAYS SECURE (BACKUP) YOUR PRIVATE-KEYS or the wallet SEED! This is very very important. Best thing is to print out on paper and hide at secret safe place.
In future do this BEFORE you transfer BTC to your wallet. (You can still do it afterwards, even offline, but i recommend to do it at very beginning)
343  Bitcoin / Project Development / Re: bitcoinJS - packed for meteorjs on: August 09, 2015, 10:57:49 AM
I have another question:

How do I use the documentation for bitcoinjs ?

in "http://bitcoinjs.org", they say: "Documentation: Soon. For now, use the tests as a reference."

with a link to "https://github.com/bitcoinjs/bitcoinjs-lib/tree/master/test"

On this page, go to integration and basic.js, at line 20:

Code:
var hash = bitcoin.crypto.sha256('correct horse battery staple')
var d = bigi.fromBuffer(hash)
var keyPair = new bitcoin.ECPair(d)
var address = keyPair.getAddress()

First line is OK (replace bitcoin by bitcoinjs), I can print the hash in meteor: console.log(hash)
but what I'm suppose to do with "bigi" which comes from line 4: var bigi = require('bigi')

Also

key = bitcoinjs.ECKey.makeRandom();
works but
keyPair = bitcoinjs.ECPair.makeRandom({ rng: rng })
don't

I don't understand which functions or parameters I can use for bitcoinjs ?

you have to dig in code, and look for functionality which you need.
The current version is 1.5.7 and the npm module from my package also is on v1.5.7 which don't have
ECPair in it. see https://github.com/bitcoinjs/bitcoinjs-lib/issues/408
this is coming soon.

when you want more detailed documented library. maybe the bitcore is better for your need. Also
has very good playground/api-refs/documentation. I am packing right now bitcore last version for the meteor. I publish it
this days.

thank you,
ca333
344  Bitcoin / Project Development / Re: bitcoinJS - packed for meteorjs on: August 08, 2015, 01:28:51 PM
Anybody try to run this in AngularJS environment?

You can compile the bitcoinjs-lib for browser and reference
in your webapp. So then you can use it also with AngularJS (and any other client UI framework).

For example you can make it very fast with the node package manager:

Code:
$ npm -g install bitcoinjs-lib browserify uglify-js
$ browserify -r bitcoinjs-lib -s Bitcoin | uglifyjs > bitcoinjs.min.js


now only reference the bitcoinjs.min.js in your webapp and you can use it full on client-side.

Code:
<script src="bitcoinjs.min.js"></script>

ca333
345  Bitcoin / Project Development / Re: bitcoinJS - packed for meteorjs on: August 07, 2015, 08:22:30 AM
Hello community, i packed the bitcoinJS-library (http://bitcoinjs.org/) for the nodejs based framework meteor.

meteor package repo: https://atmospherejs.com/ca333/bitcoinjs
my github: https://github.com/ca333/bitcoinjs-meteor

I am working myself on few realtime-btc apps, mostly making experiments and tests on performance analysis, p2p-tests
and realtime social/communication applications with hard relation to BTC..

Happy coding.
thank you,
ca333


Thank you for giving us powerful and trustful script, I will definitely get a coder to install this on my website for btc realtime price quotes

It doesn't provide realtime price quotes. It's just a Bitcoin client for node.js/meteor. (Unless the OP changed something)

correct, BitcoinJS is only the lib for btc-procedures like the ecdsa-functions, transaction-building, scripts, multisig & hd-wallets, block-functions, etc..

for realtime price quotes use API of the exchanges. Principally we could also make a small package which is uses some cex-APIs (localbtc, btc-e, coinbase, etc.) and calculate avg. price which can then be used globally in any meteor-app. good idea. will do it.


346  Bitcoin / Project Development / Re: bitcoinJS - packed for meteorjs on: August 07, 2015, 07:07:59 AM
I installed npm on my mac
> npm -v
2.11.3

and I installed meteor and npm from scratch on my Ubuntu server
> npm -v
1.3.10

I have the same error on both machines

Code:
Uncaught ReferenceError: Npm is not defined
  Mac:    Uncaught TypeError: Cannot read property 'bitcoinjs' of undefined
  Ubuntu: Uncaught TypeError: Package[ 'ca333:bitcoinjs'] is undefined
Uncaught ReferenceError: Template is not defined
Uncaught ReferenceError: Meteor is not defined



i am not sure whats causing error. i have now excluded library client-loading.
can you try it again (remove & add), it should work now for you.
NOTICE: We use library only serverside. when you have data for client
publish/subscribe ONLY necessary pieces.

FYI: on OSX i am using npm @2.5.1 with meteor @1.1.0.3 ,
and on debian8 i am using npm @1.4.21 and meteor @1.1.0.3



i asked team-member to test it on his machine (debian 7 64b), also worked fine.
and i now installed ubuntu 14.04 x64 on my server and test again from scratch
and made sure error is not on my side. after ubuntu-installation finished i did this
procedure:


1. apt-get update && apt-get upgrade
2. apt-get install npm curl
3. curl https://install.meteor.com/ | sh
4. meteor create testapp
5. cd testapp
6. meteor add ca333:bitcoinjs
7. meteor

versioncheck:


app:


function-check bitcoinjs:


8. remove ubuntu, reinstalled debian Wink

so now should work.

thank you,
ca333
347  Bitcoin / Project Development / Re: bitcoinJS - packed for meteorjs on: August 06, 2015, 09:35:33 PM
I cannot install this package:

fisrt I create a project:

> meteor create myProject
> cd myProject
> meteor

Until here it's OK, then ctl C to exit meteor,
then I try to install  ca333:bitcoinjs

> meteor add ca333:bitcoinjs

(and not "meteor install ca333:bitcoinjs" as it is indicated)

the output from meteor:

Changes to your project's package version selections:
ca333:bitcoinjs  added, version 1.5.7        
ca333:bitcoinjs: Pure JS bitcoin library

then I restart meteor and and go to localhost:3000 in Chrome and I get that:

Uncaught ReferenceError: Npm is not defined
Uncaught TypeError: Cannot read property 'bitcoinjs' of undefined
Uncaught ReferenceError: Template is not defined
Uncaught ReferenceError: Meteor is not defined

What's wrong ?
Thanks



You must install npm:
Code:
apt-get install npm


P.S. i corrected my typo (install/add) in atmosphere and github. in atmosphere its stated in left top as meteor add [...].


#edit: I tested now on fresh virtual machine ( debian 8 ) and all work fine

steps i did:

1) install meteor, npm & create project
Code:
curl https://install.meteor.com/ | sh
Code:
apt-get install npm
Code:
meteor create myproject
Code:
cd myproject

2) add ca333:bitcoinjs (inside your meteor project dir)
Code:
meteor add ca333:bitcoinjs

3) generated a privkey @server and made ouput
Code:
var eckey = bitcoinjs.ECKey.makeRandom();
  console.log(eckey.toWIF());
348  Bitcoin / Project Development / Re: bitcoinJS - packed for meteorjs on: August 06, 2015, 12:38:05 PM
Hello community, i packed the bitcoinJS-library (http://bitcoinjs.org/) for the nodejs based framework meteor.

meteor package repo: https://atmospherejs.com/ca333/bitcoinjs
my github: https://github.com/ca333/bitcoinjs-meteor

I am working myself on few realtime-btc apps, mostly making experiments and tests on performance analysis, p2p-tests
and realtime social/communication applications with hard relation to BTC..

Happy coding.
thank you,
ca333


Thank you for giving us powerful and trustful script, I will definitely get a coder to install this on my website for btc realtime price quotes

Thank you. I hope other devs can find use in my packages. I already wrote async-wrapper for bitcore integration. So soon i release the bitcore async wrap, then you can use it for many things when it acts like sync procedure. This is great for example to make BTC websites, accept donation, check the balance of addresses, make webshop, and many many more opportunities to code nice bitcoin-applications with it.

thank you,
ca333
349  Economy / Computer hardware / Re: [WTS] CHEAP Power Supply (6 pcs available) + FREE MINER on: July 18, 2015, 08:00:13 PM
bump
350  Bitcoin / Project Development / bitcoinJS - packed for meteorjs on: July 17, 2015, 07:36:24 AM
Hello community, i packed the bitcoinJS-library (http://bitcoinjs.org/) for the nodejs based framework meteor.

meteor package repo: https://atmospherejs.com/ca333/bitcoinjs
my github: https://github.com/ca333/bitcoinjs-meteor

I am working myself on few realtime-btc apps, mostly making experiments and tests on performance analysis, p2p-tests
and realtime social/communication applications with hard relation to BTC..

Happy coding.
thank you,
ca333

351  Bitcoin / Development & Technical Discussion / Re: Check if your BTC-key is vulnerable on: June 21, 2015, 08:10:22 AM
[...]

The script working good but some problem more then a 50 transaction it not process

address: 1szVke6ThJtfdUTi6Y5AAMDMePM4Ha8vK

output

Resued R-Value: 262e481b6d8905b5adba67aff05eb8261501b0a9434c0b7f043d00cf8d23c91b
----------------------------------------------------------------------------------------------------------------------
if address: 1QCRoj5dPAsADvzd2o7NBy6kywBEkfC1Xh

output

compare:

Good pubKey. No problems.
------------------------------------------------------------------------------------------------------------------------
if address: 1BFhrfTTZP3Nw4BNy4eX4KFLsn9ZeijcMm

output

TX nr :51
Traceback (most recent call last):
  File "C:\master\identical-r-check.py", line 61, in <module>
    print "hash: " + str(addrdata['txs'][y]['hash'])
IndexError: list index out of range
------------------------------------------------------------------------------------------------------------------------
1BFhrfTTZP3Nw4BNy4eX4KFLsn9ZeijcMm -> this address reused r value but the script give error how to solve , if any solved script available

you must use offset to load ALL data.
I posted on previous page:

interesting feedback from person on reddit when I shared this script (I wrote an article on my own site to archive this script and talk about it and share it with others who aren't on here)  and it goes like:

Quote
There's a problem with either the script or the blockchain.info api where the number of tx field doesn't match the actual number of tx sent.
In other words,
Code:
assert( len(addrdata['txs']) < addrdata['n_tx'] )
fails.


The script only works for keys with up to 50 tx. If your key got more than 50 tx you have to add some lines (add loop and use optional API-parameters limit and offset to parse through all transactions [50+]).

yes but i writed this in the first post (see above comment), so its only for max 50 tx. when it s more you must adapt the script because it takes the information from blockchain.info and example its more 50 tx, but only loading 50 tx data from bc.info API, then it parses outside range of loaded data. this is the error. i hope you understand. when you need adaption of script write me. i am happy to help you anytime.
thank you.
 Yea I'd like to see the for loop if possible to choose trx size

hello sory i don't see yours reply so waited so long. excuse me.
ok i post pseudocode hope you can add it with python in fact only little work:
full script i write in coming weeks. #EDIT: overload with RL-work. will sit on extension soon.

Code:
x=0
y=0
z = getTXnr(); //get total number of transactions
n = z%50 //modulo operater so we know the number of tx in last page [b]when its < 50 TX[/b]
m = (z-n)/50 //this is so we know HOW MANY TIMES we have A FULL PAGE (50 tx)

//also we need adapt the urladdr because now we take MORE THAN 50 txs. so we use offset parameter for going through pages.
for y < m:
      compare(loadData("https://blockchain.info/de/rawaddr/" + str(addr) + "&offset="+ x)) //now it load the TX begining @x tx.      
      x+=50; //now we go to NEXT 50 tx.. offset=50 means we ingnore first 50 txs.. or we start @TX NR 51..
      y+=1;

compare(loadData("https://blockchain.info/de/rawaddr/" + str(addr) + "&offset="+ x)); //now it take the LAST TXs from the LAST PAGE
//IMPORTANT: in the compare section of the script you MUST ONLY PARSE n transactions


This is the example of above pseudocode with REAL values in it. so you see every loops job and what is happening here exact:


Code:
//now REAL example with value: so we think for a [b]tx with 138 TXs[/b]
x = 0 //first offset we start @tx NR. 0
y = 0 //our counter for increment
z = 138 //number of total TX
n = 38  //138 modulo 50 = 38 rest
m = 2  //number of FULL pages with 50 TXs

//1st run of loop:

for 0 < 2:
     compare(loadData(blockchain_data(offset=0))); //we start at TX 0 and get data until TX nr. 50
     x=50

//2nd run of loop:

for 1 < 2:
     compare(loadData(blockchain_data(offset=50))); //we start at TX 50 and get data until TX nr. 100
     x=100

//now we leave foor-loop and compare the LAST txs (n)

compare(loadData(blockchain_data(offset=100))); // here its only important so you PARSE ONLY n transaction in the compare-part of the script.
//so for this is the n needed.



have a good sunday evening.
thank you.
ca333


I write again: THIS SCRIPT ONLY WORK FOR MAX 50tx. If you want more, you must use algorithm from above i published in previous page.
Please read all posting in this thread. then its all clear.

thank you,
ca333





It looks like addrdata isn't large enough, simply a buffer overflow.  Does print "number of txs: " + str(addrdata['n_tx'])  output a value larger than 50? I suggest printing y, addrdata['n_tx'] and the other values. It's a multidimensional array and one of them is out of range, meaning the array is not large enough to store values there.

yes because data is NOT LOADED from blockchain. so script parses out of range ==> "overflow" (from array)
352  Bitcoin / Development & Technical Discussion / Re: Check if your BTC-key is vulnerable on: June 04, 2015, 09:07:44 AM
This software is great, but does not provide any value to the users.
I am pretty sure, that reused R values will be detected within milliseconds and the private keys emptied immediately.
So if your funds are gone, you have reused a R value ;-)

not "any" because low balance keys are not interested for bad guys. i provided this for testing/educational purposes.
if i find out it makes harm to users/btc-community i will delete all. also the services i finded out have rng vuln i directly
imported balance and contacted developers. i think nobody with exsisting btc-service have rng issue anymore. also all pubkeys with more 50BTC or more balance are secured.

and i extra only provided a lightweight script. so with this technology (json request http) no chance to scan fast. if ported into ansic and used on highend server with own blockchain i can scan/compare all chain inputs in no time. but i think this people who are able to do this, have a moral compass and do not do this... badguys most cases are not very inteligent.


also if anybody interested in more things i start soon release my scriptbase and software on github. (ca333)
it s all for btc-security and some cryptocurrencies security.

thank you.



Hats off to you for not being like most others. Many others with your skillset would use their talent for malicious intentions, it takes a real human to use their talents for honesty.

thank you for positive feedback. i think we, as human, and as technical skilled community, must try to make it better place, RL and virtual world. and only when "you behave like you want also other to behave" (= form of categorical imperative from Immanuel Kant) the society and community we living in, will move into good ("moral and ethical correct") direction... for my opinion we must fight bad malicious things and not make more harm for others.. karma is existent.

thank you
ca333
353  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Qora | 100% POS | Assets | Names | Voting | Automated Transactions on: May 25, 2015, 05:33:15 PM
my wallet very often frozen(als disconected) and that close it, I can only with task manager. After I open I need all blocks synchronizing afresh.

when does this happen to you? after you open the wallet or is this general issue for you?
354  Economy / Computer hardware / Re: [WTS] CHEAP Power Supply (6 pcs available) + FREE MINER on: May 20, 2015, 06:27:56 PM
bump
355  Economy / Games and rounds / Re: [SOLVED] satoshihack.com - hack the 0.1 BTC reward! - ROUND NR 3 on: April 28, 2015, 03:52:12 PM
Is there going to be any more of these upcoming, or have I missed something?

no you have not missed it. more will come. i had a problem in RL so i am not able to do it. (https://bitcointalk.org/index.php?topic=993678.msg11061995#msg11061995)

the #4 hackathon is in preparation for the next days.
thank you!
ca333

Same issues here. Don't bother. Launch it after 3 weeks, or so, when I get more time.  Grin

Smiley prepare and make yourself ready for this weekend.

Is there going to be any more of these upcoming, or have I missed something?

no you have not missed it. more will come. i had a problem in RL so i am not able to do it. (https://bitcointalk.org/index.php?topic=993678.msg11061995#msg11061995)

the #4 hackathon is in preparation for the next days.
thank you!
ca333

Ah, I see. Speedy healing to you! Looking forward to it when you are able.  Wink

thank you! i have finished it and will publish the hackathon the coming weekend. The countdown on the site is now accurate.
356  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Qora | 100% POS | Assets | Names | Voting | Automated Transactions on: April 26, 2015, 08:17:56 AM
Old coin, new thread?

New dev team. Community takeover: the first friendly takeover I've ever seen in this space.

Just out of curiosity but is the AT team also the same team as the Qora team or are they two separate teams both working on the same coin?

Do Qora and BURST share the same development team?

We are two teams, but working with strong collaboration. In opensource world this is elementary rule you must follow: work together

P.S. A very good progress @agran! i am very happy to see it in public action.
357  Economy / Games and rounds / Re: [SOLVED] satoshihack.com - hack the 0.1 BTC reward! - ROUND NR 3 on: April 26, 2015, 08:10:39 AM
Is there going to be any more of these upcoming, or have I missed something?

no you have not missed it. more will come. i had a problem in RL so i am not able to do it. (https://bitcointalk.org/index.php?topic=993678.msg11061995#msg11061995)

the #4 hackathon is in preparation for the next days.
thank you!
ca333
358  Bitcoin / Development & Technical Discussion / Re: Kaspersky and INTERPOL Say Blockchain is Vulnerable on: April 17, 2015, 12:58:50 PM
OP_RETURN could be used to announce new C&C servers to victim computers.
Making the botnet pretty resistant vs. goverment downtakes.


Seams like a solid alternative vs. classic DGAs.

"nice" idea. haven't thinked about this option to use the blockchain.. but if such data is not encoded properly goverments could start to fetch bc-data too and look out for "bad" infos..
359  Economy / Computer hardware / Re: [WTS] CHEAP Power Supply (6 pcs available) + FREE MINER on: April 17, 2015, 12:53:50 PM
BUMP

#EDIT: also able for offering small discount. You can also pickup in zurich for testing psu.

BUMP. Still all the PSU available. ESCROW.
360  Bitcoin / Development & Technical Discussion / Re: Kaspersky and INTERPOL Say Blockchain is Vulnerable on: April 13, 2015, 07:55:57 PM
next time they able for testing any other cloud "storage". why not post vuln code in facebook, google docs, or also why not in pastebin. Then start attackscript/app which parse the "bad" data from pastebin or FB to execute on infected computer... And then they will say pastebin is vulnerable...Huh I think its only what they must do. Its order from above. Big banks and finance institution say to Interpol "you must say this and this about the btc". And then they work together with Kaspersky and tell them "we must say this and this about bitcoin". I think its a command from "higher place": "make bad news for bitcoin"...
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 [18] 19 20 21 22 23 24 25 26 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!