Bitcoin Forum
July 03, 2024, 11:41:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 [5] 6 7 »
81  Bitcoin / Project Development / Re: [ANNOUNCE] Abe 0.6: Open Source Block Explorer Knockoff on: January 22, 2012, 02:04:04 PM
Silly me, of cause it was documented Smiley

I tried the sql file from the torrent today, since the VPs was having a hard time catching up.
It didnt work out too well, after importing the SQL, one needs to manually recreate all views, because they contain a security definer pointing to an invalid user.

But then Abe can import, however once its done skipping rows, it fails because it tries to insert a block at id 1, if I rerun it, it ties as 2,3,4 etc.

I gave up in the end and started the import over again, poor VPS Smiley
82  Bitcoin / Project Development / Re: [PAY] Patch bitcoin v0.5.1rc2 to send a HTTP POST when a new block is accepted on: January 22, 2012, 01:50:19 PM
Very nice Smiley

Not sure how to decode the scriptsig, but I dont use sender for now anyway.



83  Bitcoin / Project Development / Re: [PAY] Patch bitcoin v0.5.1rc2 to send a HTTP POST when a new block is accepted on: January 22, 2012, 09:06:39 AM
I've had a little bit of time to work on this today.
I made a new thread just to handle posts like Gavins blockmonitor does.
When a new transaction is received and gets accepted to the memory pool it will put a new post in the query to be sent out.
Very nice, that is exactly what I wanted, a post per tx, and since its localhost it should be fast enough to keep.

You can use it like getmemorypool("transactions") and it will dump out all unconfirmed transactions
Also useable, but then you would need to poll it every so often and check if theres new transactions.

Did you get a POST system working in your test?
If so could you show what data the post script would receive ?
84  Bitcoin / Project Development / Re: [ANNOUNCE] BitPing.Net - A bitcoin notify service on: January 22, 2012, 08:17:15 AM
I would like to use your service but as I see it already has downtime.
You don't plan to make it reliable ?

Also does it have option that if my server is not available that it tries to deliver notification later ?
If I didnt plan to make it reliable, I would not have spent the time to move it to a new server, now would I  Huh

It will retry for a few times, but if your server is down more than 10-20minutes, the notification will fail.
However you can use pubnub, and their history command to check for missed events.


The downtime was because my previous VPS provider did a very poor job, ended up with a broken database, and had to move it yesterday.

For now its hosted at slicehost, and by the end of next month, when my new dedicated is ready, it will be moved as a VPS on that.

If this takes off, then I will ofcause make redundant systems with HA failover.
But as long as its low volume, a VPS on my dedicated should have plenty of uptime.
85  Bitcoin / Project Development / Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors on: January 20, 2012, 09:16:49 PM
And what happens when the people you are selling access to, do something illegal with YOUR internet access?

Who will be tracked down and made to pay?


It would be nifty if one could sell Tor-only internet access. Liability is the only reason I don't share my wireless for FREE, let alone for money.

If you run a linux firewall it would not be too hard, setup a tor relay and force all users to use the tor proxy, like many corporations already do (transparent proxy).

But tor is often slow and barely useful to check email.
86  Bitcoin / Project Development / Re: [ANNOUNCE] BitPing.Net - A bitcoin notify service on: January 20, 2012, 08:21:33 AM
New feature : AdHoc notifications - https://bitping.net/oneshot.php

This is a mini API to request a single notification of 1 payment without registering as a user.
For now any URL can be used, but it may be necessary to limit it to URLs that resolve to the IP of the API caller later on, to prevent the service from being used as a slow and expensive HTTP attack gateway Smiley

Will be added to github in a day or two, already live on the site, feel free to give it a test run!
87  Bitcoin / Bitcoin Technical Support / Re: PoolServerJ - Tech Support on: January 18, 2012, 08:52:53 PM
do you import the poolserver.sql tables into your database and make sure the ma mappings are correct in the psj conf?
Imported yes.
I didnt change the mappings, but used those in single mine example.
I have checked that the fields exist.
88  Bitcoin / Bitcoin Technical Support / Re: PoolServerJ - Tech Support on: January 18, 2012, 07:46:30 PM
You did not give PSJ permissions  also you need to turn on trace debug in you settings file to see errors on the screen.

Permissions should be ok, in MySQL I granted it all, and I just tested that I can insert to shares table with same login, also it didnt complain about the user logins, that I created in user table (but then again I didnt check with a user that would fail, dont know if it falls back to no check if theres DB problems).

enabling trace=all gives alot of these
[20:39:05.159] TRACE[blockmon_firecheck] Sleeping timed block check cycle for source: litecoin-1.litecoin 0ms
[20:39:05.169] TRACE[blockmon_firecheck] Firing timed block check for source: litecoin-1.litecoin overdue by 10ms

