Bitcoin Forum
May 24, 2024, 09:34:11 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 [149] 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 ... 233 »
2961  Bitcoin / Armory / Re: Sweepin question on: November 09, 2015, 07:51:28 PM
I responded to your ticket. I'm fairly sure Core mobile runs only a lite wallet, so it's to be expected it doesn't support arbitrary utxo lookups.
2962  Bitcoin / Armory / Re: Armory stuck in offline mode... on: November 08, 2015, 01:35:20 PM
Unrelated issue. Submit a log file.
2963  Bitcoin / Armory / Re: Sweepin question on: November 07, 2015, 09:53:39 PM
Sweeping creates a wallet, imports the privates key in them, scans the keys then creates a transaction to send these coins to your wallets. You are not getting to the point where you receive the funds. You will have to submit a log file.
2964  Bitcoin / Armory / Re: Sweepin question on: November 07, 2015, 08:24:14 PM
Do you have a transaction hash?
2965  Bitcoin / Armory / Re: Problems installing Armory wallet on a Win7 32bit. on: November 07, 2015, 08:13:29 PM
0.92.3 should work on x86. The other versions are x64 only.
2966  Bitcoin / Armory / Re: Why was Armory written in Python? on: November 07, 2015, 03:05:23 PM
1) etotheipi loves Python
2) Decent cross platform support
3) All mission critical and crypto code is in C++ (the backend)
4) C++ is more powerful than Python but also more demanding to code with. Doesn't warrant developing the frontend and GUI with.

As for why Python and not another top layer language for the frontend, refer to 1)

P.S: if it was up to me it would all be in C++ but I'm a hateful sociopath, so don't take my opinion seriously =)
2967  Bitcoin / Armory / Re: Armory 0.93.3 with BIP62 compliance on: November 07, 2015, 01:14:30 AM
With respect for chain of command, it's been quite a few days now.... Mac users everywhere would be very much appreciated if there was at least one last officially compiled binary update to take care of the high/low-S patch

...Please consider elevating the priority of this request...

No. I will not escalate anything because even though I reviewed the code, I do not build on Macs thus I cannot test the code at all. My review was merely to make sure nothing was fishy with the change.

I informed etotheipi of my opinion on the content of this PR, but I won't press that matter any further because I do not have experience with OSX builds, so I cannot make an informed decision. If I could say "I tested it, it works and I approve of this change", things would be different, but I can't. Development is a lot simpler when people stick to their specialty.
2968  Bitcoin / Armory / Re: Features for 'Armory Pro' on: November 06, 2015, 01:19:30 AM
This sounds great! Let's do it!

