Bitcoin Forum
March 08, 2026, 11:01:13 AM *
News: Latest Bitcoin Core release: 30.2 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Economy / Trading Discussion / R2CT - The Round-Robin Cryptsy Trader on: October 12, 2013, 01:56:23 PM
This is a little GPL Python script that I wrote to try and get better at python. It uses PyCryptsy (no point reinventing the wheel), and trades using EMA 10/21. There is nothing particularly special about it, other than the fact it's open-source.

I make no promises about how good or bad it is - if you lose money, it's your fault for running it.
It is also probably pretty buggy.

Download.

Matthew:out
2  Alternate cryptocurrencies / Altcoin Discussion / [Idea] smoother block reward decrease on: October 11, 2013, 01:54:23 PM
Block rewards halving is a very uneven way of increasing rarity of coins.

What if the block reward went down more smoothly, like using a percentage decrease factor?

Matthew:out
3  Economy / Digital goods / [WTS] [Pay what you want] Humble Bundle steam keys on: August 21, 2013, 05:31:23 PM
I have a bunch of steam keys left over from some humble bundles that I have zero intention of using.

The games I have are:

Humble Bundle with Android 5
Dynamite Jack
Beat Hazard Ultra
Nightsky
Solar 2
Super Hexagon
Dungeon Defenders (w/ all DLC)
Superbrothers: Sword and Sworcery EP
Splice
Crayon Physics Deluxe

Humble Indie Bundle 8
Dear Esther
Capsized
Thomas was Alone
Little Inferno
Awesomenauts
Awesomenauts Cluck Costume -- Is there a point to selling this if the original game has been bought?
Hotline Miami
Proteus
Tiny and Big in Grandpa's Leftovers
English Country Tune
Intrusion 2
Oil Rush

If you are interested, then send me a PM. First come first serve!

You can pay (almost) anything you want for these, but I'm not accepting dust.

Matthew:out
4  Other / Off-topic / An exercise in hacking for someone on: August 15, 2013, 04:43:29 PM
In a small flash of inspiration, I came up with a new cypher (which I call "Isenberg" after a friend of mine). Important thing is - is it secure? (I doubt it, personally, but it does seem to resist preimage attacks(!)) To test this, I need firepower which I personally don't have.

This is the code I used (the hash function is hashword()) which is really rather simple when you get down to it.

Code:
#include <stdio.h>

#define U64 unsigned long long
#define C64(x) x##ULL

U64 flipDiagA1H8(U64 x) {
   U64 t;
   const U64 k1 = C64(0x5500550055005500);
   const U64 k2 = C64(0x3333000033330000);
   const U64 k4 = C64(0x0f0f0f0f00000000);
   t  = k4 & (x ^ (x << 28));
   x ^=       t ^ (t >> 28) ;
   t  = k2 & (x ^ (x << 14));
   x ^=       t ^ (t >> 14) ;
   t  = k1 & (x ^ (x <<  7));
   x ^=       t ^ (t >>  7) ;
   return x;
}

U64 flipVertical(U64 x) {
    return  ( (x << 56)                           ) |
            ( (x << 40) & C64(0x00ff000000000000) ) |
            ( (x << 24) & C64(0x0000ff0000000000) ) |
            ( (x <<  8) & C64(0x000000ff00000000) ) |
            ( (x >>  8) & C64(0x00000000ff000000) ) |
            ( (x >> 24) & C64(0x0000000000ff0000) ) |
            ( (x >> 40) & C64(0x000000000000ff00) ) |
            ( (x >> 56) );
}

U64 hashword(U64 x)
{
   // Made up of four parts
   // Flip along antidiagonal
   U64 x1 = flipDiagA1H8(x);

   // Flip vertically
   x1 = flipVertical(x1);

   // XOR
   x1 = x ^ x1;

   // Add one

   x1++;

   return x1;
}

int main()
{
   U64 input = 0;
   U64 output = 0;
   int collisions = 0;

   for (; input < 0xFFFFFFF; input++) {
      output = hashword(input);
      if (output == input) {
         printf("%d hashes to itself!\n", input);
      }
   }
   return 0;
}

I have no significant amount of bitcoins to offer as a reward, but it might prove useful as a small challenge.

Matthew:out
5  Alternate cryptocurrencies / Altcoin Discussion / If you were to implement a CPU-only coin... on: July 28, 2013, 09:14:36 AM
...How would you do it?

I, personally, would use something like AES as the base cypher, due to AES-NI. But then, AES is pretty easy to implement on a GPU.

I note Quark uses multiple cyphers, but again, those aren't hard to put on a GPU.

Matthew:out
6  Other / Beginners & Help / Mining probability on: July 27, 2013, 02:19:58 PM
I'm doing some hacking with the cgminer 2.9.6 source (there are still people who CPU mine for the novelty of it), and I was wondering if it would be more efficient (i.e. shorter time to a share) to use all available resources to focus on one share or give each resource a seperate share.

Matthew:out
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!