code: function checkThatEachChainElementIncludesThePrevious(arrPrivateElements, handleResult){
  	if (arrPrivateElements.length === 1) // an issue
  		return handleResult(true);
  	var arrUnits = arrPrivateElements.map(function(objPrivateElement){ return objPrivateElement.unit; });
  	requestFromLightVendor('light/get_link_proofs', arrUnits, function(ws, request, response){
  		if (response.error)
  			return handleResult(null); // undefined result
  		var arrChain = response;
  		if (!ValidationUtils.isNonemptyArray(arrChain))
  			return handleResult(null); // undefined result
  		light.processLinkProofs(arrUnits, arrChain, {
  			ifError: function(err){
  				console.log("linkproof validation failed: "+err);
  				throw Error(err);
  				handleResult(false);
  			},
  			ifOk: function(){
  				console.log("linkproof validated ok");
  				handleResult(true);
  			}
  		});
  	});
  }
docs: light only Note that we are leaking to light vendor information about the full chain. If the light vendor was a party to any previous transaction in this chain, he'll know how much we received.