]> pere.pagekite.me Git - homepage.git/blob - blog/tags/bitcoin/bitcoin.rss
04cc4d54de4f0a786445a3dba0e7272e5521febd
[homepage.git] / blog / tags / bitcoin / bitcoin.rss
1 <?xml version="1.0" encoding="utf-8"?>
2 <rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/'>
3 <channel>
4 <title>Petter Reinholdtsen - Entries tagged bitcoin</title>
5 <description>Entries tagged bitcoin</description>
6 <link>http://www.hungry.com/~pere/blog/</link>
7
8
9 <item>
10 <title>Plain text accounting file from your bitcoin transactions</title>
11 <link>http://www.hungry.com/~pere/blog/Plain_text_accounting_file_from_your_bitcoin_transactions.html</link>
12 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/Plain_text_accounting_file_from_your_bitcoin_transactions.html</guid>
13 <pubDate>Thu, 7 Mar 2024 18:00:00 +0100</pubDate>
14 <description>&lt;p&gt;A while back I wrote a small script to extract the Bitcoin
15 transactions in a wallet in the
16 &lt;ahref=&quot;https://plaintextaccounting.org/&quot;&gt;ledger plain text accounting
17 format&lt;/a&gt;. The last few days I spent some time to get it working
18 better with more special cases. In case it can be useful for others,
19 here is a copy:&lt;/p&gt;
20
21 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
22 #!/usr/bin/python3
23 # -*- coding: utf-8 -*-
24 # Copyright (c) 2023-2024 Petter Reinholdtsen
25
26 from decimal import Decimal
27 import json
28 import subprocess
29 import time
30
31 import numpy
32
33 def format_float(num):
34 return numpy.format_float_positional(num, trim=&#39;-&#39;)
35
36 accounts = {
37 u&#39;amount&#39; : &#39;Assets:BTC:main&#39;,
38 }
39
40 addresses = {
41 &#39;&lt;some address&gt;&#39; : &#39;Assets:bankkonto&#39;,
42 &#39;&lt;some address&gt;&#39; : &#39;Assets:bankkonto&#39;,
43 }
44
45 def exec_json(cmd):
46 proc = subprocess.Popen(cmd,stdout=subprocess.PIPE)
47 j = json.loads(proc.communicate()[0], parse_float=Decimal)
48 return j
49
50 def list_txs():
51 # get all transactions for all accounts / addresses
52 c = 0
53 txs = []
54 txidfee = {}
55 limit=100000
56 cmd = [&#39;bitcoin-cli&#39;, &#39;listtransactions&#39;, &#39;*&#39;, str(limit)]
57 if True:
58 txs.extend(exec_json(cmd))
59 else:
60 # Useful for debugging
61 with open(&#39;transactions.json&#39;) as f:
62 txs.extend(json.load(f, parse_float=Decimal))
63 #print txs
64 for tx in sorted(txs, key=lambda a: a[&#39;time&#39;]):
65 # print tx[&#39;category&#39;]
66 if &#39;abandoned&#39; in tx and tx[&#39;abandoned&#39;]:
67 continue
68 if &#39;confirmations&#39; in tx and 0 &gt;= tx[&#39;confirmations&#39;]:
69 continue
70 when = time.strftime(&#39;%Y-%m-%d %H:%M&#39;, time.localtime(tx[&#39;time&#39;]))
71 if &#39;message&#39; in tx:
72 desc = tx[&#39;message&#39;]
73 elif &#39;comment&#39; in tx:
74 desc = tx[&#39;comment&#39;]
75 elif &#39;label&#39; in tx:
76 desc = tx[&#39;label&#39;]
77 else:
78 desc = &#39;n/a&#39;
79 print(&quot;%s %s&quot; % (when, desc))
80 if &#39;address&#39; in tx:
81 print(&quot; ; to bitcoin address %s&quot; % tx[&#39;address&#39;])
82 else:
83 print(&quot; ; missing address in transaction, txid=%s&quot; % tx[&#39;txid&#39;])
84 print(f&quot; ; amount={tx[&#39;amount&#39;]}&quot;)
85 if &#39;fee&#39;in tx:
86 print(f&quot; ; fee={tx[&#39;fee&#39;]}&quot;)
87 for f in accounts.keys():
88 if f in tx and Decimal(0) != tx[f]:
89 amount = tx[f]
90 print(&quot; %-20s %s BTC&quot; % (accounts[f], format_float(amount)))
91 if &#39;fee&#39; in tx and Decimal(0) != tx[&#39;fee&#39;]:
92 # Make sure to list fee used in several transactions only once.
93 if &#39;fee&#39; in tx and tx[&#39;txid&#39;] in txidfee \
94 and tx[&#39;fee&#39;] == txidfee[tx[&#39;txid&#39;]]:
95 True
96 else:
97 fee = tx[&#39;fee&#39;]
98 print(&quot; %-20s %s BTC&quot; % (accounts[&#39;amount&#39;], format_float(fee)))
99 print(&quot; %-20s %s BTC&quot; % (&#39;Expences:BTC-fee&#39;, format_float(-fee)))
100 txidfee[tx[&#39;txid&#39;]] = tx[&#39;fee&#39;]
101
102 if &#39;address&#39; in tx and tx[&#39;address&#39;] in addresses:
103 print(&quot; %s&quot; % addresses[tx[&#39;address&#39;]])
104 else:
105 if &#39;generate&#39; == tx[&#39;category&#39;]:
106 print(&quot; Income:BTC-mining&quot;)
107 else:
108 if amount &lt; Decimal(0):
109 print(f&quot; Assets:unknown:sent:update-script-addr-{tx[&#39;address&#39;]}&quot;)
110 else:
111 print(f&quot; Assets:unknown:received:update-script-addr-{tx[&#39;address&#39;]}&quot;)
112
113 print()
114 c = c + 1
115 print(&quot;# Found %d transactions&quot; % c)
116 if limit == c:
117 print(f&quot;# Warning: Limit {limit} reached, consider increasing limit.&quot;)
118
119 def main():
120 list_txs()
121
122 main()
123 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
124
125 &lt;p&gt;It is more of a proof of concept, and I do not expect it to handle
126 all edge cases, but it worked for me, and perhaps you can find it
127 useful too.&lt;/p&gt;
128
129 &lt;p&gt;To get a more interesting result, it is useful to map accounts sent
130 to or received from to accounting accounts, using the
131 &lt;tt&gt;addresses&lt;/tt&gt; hash. As these will be very context dependent, I
132 leave out my list to allow each user to fill out their own list of
133 accounts. Out of the box, &#39;ledger reg BTC:main&#39; should be able to
134 show the amount of BTCs present in the wallet at any given time in the
135 past. For other and more valuable analysis, a account plan need to be
136 set up in the &lt;tt&gt;addresses&lt;/tt&gt; hash. Here is an example
137 transaction:&lt;/p&gt;
138
139 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
140 2024-03-07 17:00 Donated to good cause
141 Assets:BTC:main -0.1 BTC
142 Assets:BTC:main -0.00001 BTC
143 Expences:BTC-fee 0.00001 BTC
144 Expences:donations 0.1 BTC
145 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
146
147 &lt;p&gt;It need a running Bitcoin Core daemon running, as it connect to it
148 using &lt;tt&gt;bitcoin-cli listtransactions * 100000&lt;/tt&gt; to extract the
149 transactions listed in the Wallet.&lt;/p&gt;
150
151 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
152 activities, please send Bitcoin donations to my address
153 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
154 </description>
155 </item>
156
157 <item>
158 <title>Updated Valutakrambod, now also with information from NBX</title>
159 <link>http://www.hungry.com/~pere/blog/Updated_Valutakrambod__now_also_with_information_from_NBX.html</link>
160 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/Updated_Valutakrambod__now_also_with_information_from_NBX.html</guid>
161 <pubDate>Sat, 27 Feb 2021 13:30:00 +0100</pubDate>
162 <description>&lt;p&gt;I have neglected the Valutakrambod library for a while, but decided
163 this weekend to give it a face lift. I fixed a few minor glitches in
164 several of the service drivers, where the API had changed since I last
165 looked at the code. I also added support for fetching the order book
166 from the newcomer Norwegian Bitcoin Exchange.&lt;/p&gt;
167
168 &lt;p&gt;I also decided to migrate the project from github to gitlab in the
169 process. If you want a python library for talking to various currency
170 exchanges, check out
171 &lt;a href=&quot;https://gitlab.com/petterreinholdtsen/valutakrambod&quot;&gt;code for
172 valutakrambod&lt;/a&gt;.&lt;/p&gt;
173
174 &lt;p&gt;This is what the output from &#39;&lt;tt&gt;bin/btc-rates-curses -c&lt;/tt&gt;&#39;
175 looked like a few minutes ago:&lt;/p&gt;
176
177 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
178 Name Pair Bid Ask Spread Ftcd Age Freq
179 Bitfinex BTCEUR 39229.0000 39246.0000 0.0% 44 44 nan
180 Bitmynt BTCEUR 39071.0000 41048.9000 4.8% 43 74 nan
181 Bitpay BTCEUR 39326.7000 nan nan% 39 nan nan
182 Bitstamp BTCEUR 39398.7900 39417.3200 0.0% 0 0 1
183 Bl3p BTCEUR 39158.7800 39581.9000 1.1% 0 nan 3
184 Coinbase BTCEUR 39197.3100 39621.9300 1.1% 38 nan nan
185 Kraken+BTCEUR 39432.9000 39433.0000 0.0% 0 0 0
186 Paymium BTCEUR 39437.2100 39499.9300 0.2% 0 2264 nan
187 Bitmynt BTCNOK 409750.9600 420516.8500 2.6% 43 74 nan
188 Bitpay BTCNOK 410332.4000 nan nan% 39 nan nan
189 Coinbase BTCNOK 408675.7300 412813.7900 1.0% 38 nan nan
190 MiraiEx BTCNOK 412174.1800 418396.1500 1.5% 34 nan nan
191 NBX BTCNOK 405835.9000 408921.4300 0.8% 33 nan nan
192 Bitfinex BTCUSD 47341.0000 47355.0000 0.0% 44 53 nan
193 Bitpay BTCUSD 47388.5100 nan nan% 39 nan nan
194 Coinbase BTCUSD 47153.6500 47651.3700 1.0% 37 nan nan
195 Gemini BTCUSD 47416.0900 47439.0500 0.0% 36 336 nan
196 Hitbtc BTCUSD 47429.9900 47386.7400 -0.1% 0 0 0
197 Kraken+BTCUSD 47401.7000 47401.8000 0.0% 0 0 0
198 Exchangerates EURNOK 10.4012 10.4012 0.0% 38 76236 nan
199 Norgesbank EURNOK 10.4012 10.4012 0.0% 31 76236 nan
200 Bitstamp EURUSD 1.2030 1.2045 0.1% 2 2 1
201 Exchangerates EURUSD 1.2121 1.2121 0.0% 38 76236 nan
202 Norgesbank USDNOK 8.5811 8.5811 0.0% 31 76236 nan
203 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
204
205 &lt;p&gt;Yes, I notice the negative spread on Hitbtc. Either I fail to
206 understand their Websocket API or they are sending bogus data. I&#39;ve
207 seen the same with Kraken, and suspect there is something wrong with
208 the data they send.&lt;/p&gt;
209
210 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
211 activities, please send Bitcoin donations to my address
212 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
213 </description>
214 </item>
215
216 <item>
217 <title>Websocket from Kraken in Valutakrambod</title>
218 <link>http://www.hungry.com/~pere/blog/Websocket_from_Kraken_in_Valutakrambod.html</link>
219 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/Websocket_from_Kraken_in_Valutakrambod.html</guid>
220 <pubDate>Fri, 1 Feb 2019 22:25:00 +0100</pubDate>
221 <description>&lt;p&gt;Yesterday, the Kraken virtual currency exchange announced
222 &lt;a href=&quot;https://blog.kraken.com/post/2019/websockets-public-api-launching-soon/&quot;&gt;their
223 Websocket service&lt;/a&gt;, providing a stream of exchange updates to its
224 clients. Getting updated rates quickly is a good idea, so I used
225 their &lt;a href=&quot;https://www.kraken.com/en-us/help/websocket-api&quot;&gt;API
226 documentation&lt;/a&gt; and added Websocket support to the Kraken service in
227 Valutakrambod today. The python library can now get updates
228 from Kraken several times per second, instead of every time the
229 information is polled from the REST API.&lt;/p&gt;
230
231 &lt;p&gt;If this sound interesting to you, the code for valutakrambod is
232 available from
233 &lt;a href=&quot;http://github.com/petterreinholdtsen/valutakrambod&quot;&gt;github&lt;/a&gt;.
234 Here is example output from the example client displaying rates in a
235 curses view:&lt;/p&gt;
236
237 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
238 Name Pair Bid Ask Spr Ftcd Age
239 BitcoinsNorway BTCEUR 2959.2800 3021.0500 2.0% 36 nan nan
240 Bitfinex BTCEUR 3087.9000 3088.0000 0.0% 36 37 nan
241 Bitmynt BTCEUR 3001.8700 3135.4600 4.3% 36 52 nan
242 Bitpay BTCEUR 3003.8659 nan nan% 35 nan nan
243 Bitstamp BTCEUR 3008.0000 3010.2300 0.1% 0 1 1
244 Bl3p BTCEUR 3000.6700 3010.9300 0.3% 1 nan nan
245 Coinbase BTCEUR 2992.1800 3023.2500 1.0% 34 nan nan
246 Kraken+BTCEUR 3005.7000 3006.6000 0.0% 0 1 0
247 Paymium BTCEUR 2940.0100 2993.4400 1.8% 0 2688 nan
248 BitcoinsNorway BTCNOK 29000.0000 29360.7400 1.2% 36 nan nan
249 Bitmynt BTCNOK 29115.6400 29720.7500 2.0% 36 52 nan
250 Bitpay BTCNOK 29029.2512 nan nan% 36 nan nan
251 Coinbase BTCNOK 28927.6000 29218.5900 1.0% 35 nan nan
252 MiraiEx BTCNOK 29097.7000 29741.4200 2.2% 36 nan nan
253 BitcoinsNorway BTCUSD 3385.4200 3456.0900 2.0% 36 nan nan
254 Bitfinex BTCUSD 3538.5000 3538.6000 0.0% 36 45 nan
255 Bitpay BTCUSD 3443.4600 nan nan% 34 nan nan
256 Bitstamp BTCUSD 3443.0100 3445.0500 0.1% 0 2 1
257 Coinbase BTCUSD 3428.1600 3462.6300 1.0% 33 nan nan
258 Gemini BTCUSD 3445.8800 3445.8900 0.0% 36 326 nan
259 Hitbtc BTCUSD 3473.4700 3473.0700 -0.0% 0 0 0
260 Kraken+BTCUSD 3444.4000 3445.6000 0.0% 0 1 0
261 Exchangerates EURNOK 9.6685 9.6685 0.0% 36 22226 nan
262 Norgesbank EURNOK 9.6685 9.6685 0.0% 36 22226 nan
263 Bitstamp EURUSD 1.1440 1.1462 0.2% 0 1 2
264 Exchangerates EURUSD 1.1471 1.1471 0.0% 36 22226 nan
265 BitcoinsNorway LTCEUR 1.0009 22.6538 95.6% 35 nan nan
266 BitcoinsNorway LTCNOK 259.0900 264.9300 2.2% 35 nan nan
267 BitcoinsNorway LTCUSD 0.0000 29.0000 100.0% 35 nan nan
268 Norgesbank USDNOK 8.4286 8.4286 0.0% 36 22226 nan
269 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
270
271 &lt;p&gt;Yes, I notice the strange negative spread on Hitbtc. I&#39;ve seen the
272 same on Kraken. Another strange observation is that Kraken some times
273 announce trade orders a fraction of a second in the future. I really
274 wonder what is going on there.&lt;/p&gt;
275
276 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
277 activities, please send Bitcoin donations to my address
278 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
279 </description>
280 </item>
281
282 <item>
283 <title>Valutakrambod - A python and bitcoin love story</title>
284 <link>http://www.hungry.com/~pere/blog/Valutakrambod___A_python_and_bitcoin_love_story.html</link>
285 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/Valutakrambod___A_python_and_bitcoin_love_story.html</guid>
286 <pubDate>Sat, 29 Sep 2018 22:20:00 +0200</pubDate>
287 <description>&lt;p&gt;It would come as no surprise to anyone that I am interested in
288 bitcoins and virtual currencies. I&#39;ve been keeping an eye on virtual
289 currencies for many years, and it is part of the reason a few months
290 ago, I started writing a python library for collecting currency
291 exchange rates and trade on virtual currency exchanges. I decided to
292 name the end result valutakrambod, which perhaps can be translated to
293 small currency shop.&lt;/p&gt;
294
295 &lt;p&gt;The library uses the tornado python library to handle HTTP and
296 websocket connections, and provide a asynchronous system for
297 connecting to and tracking several services. The code is available
298 from
299 &lt;a href=&quot;http://github.com/petterreinholdtsen/valutakrambod&quot;&gt;github&lt;/a&gt;.&lt;/p&gt;
300
301 &lt;/p&gt;There are two example clients of the library. One is very simple and
302 list every updated buy/sell price received from the various services.
303 This code is started by running bin/btc-rates and call the client code
304 in valutakrambod/client.py. The simple client look like this:&lt;/p&gt;
305
306 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
307 import functools
308 import tornado.ioloop
309 import valutakrambod
310 class SimpleClient(object):
311 def __init__(self):
312 self.services = []
313 self.streams = []
314 pass
315 def newdata(self, service, pair, changed):
316 print(&quot;%-15s %s-%s: %8.3f %8.3f&quot; % (
317 service.servicename(),
318 pair[0],
319 pair[1],
320 service.rates[pair][&#39;ask&#39;],
321 service.rates[pair][&#39;bid&#39;])
322 )
323 async def refresh(self, service):
324 await service.fetchRates(service.wantedpairs)
325 def run(self):
326 self.ioloop = tornado.ioloop.IOLoop.current()
327 self.services = valutakrambod.service.knownServices()
328 for e in self.services:
329 service = e()
330 service.subscribe(self.newdata)
331 stream = service.websocket()
332 if stream:
333 self.streams.append(stream)
334 else:
335 # Fetch information from non-streaming services immediately
336 self.ioloop.call_later(len(self.services),
337 functools.partial(self.refresh, service))
338 # as well as regularly
339 service.periodicUpdate(60)
340 for stream in self.streams:
341 stream.connect()
342 try:
343 self.ioloop.start()
344 except KeyboardInterrupt:
345 print(&quot;Interrupted by keyboard, closing all connections.&quot;)
346 pass
347 for stream in self.streams:
348 stream.close()
349 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
350
351 &lt;p&gt;The library client loops over all known &quot;public&quot; services,
352 initialises it, subscribes to any updates from the service, checks and
353 activates websocket streaming if the service provide it, and if no
354 streaming is supported, fetches information from the service and sets
355 up a periodic update every 60 seconds. The output from this client
356 can look like this:&lt;/p&gt;
357
358 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
359 Bl3p BTC-EUR: 5687.110 5653.690
360 Bl3p BTC-EUR: 5687.110 5653.690
361 Bl3p BTC-EUR: 5687.110 5653.690
362 Hitbtc BTC-USD: 6594.560 6593.690
363 Hitbtc BTC-USD: 6594.560 6593.690
364 Bl3p BTC-EUR: 5687.110 5653.690
365 Hitbtc BTC-USD: 6594.570 6593.690
366 Bitstamp EUR-USD: 1.159 1.154
367 Hitbtc BTC-USD: 6594.570 6593.690
368 Hitbtc BTC-USD: 6594.580 6593.690
369 Hitbtc BTC-USD: 6594.580 6593.690
370 Hitbtc BTC-USD: 6594.580 6593.690
371 Bl3p BTC-EUR: 5687.110 5653.690
372 Paymium BTC-EUR: 5680.000 5620.240
373 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
374
375 &lt;p&gt;The exchange order book is tracked in addition to the best buy/sell
376 price, for those that need to know the details.&lt;/p&gt;
377
378 &lt;p&gt;The other example client is focusing on providing a curses view
379 with updated buy/sell prices as soon as they are received from the
380 services. This code is located in bin/btc-rates-curses and activated
381 by using the &#39;-c&#39; argument. Without the argument the &quot;curses&quot; output
382 is printed without using curses, which is useful for debugging. The
383 curses view look like this:&lt;/p&gt;
384
385 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
386 Name Pair Bid Ask Spr Ftcd Age
387 BitcoinsNorway BTCEUR 5591.8400 5711.0800 2.1% 16 nan 60
388 Bitfinex BTCEUR 5671.0000 5671.2000 0.0% 16 22 59
389 Bitmynt BTCEUR 5580.8000 5807.5200 3.9% 16 41 60
390 Bitpay BTCEUR 5663.2700 nan nan% 15 nan 60
391 Bitstamp BTCEUR 5664.8400 5676.5300 0.2% 0 1 1
392 Bl3p BTCEUR 5653.6900 5684.9400 0.5% 0 nan 19
393 Coinbase BTCEUR 5600.8200 5714.9000 2.0% 15 nan nan
394 Kraken BTCEUR 5670.1000 5670.2000 0.0% 14 17 60
395 Paymium BTCEUR 5620.0600 5680.0000 1.1% 1 7515 nan
396 BitcoinsNorway BTCNOK 52898.9700 54034.6100 2.1% 16 nan 60
397 Bitmynt BTCNOK 52960.3200 54031.1900 2.0% 16 41 60
398 Bitpay BTCNOK 53477.7833 nan nan% 16 nan 60
399 Coinbase BTCNOK 52990.3500 54063.0600 2.0% 15 nan nan
400 MiraiEx BTCNOK 52856.5300 54100.6000 2.3% 16 nan nan
401 BitcoinsNorway BTCUSD 6495.5300 6631.5400 2.1% 16 nan 60
402 Bitfinex BTCUSD 6590.6000 6590.7000 0.0% 16 23 57
403 Bitpay BTCUSD 6564.1300 nan nan% 15 nan 60
404 Bitstamp BTCUSD 6561.1400 6565.6200 0.1% 0 2 1
405 Coinbase BTCUSD 6504.0600 6635.9700 2.0% 14 nan 117
406 Gemini BTCUSD 6567.1300 6573.0700 0.1% 16 89 nan
407 Hitbtc+BTCUSD 6592.6200 6594.2100 0.0% 0 0 0
408 Kraken BTCUSD 6565.2000 6570.9000 0.1% 15 17 58
409 Exchangerates EURNOK 9.4665 9.4665 0.0% 16 107789 nan
410 Norgesbank EURNOK 9.4665 9.4665 0.0% 16 107789 nan
411 Bitstamp EURUSD 1.1537 1.1593 0.5% 4 5 1
412 Exchangerates EURUSD 1.1576 1.1576 0.0% 16 107789 nan
413 BitcoinsNorway LTCEUR 1.0000 49.0000 98.0% 16 nan nan
414 BitcoinsNorway LTCNOK 492.4800 503.7500 2.2% 16 nan 60
415 BitcoinsNorway LTCUSD 1.0221 49.0000 97.9% 15 nan nan
416 Norgesbank USDNOK 8.1777 8.1777 0.0% 16 107789 nan
417 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
418
419 &lt;p&gt;The code for this client is too complex for a simple blog post, so
420 you will have to check out the git repository to figure out how it
421 work. What I can tell is how the three last numbers on each line
422 should be interpreted. The first is how many seconds ago information
423 was received from the service. The second is how long ago, according
424 to the service, the provided information was updated. The last is an
425 estimate on how often the buy/sell values change.&lt;/p&gt;
426
427 &lt;p&gt;If you find this library useful, or would like to improve it, I
428 would love to hear from you. Note that for some of the services I&#39;ve
429 implemented a trading API. It might be the topic of a future blog
430 post.&lt;/p&gt;
431
432 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
433 activities, please send Bitcoin donations to my address
434 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
435 </description>
436 </item>
437
438 <item>
439 <title>EU-domstolen konkluderer motsatt av Skatteetaten når det gjelder Bitcoin</title>
440 <link>http://www.hungry.com/~pere/blog/EU_domstolen_konkluderer_motsatt_av_Skatteetaten_n_r_det_gjelder_Bitcoin.html</link>
441 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/EU_domstolen_konkluderer_motsatt_av_Skatteetaten_n_r_det_gjelder_Bitcoin.html</guid>
442 <pubDate>Thu, 22 Oct 2015 13:20:00 +0200</pubDate>
443 <description>&lt;p&gt;Bitcoin er i litt vinden i Norge for tiden, med
444 &lt;a href=&quot;http://www.nrk.no/ytring/en-digital-robin-hood-1.12604681&quot;&gt;kronikk
445 om bitcoin-overføringer på tvers av landegrensene&lt;/A&gt; hos NRK Ytring
446 for to dager siden og
447 &lt;a href=&quot;https://tv.nrk.no/program/KOID25009815/kapital-bitcoin-en-digital-pengebinge&quot;&gt;dokumentar
448 om bitcoin&lt;/a&gt; på NRK 2 i forgårs og i går. I den sammenhengen er det
449 spesielt hyggelig med en gladnyhet fra EU om Bitcoin.&lt;/p&gt;
450
451 &lt;p&gt;I dag konkluderte EU-domstolen at
452 &lt;a href=&quot;http://curia.europa.eu/juris/document/document.jsf?text=&amp;docid=170305&amp;pageIndex=0&amp;doclang=en&amp;mode=req&amp;dir=&amp;occ=first&amp;part=1&amp;cid=604079&quot;&gt;Bitcoin-kjøp
453 fra Bitcoin-børser ikke er MVA-pliktig&lt;/a&gt; (sak C‑264/14). Fant
454 &lt;a href=&quot;http://www.reuters.com/article/2015/10/22/us-bitcoin-tax-eu-idUSKCN0SG0X920151022&quot;&gt;nyheten
455 først hos Reuters&lt;/a&gt;, etter tips fra innehaveren av
456 &lt;a href=&quot;http://www.bitmynt.no/&quot;&gt;Bitmynt&lt;/a&gt;. EU-domstolens avgjørelse
457 er stikk i strid med
458 &lt;a href=&quot;http://www.skatteetaten.no/no/Radgiver/Rettskilder/Uttalelser/Prinsipputtalelser/Bruk-av-bitcoins--skatte--og-avgiftsmessige-konsekvenser/&quot;&gt;annonseringen
459 fra Skatteetaten i 2013&lt;/a&gt;, der de konkluderte med at bitcoin er et
460 «formuesobjekter» som det skulle betales mva på ved kjøp og salg.
461 Dermed la Skatteetaten opp til dobbel MVA-betaling hvis en kjøpte noe
462 med Bitcoin fra Norge (først mva på kjøp av Bitcoin, deretter mva på
463 det en kjøper med Bitcoin). Jeg lurer på om denne avgjørelsen får
464 Skatteetaten til å bytte mening. Gleder meg til fortsettelsen.&lt;/p&gt;
465 </description>
466 </item>
467
468 <item>
469 <title>A fist full of non-anonymous Bitcoins</title>
470 <link>http://www.hungry.com/~pere/blog/A_fist_full_of_non_anonymous_Bitcoins.html</link>
471 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/A_fist_full_of_non_anonymous_Bitcoins.html</guid>
472 <pubDate>Wed, 29 Jan 2014 14:10:00 +0100</pubDate>
473 <description>&lt;p&gt;Bitcoin is a incredible use of peer to peer communication and
474 encryption, allowing direct and immediate money transfer without any
475 central control. It is sometimes claimed to be ideal for illegal
476 activity, which I believe is quite a long way from the truth. At least
477 I would not conduct illegal money transfers using a system where the
478 details of every transaction are kept forever. This point is
479 investigated in
480 &lt;a href=&quot;https://www.usenix.org/publications/login&quot;&gt;USENIX ;login:&lt;/a&gt;
481 from December 2013, in the article
482 &quot;&lt;a href=&quot;https://www.usenix.org/system/files/login/articles/03_meiklejohn-online.pdf&quot;&gt;A
483 Fistful of Bitcoins - Characterizing Payments Among Men with No
484 Names&lt;/a&gt;&quot; by Sarah Meiklejohn, Marjori Pomarole,Grant Jordan, Kirill
485 Levchenko, Damon McCoy, Geoffrey M. Voelker, and Stefan Savage. They
486 analyse the transaction log in the Bitcoin system, using it to find
487 addresses belong to individuals and organisations and follow the flow
488 of money from both Bitcoin theft and trades on Silk Road to where the
489 money end up. This is how they wrap up their article:&lt;/p&gt;
490
491 &lt;p&gt;&lt;blockquote&gt;
492 &lt;p&gt;&quot;To demonstrate the usefulness of this type of analysis, we turned
493 our attention to criminal activity. In the Bitcoin economy, criminal
494 activity can appear in a number of forms, such as dealing drugs on
495 Silk Road or simply stealing someone else’s bitcoins. We followed the
496 flow of bitcoins out of Silk Road (in particular, from one notorious
497 address) and from a number of highly publicized thefts to see whether
498 we could track the bitcoins to known services. Although some of the
499 thieves attempted to use sophisticated mixing techniques (or possibly
500 mix services) to obscure the flow of bitcoins, for the most part
501 tracking the bitcoins was quite straightforward, and we ultimately saw
502 large quantities of bitcoins flow to a variety of exchanges directly
503 from the point of theft (or the withdrawal from Silk Road).&lt;/p&gt;
504
505 &lt;p&gt;As acknowledged above, following stolen bitcoins to the point at
506 which they are deposited into an exchange does not in itself identify
507 the thief; however, it does enable further de-anonymization in the
508 case in which certain agencies can determine (through, for example,
509 subpoena power) the real-world owner of the account into which the
510 stolen bitcoins were deposited. Because such exchanges seem to serve
511 as chokepoints into and out of the Bitcoin economy (i.e., there are
512 few alternative ways to cash out), we conclude that using Bitcoin for
513 money laundering or other illicit purposes does not (at least at
514 present) seem to be particularly attractive.&quot;&lt;/p&gt;
515 &lt;/blockquote&gt;&lt;p&gt;
516
517 &lt;p&gt;These researches are not the first to analyse the Bitcoin
518 transaction log. The 2011 paper
519 &quot;&lt;a href=&quot;http://arxiv.org/abs/1107.4524&quot;&gt;An Analysis of Anonymity in
520 the Bitcoin System&lt;/A&gt;&quot; by Fergal Reid and Martin Harrigan is
521 summarized like this:&lt;/p&gt;
522
523 &lt;p&gt;&lt;blockquote&gt;
524 &quot;Anonymity in Bitcoin, a peer-to-peer electronic currency system, is a
525 complicated issue. Within the system, users are identified by
526 public-keys only. An attacker wishing to de-anonymize its users will
527 attempt to construct the one-to-many mapping between users and
528 public-keys and associate information external to the system with the
529 users. Bitcoin tries to prevent this attack by storing the mapping of
530 a user to his or her public-keys on that user&#39;s node only and by
531 allowing each user to generate as many public-keys as required. In
532 this chapter we consider the topological structure of two networks
533 derived from Bitcoin&#39;s public transaction history. We show that the
534 two networks have a non-trivial topological structure, provide
535 complementary views of the Bitcoin system and have implications for
536 anonymity. We combine these structures with external information and
537 techniques such as context discovery and flow analysis to investigate
538 an alleged theft of Bitcoins, which, at the time of the theft, had a
539 market value of approximately half a million U.S. dollars.&quot;
540 &lt;/blockquote&gt;&lt;/p&gt;
541
542 &lt;p&gt;I hope these references can help kill the urban myth that Bitcoin
543 is anonymous. It isn&#39;t really a good fit for illegal activites. Use
544 cash if you need to stay anonymous, at least until regular DNA
545 sampling of notes and coins become the norm. :)&lt;/p&gt;
546
547 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
548 activities, please send Bitcoin donations to my address
549 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
550 </description>
551 </item>
552
553 <item>
554 <title>Bitcoin er ikke anonymt - føres Stortinget bak lyset av finansministeren?</title>
555 <link>http://www.hungry.com/~pere/blog/Bitcoin_er_ikke_anonymt___f_res_Stortinget_bak_lyset_av_finansministeren_.html</link>
556 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/Bitcoin_er_ikke_anonymt___f_res_Stortinget_bak_lyset_av_finansministeren_.html</guid>
557 <pubDate>Mon, 22 Apr 2013 20:30:00 +0200</pubDate>
558 <description>&lt;p&gt;&lt;a href=&quot;http://bitcoin.org/&quot;&gt;Bitcoin&lt;/a&gt; er mye i mediene for
559 tiden. Jeg følger med via Mylder for å finne
560 &lt;a href=&quot;http://mylder.no/?drill=bitcoin&quot;&gt;artikler som omtaler
561 temaet&lt;/a&gt;, og takket være dette oppdaget jeg at stortingsrepresentant
562 Ketil Solvik-Olsen fra FrP nylig har spurt finansminister Sigbjørn
563 Johnsen om hans syn på Bitcoin, og
564 &lt;a href=&quot;http://www.stortinget.no/no/Saker-og-publikasjoner/Sporsmal/Skriftlige-sporsmal-og-svar/Skriftlig-sporsmal/?qid=57052&quot;&gt;fått
565 svar for noen dager siden&lt;/a&gt;. Jeg bet meg spesielt merke til
566 følgende formulering fra finansministeren:&lt;/p&gt;
567
568 &lt;p&gt;&lt;blockquote&gt;
569 «Det er også utfordringer ved at handel med Bitcoins er uregulert og
570 at transaksjonene er anonyme.»
571 &lt;/blockquote&gt;&lt;/p&gt;
572
573 &lt;p&gt;At Bitcoin er anonymt er en myte som spres av både journalister og
574 andre, så det er ikke veldig overraskende at også finansministeren har
575 gått på limpinnen. Det er dog litt rart, da jeg håper at
576 finansdepartementet ikke baserer seg på rykter og myter når de
577 besvarer Stortinget. Men du trenger ikke bare tro på meg som kilde
578 til påstanden om at Bitcoin ikke er anonymt. Sondre Rønjom har
579 &lt;a href=&quot;http://blogg.nsm.stat.no/archives/3241&quot;&gt;via Sikkerhetsbloggen
580 hos Nasjonal Sikkerhetsmyndighet&lt;/a&gt; uttalt følgende:&lt;/p&gt;
581
582 &lt;p&gt;&lt;blockquote&gt;
583 «At [bitcoin] i utgangspunktet
584 &lt;a href=&quot;http://arxiv.org/abs/1107.4524&quot;&gt;&lt;em&gt;ikke&lt;/em&gt; er anonymt&lt;/a&gt;,
585 kommer kanskje som en overraskelse på mange.»
586 &lt;/blockquote&gt;&lt;/p&gt;
587
588 &lt;p&gt;Enhver bevegelse av Bitcoin er offentlig tilgjengelig for alle på
589 Internet, og en må legge svært mye innsats inn hvis en skal hindre at
590 nettverksanalyse av transaksjonsloggene kan brukes til å identifisere
591 brukerne. F.eks. kan en enkelt se hva jeg har mottatt til min
592 offentliggjorte mottaksadresse ved å besøke blockexplorer og slå opp
593 adressen
594 &lt;a href=&quot;http://blockexplorer.com/address/15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;.
595 Det virker dermed på meg ganske klart at å påstå at
596 Bitcoin-transaksjoner er anonyme strengt tatt er å føre Stortinget bak
597 lyset.&lt;/p&gt;
598
599 &lt;p&gt;Finansministeren er ikke den eneste som har latt seg forlede av
600 medieomtalen. I spørsmålet fra Hr. Solvik-Olsen skriver han at «For
601 noen dager siden kom den første bitcoin-minibanken på Kypros», hvilket
602 så vidt jeg har klart å finne ut ikke er riktig. Det er annonsert
603 planer om en slik minibank (fra
604 &lt;a href=&quot;http://www.bitcoinatm.com/&quot;&gt;BitcoinATM&lt;/a&gt;), men jeg finner
605 intet tegn til at en slik minibank er utplassert noe sted.&lt;/p&gt;
606
607 &lt;p&gt;Som vanlig, hvis du bruker Bitcoin og ønsker å vise din støtte til
608 mine aktiviteter, så setter jeg pris på Bitcoin-donasjoner til min
609 adresse
610 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
611 </description>
612 </item>
613
614 <item>
615 <title>Bitcoin GUI now available from Debian/unstable (and Ubuntu/raring)</title>
616 <link>http://www.hungry.com/~pere/blog/Bitcoin_GUI_now_available_from_Debian_unstable__and_Ubuntu_raring_.html</link>
617 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/Bitcoin_GUI_now_available_from_Debian_unstable__and_Ubuntu_raring_.html</guid>
618 <pubDate>Sat, 2 Feb 2013 09:00:00 +0100</pubDate>
619 <description>&lt;p&gt;My
620 &lt;a href=&quot;https://people.skolelinux.org/pere/blog/How_to_backport_bitcoin_qt_version_0_7_2_2_to_Debian_Squeeze.html&quot;&gt;last
621 bitcoin related blog post&lt;/a&gt; mentioned that the new
622 &lt;a href=&quot;http://packages.qa.debian.org/bitcoin&quot;&gt;bitcoin package&lt;/a&gt; for
623 Debian was waiting in NEW. It was accepted by the Debian ftp-masters
624 2013-01-19, and have been available in unstable since then. It was
625 automatically copied to Ubuntu, and is available in their Raring
626 version too.&lt;/p&gt;
627
628 &lt;p&gt;But there is a strange problem with the build that block this new
629 version from being available on the i386 and kfreebsd-i386
630 architectures. For some strange reason, the autobuilders in Debian
631 for these architectures fail to run the test suite on these
632 architectures (&lt;a href=&quot;http://bugs.debian.org/672524&quot;&gt;BTS #672524&lt;/a&gt;).
633 We are so far unable to reproduce it when building it manually, and
634 no-one have been able to propose a fix. If you got an idea what is
635 failing, please let us know via the BTS.&lt;/p&gt;
636
637 &lt;p&gt;One feature that is annoying me with of the bitcoin client, because
638 I often run low on disk space, is the fact that the client will exit
639 if it run short on space (&lt;a href=&quot;http://bugs.debian.org/696715&quot;&gt;BTS
640 #696715&lt;/a&gt;). So make sure you have enough disk space when you run
641 it. :)&lt;/p&gt;
642
643 &lt;p&gt;As usual, if you use bitcoin and want to show your support of my
644 activities, please send Bitcoin donations to my address
645 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
646 </description>
647 </item>
648
649 <item>
650 <title>How to backport bitcoin-qt version 0.7.2-2 to Debian Squeeze</title>
651 <link>http://www.hungry.com/~pere/blog/How_to_backport_bitcoin_qt_version_0_7_2_2_to_Debian_Squeeze.html</link>
652 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/How_to_backport_bitcoin_qt_version_0_7_2_2_to_Debian_Squeeze.html</guid>
653 <pubDate>Tue, 25 Dec 2012 20:50:00 +0100</pubDate>
654 <description>&lt;p&gt;Let me start by wishing you all marry Christmas and a happy new
655 year! I hope next year will prove to be a good year.&lt;/p&gt;
656
657 &lt;p&gt;&lt;a href=&quot;http://www.bitcoin.org/&quot;&gt;Bitcoin&lt;/a&gt;, the digital
658 decentralised &quot;currency&quot; that allow people to transfer bitcoins
659 between each other with minimal overhead, is a very interesting
660 experiment. And as I wrote a few days ago, the bitcoin situation in
661 &lt;a href=&quot;http://www.debian.org/&quot;&gt;Debian&lt;/a&gt; is about to improve a bit.
662 The &lt;a href=&quot;http://packages.qa.debian.org/bitcoin&quot;&gt;new debian source
663 package&lt;/a&gt; (version 0.7.2-2) was uploaded yesterday, and is waiting
664 in &lt;a href=&quot;http://ftp-master.debian.org/new.html&quot;&gt;the NEW queue&lt;/A&gt;
665 for one of the ftpmasters to approve the new bitcoin-qt package
666 name.&lt;/p&gt;
667
668 &lt;p&gt;And thanks to the great work of Jonas and the rest of the bitcoin
669 team in Debian, you can easily test the package in Debian Squeeze
670 using the following steps to get a set of working packages:&lt;/p&gt;
671
672 &lt;blockquote&gt;&lt;pre&gt;
673 git clone git://git.debian.org/git/collab-maint/bitcoin
674 cd bitcoin
675 DEB_MAINTAINER_MODE=1 DEB_BUILD_OPTIONS=noupnp fakeroot debian/rules clean
676 DEB_BUILD_OPTIONS=noupnp git-buildpackage --git-ignore-new
677 &lt;/pre&gt;&lt;/blockquote&gt;
678
679 &lt;p&gt;You might have to install some build dependencies as well. The
680 list of commands should give you two packages, bitcoind and
681 bitcoin-qt, ready for use in a Squeeze environment. Note that the
682 client will download the complete set of bitcoin &quot;blocks&quot;, which need
683 around 5.6 GiB of data on my machine at the moment. Make sure your
684 ~/.bitcoin/ directory have lots of spare room if you want to download
685 all the blocks. The client will warn if the disk is getting full, so
686 there is not really a problem if you got too little room, but you will
687 not be able to get all the features out of the client.&lt;/p&gt;
688
689 &lt;p&gt;As usual, if you use bitcoin and want to show your support of my
690 activities, please send Bitcoin donations to my address
691 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
692 </description>
693 </item>
694
695 <item>
696 <title>A word on bitcoin support in Debian</title>
697 <link>http://www.hungry.com/~pere/blog/A_word_on_bitcoin_support_in_Debian.html</link>
698 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/A_word_on_bitcoin_support_in_Debian.html</guid>
699 <pubDate>Fri, 21 Dec 2012 23:59:00 +0100</pubDate>
700 <description>&lt;p&gt;It has been a while since I wrote about
701 &lt;a href=&quot;http://www.bitcoin.org/&quot;&gt;bitcoin&lt;/a&gt;, the decentralised
702 peer-to-peer based crypto-currency, and the reason is simply that I
703 have been busy elsewhere. But two days ago, I started looking at the
704 state of &lt;a href=&quot;http://packages.qa.debian.org/bitcoin&quot;&gt;bitcoin in
705 Debian&lt;/a&gt; again to try to recover my old bitcoin wallet. The package
706 is now maintained by a
707 &lt;a href=&quot;https://alioth.debian.org/projects/pkg-bitcoin/&quot;&gt;team of
708 people&lt;/a&gt;, and the grunt work had already been done by this team. We
709 owe a huge thank you to all these team members. :)
710 But I was sad to discover that the bitcoin client is missing in
711 Wheezy. It is only available in Sid (and an outdated client from
712 backports). The client had several RC bugs registered in BTS blocking
713 it from entering testing. To try to help the team and improve the
714 situation, I spent some time providing patches and triaging the bug
715 reports. I also had a look at the bitcoin package available from Matt
716 Corallo in a
717 &lt;a href=&quot;https://launchpad.net/~bitcoin/+archive/bitcoin&quot;&gt;PPA for
718 Ubuntu&lt;/a&gt;, and moved the useful pieces from that version into the
719 Debian package.&lt;/p&gt;
720
721 &lt;p&gt;After checking with the main package maintainer Jonas Smedegaard on
722 IRC, I pushed several patches into the collab-maint git repository to
723 improve the package. It now contains fixes for the RC issues (not from
724 me, but fixed by Scott Howard), build rules for a Qt GUI client
725 package, konqueror support for the bitcoin: URI and bash completion
726 setup. As I work on Debian Squeeze, I also created
727 &lt;a href=&quot;http://lists.alioth.debian.org/pipermail/pkg-bitcoin-devel/Week-of-Mon-20121217/000041.html&quot;&gt;a
728 patch to backport&lt;/a&gt; the latest version. Jonas is going to look at
729 it and try to integrate it into the git repository before uploading a
730 new version to unstable.
731
732 &lt;p&gt;I would very much like bitcoin to succeed, to get rid of the
733 centralized control currently exercised in the monetary system. I
734 find it completely unacceptable that the USA government is collecting
735 transaction data for almost all international money transfers (most are done in USD and transaction logs shipped to the spooks), and
736 that the major credit card companies can block legal money
737 transactions to Wikileaks. But for bitcoin to succeed, more people
738 need to use bitcoins, and more people need to accept bitcoins when
739 they sell products and services. Improving the bitcoin support in
740 Debian is a small step in the right direction, but not enough.
741 Unfortunately the user experience when browsing the web and wanting to
742 pay with bitcoin is still not very good. The bitcoin: URI is a step
743 in the right direction, but need to work in most or every browser in
744 use. Also the bitcoin-qt client is too heavy to fire up to do a
745 quick transaction. I believe there are other clients available, but
746 have not tested them.&lt;/p&gt;
747
748 &lt;p&gt;My
749 &lt;a href=&quot;https://people.skolelinux.org/pere/blog/Now_accepting_bitcoins___anonymous_and_distributed_p2p_crypto_money.html&quot;&gt;experiment
750 with bitcoins&lt;/a&gt; showed that at least some of my readers use bitcoin.
751 I received 20.15 BTC so far on the address I provided in my blog two
752 years ago, as can be
753 &lt;a href=&quot;http://blockexplorer.com/address/15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;seen
754 on the blockexplorer service&lt;/a&gt;. Thank you everyone for your
755 donation. The blockexplorer service demonstrates quite well that
756 bitcoin is not quite anonymous and untracked. :) I wonder if the
757 number of users have gone up since then. If you use bitcoin and want
758 to show your support of my activity, please send Bitcoin donations to
759 the same address as last time,
760 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
761 </description>
762 </item>
763
764 <item>
765 <title>The European Central Bank (ECB) take a look at bitcoin</title>
766 <link>http://www.hungry.com/~pere/blog/The_European_Central_Bank__ECB__take_a_look_at_bitcoin.html</link>
767 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/The_European_Central_Bank__ECB__take_a_look_at_bitcoin.html</guid>
768 <pubDate>Sun, 4 Nov 2012 08:30:00 +0100</pubDate>
769 <description>&lt;p&gt;Slashdot just ran a story about the European Central Bank (ECB)
770 &lt;a href=&quot;http://www.ecb.europa.eu/pub/pdf/other/virtualcurrencyschemes201210en.pdf&quot;&gt;releasing
771 a report (PDF)&lt;/a&gt; about virtual currencies and
772 &lt;a href=&quot;http://www.bitcoin.org/&quot;&gt;bitcoin&lt;/a&gt;. It is interesting to
773 see how a member of the bitcoin community
774 &lt;a href=&quot;http://blog.bitinstant.com/blog/2012/10/30/the-ecb-report-on-bitcoin-and-virtual-currencies.html&quot;&gt;receive
775 the report&lt;/a&gt;. As for the future, I suspect the central banks and
776 the governments will outlaw bitcoin if it gain any popularity, to avoid
777 competition. My thoughts go to the
778 &lt;a href=&quot;http://en.wikipedia.org/wiki/Wörgl&quot;&gt;Wörgl experiment&lt;/a&gt; with
779 negative inflation on cash which was such a success that it was
780 terminated by the Austrian National Bank in 1933. A successful
781 alternative would be a threat to the current money system and gain
782 powerful forces to work against it.&lt;/p&gt;
783
784 &lt;p&gt;While checking out the current status of bitcoin, I also discovered
785 that the community already seem to have
786 &lt;a href=&quot;http://www.theverge.com/2012/8/27/3271637/bitcoin-savings-trust-pyramid-scheme-shuts-down&quot;&gt;experienced
787 its first pyramid game / Ponzi scheme&lt;/a&gt;. Not very surprising, given
788 how members of &quot;small&quot; communities tend to trust each other. I guess
789 enterprising crocks will try again and again, as they do anywhere
790 wealth is available.&lt;/p&gt;
791 </description>
792 </item>
793
794 <item>
795 <title>Some thoughts on BitCoins</title>
796 <link>http://www.hungry.com/~pere/blog/Some_thoughts_on_BitCoins.html</link>
797 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/Some_thoughts_on_BitCoins.html</guid>
798 <pubDate>Sat, 11 Dec 2010 15:10:00 +0100</pubDate>
799 <description>&lt;p&gt;As I continue to explore
800 &lt;a href=&quot;http://www.bitcoin.org/&quot;&gt;BitCoin&lt;/a&gt;, I&#39;ve starting to wonder
801 what properties the system have, and how it will be affected by laws
802 and regulations here in Norway. Here are some random notes.&lt;/p&gt;
803
804 &lt;p&gt;One interesting thing to note is that since the transactions are
805 verified using a peer to peer network, all details about a transaction
806 is known to everyone. This means that if a BitCoin address has been
807 published like I did with mine in my initial post about BitCoin, it is
808 possible for everyone to see how many BitCoins have been transfered to
809 that address. There is even a web service to look at the details for
810 all transactions. There I can see that my address
811 &lt;a href=&quot;http://blockexplorer.com/address/15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;
812 have received 16.06 Bitcoin, the
813 &lt;a href=&quot;http://blockexplorer.com/address/1LfdGnGuWkpSJgbQySxxCWhv8MHqvwst3&quot;&gt;1LfdGnGuWkpSJgbQySxxCWhv8MHqvwst3&lt;/a&gt;
814 address of Simon Phipps have received 181.97 BitCoin and the address
815 &lt;a href=&quot;http://blockexplorer.com/address/1MCwBbhNGp5hRm5rC1Aims2YFRe2SXPYKt&quot;&gt;1MCwBbhNGp5hRm5rC1Aims2YFRe2SXPYKt&lt;/A&gt;
816 of EFF have received 2447.38 BitCoins so far. Thank you to each and
817 every one of you that donated bitcoins to support my activity. The
818 fact that anyone can see how much money was transfered to a given
819 address make it more obvious why the BitCoin community recommend to
820 generate and hand out a new address for each transaction. I&#39;m told
821 there is no way to track which addresses belong to a given person or
822 organisation without the person or organisation revealing it
823 themselves, as Simon, EFF and I have done.&lt;/p&gt;
824
825 &lt;p&gt;In Norway, and in most other countries, there are laws and
826 regulations limiting how much money one can transfer across the border
827 without declaring it. There are money laundering, tax and accounting
828 laws and regulations I would expect to apply to the use of BitCoin.
829 If the Skolelinux foundation
830 (&lt;a href=&quot;http://linuxiskolen.no/slxdebianlabs/donations.html&quot;&gt;SLX
831 Debian Labs&lt;/a&gt;) were to accept donations in BitCoin in addition to
832 normal bank transfers like EFF is doing, how should this be accounted?
833 Given that it is impossible to know if money can cross the border or
834 not, should everything or nothing be declared? What exchange rate
835 should be used when calculating taxes? Would receivers have to pay
836 income tax if the foundation were to pay Skolelinux contributors in
837 BitCoin? I have no idea, but it would be interesting to know.&lt;/p&gt;
838
839 &lt;p&gt;For a currency to be useful and successful, it must be trusted and
840 accepted by a lot of users. It must be possible to get easy access to
841 the currency (as a wage or using currency exchanges), and it must be
842 easy to spend it. At the moment BitCoin seem fairly easy to get
843 access to, but there are very few places to spend it. I am not really
844 a regular user of any of the vendor types currently accepting BitCoin,
845 so I wonder when my kind of shop would start accepting BitCoins. I
846 would like to buy electronics, travels and subway tickets, not herbs
847 and books. :) The currency is young, and this will improve over time
848 if it become popular, but I suspect regular banks will start to lobby
849 to get BitCoin declared illegal if it become popular. I&#39;m sure they
850 will claim it is helping fund terrorism and money laundering (which
851 probably would be true, as is any currency in existence), but I
852 believe the problems should be solved elsewhere and not by blaming
853 currencies.&lt;/p&gt;
854
855 &lt;p&gt;The process of creating new BitCoins is called mining, and it is
856 CPU intensive process that depend on a bit of luck as well (as one is
857 competing against all the other miners currently spending CPU cycles
858 to see which one get the next lump of cash). The &quot;winner&quot; get 50
859 BitCoin when this happen. Yesterday I came across the obvious way to
860 join forces to increase ones changes of getting at least some coins,
861 by coordinating the work on mining BitCoins across several machines
862 and people, and sharing the result if one is lucky and get the 50
863 BitCoins. Check out
864 &lt;a href=&quot;http://www.bluishcoder.co.nz/bitcoin-pool/&quot;&gt;BitCoin Pool&lt;/a&gt;
865 if this sounds interesting. I have not had time to try to set up a
866 machine to participate there yet, but have seen that running on ones
867 own for a few days have not yield any BitCoins througth mining
868 yet.&lt;/p&gt;
869
870 &lt;p&gt;Update 2010-12-15: Found an &lt;a
871 href=&quot;http://inertia.posterous.com/reply-to-the-underground-economist-why-bitcoi&quot;&gt;interesting
872 criticism&lt;/a&gt; of bitcoin. Not quite sure how valid it is, but thought
873 it was interesting to read. The arguments presented seem to be
874 equally valid for gold, which was used as a currency for many years.&lt;/p&gt;
875 </description>
876 </item>
877
878 <item>
879 <title>Now accepting bitcoins - anonymous and distributed p2p crypto-money</title>
880 <link>http://www.hungry.com/~pere/blog/Now_accepting_bitcoins___anonymous_and_distributed_p2p_crypto_money.html</link>
881 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/Now_accepting_bitcoins___anonymous_and_distributed_p2p_crypto_money.html</guid>
882 <pubDate>Fri, 10 Dec 2010 08:20:00 +0100</pubDate>
883 <description>&lt;p&gt;With this weeks lawless
884 &lt;a href=&quot;http://www.salon.com/news/opinion/glenn_greenwald/2010/12/06/wikileaks/index.html&quot;&gt;governmental
885 attacks&lt;/a&gt; on Wikileak and
886 &lt;a href=&quot;http://www.salon.com/technology/dan_gillmor/2010/12/06/war_on_speech&quot;&gt;free
887 speech&lt;/a&gt;, it has become obvious that PayPal, visa and mastercard can
888 not be trusted to handle money transactions.
889 A blog post from
890 &lt;a href=&quot;http://webmink.com/2010/12/06/now-accepting-bitcoin/&quot;&gt;Simon
891 Phipps on bitcoin&lt;/a&gt; reminded me about a project that a friend of
892 mine mentioned earlier. I decided to follow Simon&#39;s example, and get
893 involved with &lt;a href=&quot;http://www.bitcoin.org/&quot;&gt;BitCoin&lt;/a&gt;. I got
894 some help from my friend to get it all running, and he even handed me
895 some bitcoins to get started. I even donated a few bitcoins to Simon
896 for helping me remember BitCoin.&lt;/p&gt;
897
898 &lt;p&gt;So, what is bitcoins, you probably wonder? It is a digital
899 crypto-currency, decentralised and handled using peer-to-peer
900 networks. It allows anonymous transactions and prohibits central
901 control over the transactions, making it impossible for governments
902 and companies alike to block donations and other transactions. The
903 source is free software, and while the key dependency wxWidgets 2.9
904 for the graphical user interface is missing in Debian, the command
905 line client builds just fine. Hopefully Jonas
906 &lt;a href=&quot;http://bugs.debian.org/578157&quot;&gt;will get the package into
907 Debian&lt;/a&gt; soon.&lt;/p&gt;
908
909 &lt;p&gt;Bitcoins can be converted to other currencies, like USD and EUR.
910 There are &lt;a href=&quot;http://www.bitcoin.org/trade&quot;&gt;companies accepting
911 bitcoins&lt;/a&gt; when selling services and goods, and there are even
912 currency &quot;stock&quot; markets where the exchange rate is decided. There
913 are not many users so far, but the concept seems promising. If you
914 want to get started and lack a friend with any bitcoins to spare,
915 you can even get
916 &lt;a href=&quot;https://freebitcoins.appspot.com/&quot;&gt;some for free&lt;/a&gt; (0.05
917 bitcoin at the time of writing). Use
918 &lt;a href=&quot;http://www.bitcoinwatch.com/&quot;&gt;BitcoinWatch&lt;/a&gt; to keep an eye
919 on the current exchange rates.&lt;/p&gt;
920
921 &lt;p&gt;As an experiment, I have decided to set up bitcoind on one of my
922 machines. If you want to support my activity, please send Bitcoin
923 donations to the address
924 &lt;b&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/b&gt;. Thank you!&lt;/p&gt;
925 </description>
926 </item>
927
928 </channel>
929 </rss>