Take it easy, we're not at this point yet. Ideally Armory can continue to exist as a business and put out an open source version at the same time.
2969  Bitcoin / Armory / Re: Armory issues on: November 05, 2015, 07:35:02 PM
yeah someone will deal with your ticket.
2970  Bitcoin / Armory / Re: Armory issues on: November 05, 2015, 01:19:25 PM
Start Armory, go to File -> Export Log File. Create a support ticket (https://support.bitcoinarmory.com) and attach it there with an explanation of what is going on.
2971  Bitcoin / Armory / Re: Armory issues on: November 05, 2015, 02:26:37 AM
log file please
2972  Bitcoin / Armory / Re: Features for 'Armory Pro' on: November 04, 2015, 10:21:01 PM
Yes, but we need to clarify the exact method. One-time fee for unlimited and forever access or subscription based.

You can't really sell OSS. Whichever way you look at it this model defeats conventional payment methods.

Quote
Yes, but only toward a crowdfunding style fund that releases open-source code freely to all once a target is reached...

This is the only sane way of doing this. Ideally I would like it to be community driven too. Users put together a list of features they want, devs give them a time estimate and they agree on target for each feature. Another revenue stream would be plugins. Say an exchange wants to integrate with us to manage coins straight from our GUI. They pay us to develop the plugin, release it to their customers and we get a one time commission per user.

All that being said, our real calling is still with enterprise customers and support contracts. Whichever way you look at it, our open source version is really for showcasing and testing/reviewing the code base. Not much revenue to get there.

What other, new feature would you love?
- I would pay good money for a full-Armory-compatible hardware wallet ("Trezor + multiple Armory wallets")
- Connect my local Armory to my server where the 2 blockchains are stored and updated
Ente

I played around with Ledger on our BIP32 branch. Trezor is definitely easier to implement. I'm currently working on the litenode interface.

Quote
What features would be must-have, or no deal?
- Offline signing
- Fragmented backup
- No central [Armory] server has my IP or personal info
- Open source

It makes no sense to keep any non enterprise specific features off the free version. Personally I think we should open source everything. Makes for better publicity than we got actually. We have over a year of enterprise solution development and essentially no one that version even exists, let alone what's in it.
2973  Bitcoin / Armory / Re: [abrt] full crash report on: November 03, 2015, 11:16:23 PM
I wouldn't mess with unsupported packages. You should change the code as instructed instead. It's not critical to catch the exact exception since it will return False as a result.
2974  Bitcoin / Armory / Re: [abrt] full crash report on: November 03, 2015, 05:30:46 PM
It fails to import error from psutil. I'm guessing the version of the package you got is old or maybe that class was deprecated. Replace

Code:
except psutil.error.NoSuchProcess:

with

Code:
except:

That ought to fix it.
2975  Bitcoin / Armory / Re: [abrt] full crash report on: November 03, 2015, 11:43:08 AM
Did you install psutil?

This is the list of Python packages you need to run Armory:

Quote
pyqt4-dev-tools python-qt4 python-dev python-twisted python-psutil
2976  Bitcoin / Armory / Re: Building Armory 0.93.3 throws Warnings on: November 01, 2015, 01:39:24 PM
Yes, these are all completely benign warnings. There is a straight forward explanation for every one of these. The forward declaration one is kinda silly but then again, you'd rather it warns you about that than not.

Same with nested struct. SWIG users should know these get ignored, plus that's the point of a nested struct anyways, to be used internally by the class.

The typecheck error is a bit more complicated. If you look at the code SWIG outputs, you'll understand what the warning actually means. This is the SWIG wrapper for BtcWallet::BtcWallet(BlockDataViewer*, BinaryData) (https://github.com/etotheipi/BitcoinArmory/blob/master/cppForSwig/BtcWallet.h#L78)

Code:
SWIGINTERN PyObject *_wrap_new_BtcWallet__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  BlockDataViewer *arg1 = (BlockDataViewer *) 0 ;
  BinaryData arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  BtcWallet *result = 0 ;
 
  if (!PyArg_ParseTuple(args,(char *)"OO:new_BtcWallet",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_BlockDataViewer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BtcWallet" "', argument " "1"" of type '" "BlockDataViewer *""'");
  }
  arg1 = reinterpret_cast< BlockDataViewer * >(argp1);
  {
    if(!PyString_Check(obj1))
    {
      PyErr_SetString(PyExc_ValueError, "Expected string argument!");
      return NULL;
    }
   
    arg2 = BinaryData((uint8_t*)PyString_AsString(obj1), PyString_Size(obj1));
  }
  {
    try
    {
      {
        SWIG_PYTHON_THREAD_BEGIN_ALLOW;
        result = (BtcWallet *)new BtcWallet(arg1,arg2);
        SWIG_PYTHON_THREAD_END_ALLOW;
      }
    }
    catch (std::exception& e)
    {
      SWIG_exception(SWIG_RuntimeError, e.what());
    }
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_BtcWallet, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}

As you can see, arg1 goes through a typecheck before being casted to BlockDataViewer*

Code:
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_BlockDataViewer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BtcWallet" "', argument " "1"" of type '" "BlockDataViewer *""'");
  }
  arg1 = reinterpret_cast< BlockDataViewer * >(argp1);

arg2, however, gets no typecheck:

Code:
    arg2 = BinaryData((uint8_t*)PyString_AsString(obj1), PyString_Size(obj1));

You can find the reason for this difference in argument handling in our SWIG instruction file: https://github.com/etotheipi/BitcoinArmory/blob/master/cppForSwig/CppBlockUtils.i#L93

Code:
/* Convert Python(str) to C++(BinaryData) */
%typemap(in) BinaryData
{
   if(!PyString_Check($input))
   {
      PyErr_SetString(PyExc_ValueError, "Expected string argument!");
      return NULL;
   }
   
   $1 = BinaryData((uint8_t*)PyString_AsString($input), PyString_Size($input));
}

In the case of BlockDataViewer (and most other classes in our codebase), we let SWIG do the wrapping by default. With BinaryData, we enforce an explicit conversion, from and to Python strings, because this is what we need that object for.
2977  Bitcoin / Armory / Re: Building Armory 0.93.3 throws Warnings on: November 01, 2015, 12:36:38 PM
SWIG warnings.
2978  Bitcoin / Armory / Re: Armory 0.93.3 with BIP62 compliance on: October 31, 2015, 11:01:38 PM
I've reviewed the code. Looks kosher (I'm no OSX specialist). I'll drop a word to etotheipi. I won't merge it in myself, because chain of command.
2979  Bitcoin / Armory / Re: How hard would it be to add SPV support to Armory? on: October 31, 2015, 06:58:31 PM
I would think imagine that it can be connected to an spv node since armory's full node functionality is from bitcoin core. If you had an spv node that acted like bitcoin core, I think it should work.

Currently Armory expects access to raw block data as saved by Core, via a folder path. 0.93 expects full history so it can't deal with anything short of the entire blockchain. 0.94 could run off the UTXO set, if there is a node implementation that offers that. You won't have the history, but you will see your balance and be able to spend.

I am in the process of migrating the database interface from SWIG to a plain HTTP, so that upcoming change will allow you to connect several lite clients to a single server. Since it's HTTP, we could even have a HTML GUI in the future.
2980  Bitcoin / Armory / Re: Armory 0.93.3 with BIP62 compliance on: October 29, 2015, 06:31:51 PM
That's pity. This begs the question:

Can I copy my existing 56 GB data for Bitcoin Core and 49 GB data for Armory from my Mac to Linux and continue using it seamlessly? Downloading the whole thing again just because I moved to Linux would be very painful for me.

You should be able to.
Pages: « 1 ... 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 [149] 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 ... 233 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!