but even with those removed form the log, there does not seem to be any actual errors logged.
89  Bitcoin / Bitcoin Technical Support / Re: PoolServerJ - Tech Support on: January 18, 2012, 05:28:55 PM
Sorry if this may be horribly obvious.

I got the poolserver working on litecoin, and added a few clients to it, they were hashing away and getting longpool events.

However I dont see shares being logged, neither to DB or file.
As I understand, a share is each time cpuminer prints out a stat line, right ?
In that case it should have logged a few 100shares, but no errors and no data in the shares file.

When starting it, it does say RETRY a few times, but then runs and looks to be working.

Any ideas what could be the reason for no log?
90  Bitcoin / Project Development / Re: [PAY] Patch bitcoin v0.5.1rc2 to send a HTTP POST when a new block is accepted on: January 18, 2012, 05:24:29 PM
For now I am using Abe for the regular block monitoring, but yes that could be useful also, just need to check for orfans etc.

I didnt see any bids on my project, so I adjusted it and reposted, but maybe bitcoin is too unknown for someone to risk their rating on vworker to take on such a project.

I could post as pay-for-time, but then I risk paying for a few hours work with no solution.
Wish I was better as C myself, I have only done some non-object based micro processor code.
91  Bitcoin / Project Development / Re: [PAY] Patch bitcoin v0.5.1rc2 to send a HTTP POST when a new block is accepted on: January 15, 2012, 08:15:11 PM
URL for vworker : http://www.vworker.com/RentACoder/misc/BidRequests/ShowBidRequest.asp?lngBidRequestId=1810678
92  Bitcoin / Project Development / Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors on: January 14, 2012, 08:03:07 PM
Except for the bitcoin part, thats what fon does (http://corp.fon.com/en).

Its been a while since I used it, but its free wifi if you share one, and users without a shared AP themselves can buy access for a small fee.

They have routers that users can setup to make it easy, and makes 2 ssids, so the one you let others use are seperated from your private LAN.
93  Bitcoin / Project Development / Re: [ANNOUNCE] Abe 0.6: Open Source Block Explorer Knockoff on: January 13, 2012, 12:31:35 PM
How do you support multiple chains ?
I would like to add LTC and NMC to my database, but as I understand it, I would have to run their fork of bitcoind, which would make a new dir of block chain files.
94  Bitcoin / Project Development / Re: [5BTC] Patch bitcoin v0.5.1rc2 to send a HTTP POST when a new block is accepted on: January 07, 2012, 08:57:13 AM
Add to bitcoin.conf (with pull 727 and 743):
Code:
blocknotify=curl -d "$(bitcoind getblock %s)" http://youruri

1843ETPAWNriBA2mtDCBMQasaDHnWETP82 if this does what you need
I think thats for an actual block, I see I used "block" in the description, but as the other thread and quote shows, its the new transactions that are interesting.

ie. when bitcoind gets a new tx, which will then be unconfirmed, it calls a http post/system with the details.

I guess the reason I need both pulls was the getBlock rpc ?
I will look into 743 anyway, the code to call system() could probaly be reused.




[EDIT] I have now posted this to vworker.com, so if you are interested, please bid using vworker.
I will update this thread when the project is done.
95  Bitcoin / Project Development / [DONE] Patch bitcoin v0.5.1rc2 to send a HTTP POST when a new block is accepted on: January 06, 2012, 06:26:13 PM
Src : https://github.com/bitcoin/bitcoin/commits/v0.5.1rc2

For original thread where the idea was mentioned : https://bitcointalk.org/index.php?topic=40264.msg676281#msg676281

The idea is to add a HTTP POST call to a local webserver, after bitcoind has accepted a new transaction into memory.

I will not put too much requirements on the contents of the call, its easyier to convert in PHP that C++ anyway.
But I need at least inputs and outputs with amounts.
The HTTP url can be hardcoded in the patch.
Patch license should be same as bitcoin or public domain.

[EDIT] What I am looking for is a call with http/system, when bitcoind gets a new transaction, ie. unconfirmed, I am not interested in the actual blocks, since I already have a setup to handle that.

Here's my suggestion for the easiest way to get unconfirmed transactions out of bitcoind

At the end of the AcceptToMemoryPool() function in main.ccp use WalletTxToJSON() in bitcoinrpc.cpp to make a json string and the HTTPPost method in to post it to your callback url which you can process.

I have posted this to vworker.com also, feel free to post a bid there.
If you are interested before bids are posted on vworker, you can also bid here.
96  Economy / Web Wallets / Re: Blockchain.info - Bitcoin Block explorer & Currency Statistics on: January 06, 2012, 10:10:58 AM
MORA: I noticed you are running a notifications service, I'd rather you didn't use blockchain.info's api for this as you will need to poll very frequently.
I currently poll every 5 minutes from blockexplorer, to get the latest block, and compare with the local, ie. if my local is off by 5 or more in any direction, then something is a mess, and I get an email, that was why I requested the latestblock api to have 2 sources to match up against.

Here's my suggestion for the easiest way to get unconfirmed transactions out of bitcoind

At the end of the AcceptToMemoryPool() function in main.ccp use WalletTxToJSON() in bitcoinrpc.cpp to make a json string and the HTTPPost method in to post it to your callback url which you can process.

If your really stuck I can probably make a quick patch.
Hope I am not derailing your thread too much, if so let me know and I can create a separate one.

I have had a short go at it, but C is not really my thing, just getting a toString printed of the TX didnt work out.
A patch that makes a http post call, or writes to a file, with the received tx information would really be neat, in fact I will even bounty a open license patch with a few BTC, if anyone is interested (Once I get verified somewhere to buy coins with CC/wire).
97  Bitcoin / Project Development / Re: [ANNOUNCE] Abe 0.6: Open Source Block Explorer Knockoff on: January 06, 2012, 07:26:51 AM
I don't like that Abe needs blockchain stored locally, it makes it far less flexible, For example running full Abe installation (bitcoind + database + application) on VPS is pretty problematic, because of memory consumption and required disk I/O (bitcoind itself is using disk a lot, plus Abe makes disk busy by database writes).

Hmm, I run it on a (good) VPS, granted it uses quite a bit of disk spare, but other than that it works fine, the Abe block viewer is a bit slow, but I dont think that would change, just by moving the bitcoind files off the server ?

up 2 days, 11 min,  1 user,  load average: 0.00, 0.00, 0.00
Tasks:  78 total,   1 running,  77 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.3%us,  0.3%sy,  0.0%ni, 99.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   1027308k total,  1013608k used,    13700k free,    15900k buffers
Of those 707MB is cache, so real usage is just 316MB mem.

You could split it out on several servers, but ofcause that would not make it cheaper Smiley
Abe just needs the files, it should not care if bitcoind is infact running on the machine, ie. network mounted share.
And Abe will connect to a MySQL server other than localhost withot problems.
98  Bitcoin / Project Development / Re: [ANNOUNCE] BitPing.Net - A bitcoin notify service on: January 04, 2012, 09:34:14 PM
FYI : blockchain.info now offers a notification service also, havent tested it, but I think that does 0-confirmations.
99  Bitcoin / Bitcoin Discussion / Re: Rashid Temuri (Chicago Cabbie) asking about Bitcoin now on Twitter on: January 04, 2012, 02:01:02 PM
I mean, this is actually a really good idea. The problem is most cabbies are working paycheck to paycheck and renting the cars. What is the fastest/cheapest way to get money from BTC--> USD right now?

The other thing is that alot of cabbies are pissed because the city has recently (last month) decided to force them to take credit cards.

http://chicago.cbslocal.com/2011/12/12/mayor-emanuel-calls-for-new-tighter-regulations-on-taxis/

It is a good idea that will work for both customer and business if it can be convenient and trustworthy enough. Perhaps what is needed is some escrow service where the cabbie can feel comfortable being paid until 6 verifications. Cabs are heavily regulated so, as long as nothing too crazy is going on, the driver could be tracked down if they attempt the double charge.

First, this guy is great he has a great story to tell. Anyways, you mentioned what is the fastest way from BTC -> USD ? I was thinking this guy could own a reloadable credit card from us and when people want to pay him for there ride they they send us the bitcoins and we fund his card with USD within minutes to go spend. Now our fee of $4.95 might be a little to pricey but can figure out some wiggle room if there is dedicated amount of transactions. Just throwing this thought out there cool story.

These are virtual cards right ?
A real physical card would be epic, transfer bitcoints, wait a hour, withdraw in any ATM, but probaly a bit hard to sell as a legit service.
So they can be used to pay for things online, but likely not to pay the rental bill, insurance or gas.
100  Economy / Web Wallets / Re: Blockchain.info - Bitcoin Block explorer & Currency Statistics on: January 04, 2012, 01:51:55 PM
Any chance for a API call to get the latest blockcount ... and a list of unconfirmed transactions ? Smiley
-Or maybe a hint to how you managed to get the unconfirmed transactions from bitcoind ?
Pages: « 1 2 3 4 [5] 6 7 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!